
@import url("https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700,500italic");

body {
  padding: 0;
  margin: 0;
  font-family: "Ubuntu", Arial, tahoma, sans-serif;
}

.content {
  position: relative;
  z-index: 1;
}

h1.title {
  font-weight: 400;
  font-size: 80px;
  font-size: clamp(36px, 5vw, 80px);
  color: #fff;
  margin: 0;
  margin-left: 20px;
  padding-top: 30px;
}

h2 {
 
  font-size: 50px;
  font-size: clamp(26px, 5vw, 50px);
  font-weight: 400;
  color: #fff;
  margin: 0;
  margin-left: 20px;
}

.info{
 
  padding: 16px;
  background: rgba(0,0,0,0.4);
  margin: 30px;
}

.weather {
  margin-top: 40px;
  margin-left: 20px;
  margin-bottom: 20px;
  
  font-size: 30px;
  color: #fff;
}

.weather div {
  font-size: 30px;
}

#tide-info h2{
  margin-bottom: 16px;
}

.tide-table{
  max-height: calc(100vh - 400px);
  height: 100%;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  border: 1px solid rgba(255,255,255, 0.3);
}

/* width */
.tide-table::-webkit-scrollbar {
  width: 10px;
}

/* Track */
.tide-table:-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
.tide-table::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
.tide-table::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.tide-table__row{
  padding: 8px;
  display: flex;
  color: #fff;
  font-size: 20px;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255, 0.3);
}

#video {
  position: absolute;
  height: 100%;
  width: 100%;
  overflow: hidden;
  z-index: 0;
}

#video video {
  position: relative;
  object-fit: cover;
  height: 100%;
  width: 100%;
}

@media (min-width: 600px){
  .tide-table{
    grid-template-columns: repeat(2, 1fr);
  }
}


@media (min-width: 800px){
  .tide-table{
    grid-template-columns: repeat(3, 1fr);
    max-height: calc(100vh - 500px);
      
  }
}

@media (min-width: 1000px){
  .tide-table{
    grid-template-columns: repeat(4, 1fr);
     
  }
}


@media (min-width: 1920px){
  .tide-table{
    grid-template-columns: repeat(5, 1fr);
      
  }
}