* {
  box-sizing: border-box;
}
#wrapper {
  display: grid;
  grid-template-columns: minmax(1rem, 1fr) repeat(10, minmax(0, 96px)) minmax(1rem, 1fr);
  grid-template-rows: auto;
}
body {
  margin: 0px;
}


#navbar {
  background-color: #00ccff;
  grid-row: 1/2;
  grid-column: 1/-1;
  z-index: 1;
  position: sticky;
  top: 0;
}
#logo {
  background-image: url('images/logo_placeholder.png');
  grid-row: 1/2;
  grid-column: 2/5;
  background-size: cover;
  background-position: center;
  position: sticky;
  top: 0;
  z-index: 2;
}
nav {
  position: sticky;
  top: 0;
  grid-row: 1/2;
  grid-column: 5/-2;
  background-color: #00ccff;
  z-index: 2;
}
nav a:hover, .dropdown:hover .navdrop {
  background-color: #00ff99;
}
.dropdown {
  display: block;
}
.droplinks {
  display: none;
  position: absolute;
  background-color: #00ccff;
  min-width: 200px;
}
.droplinks a {
  color: white;
  text-decoration: none;
  display: block;
  text-align: left;
  padding-left: 1rem;
}
.dropdown:hover .droplinks {
  display: block;
}
nav a, .navdrop {
  text-decoration: none;
  display: block;
  text-align: center;
  color: white;
  padding: 1rem 0rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  height: 100%;
}
nav ul {
  display: flex;
  flex-flow: row nowrap;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
nav ul li {
  width: 100%;
}

#hometop {
  display: grid;
  grid-template-columns: minmax(0px, 1fr) minmax(0, 960px) minmax(0px, 1fr);
  grid-template-rows: 1fr 1fr;
  grid-column: 1/-1;
  grid-row: 2/3;
  background-image: url('images/tube_beach_small.JPG');
  background-size: cover;
}
#welcome {
  grid-row: 1/2;
  grid-column: 2/-2;
  align-self: center;
}
#welcome p {
  color: white;
  font-weight: 1000;
  font-size: 3rem;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}
#hometop .form {
  grid-row: 2/3;
  grid-column: 2/-2;
  align-self: center;
}
#hometop form {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: 3fr 2fr 2fr 1fr;
  grid-gap: 1rem;
  width: 100%;

  grid-column: 1/-1;
}
form input {
  border-radius: 20px;
  height: 60px;
}

#homebottom {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: minmax(0px, 1fr) repeat(2, minmax(0, 480px)) minmax(0px, 1fr);
  background: url('images/fish_stripes_small.JPG');
  background-size: contain;
  background-position: bottom;
}
#halfpage1 {
  grid-column: 2/3;
  background: linear-gradient(to right, #00ccff 0%, #00ff99 100%);
}
#halfpage2 {
  grid-column: 3/4;
  background: linear-gradient(to left, #00ccff 0%, #00ff99 100%);
}
#popdests {
  font-size: 2rem;
  text-align: center;
  padding: 15px;
  font-family: 'Poppins', sans-serif;
  color: white;
}
#populars {
  padding-bottom: 30px;
}
.destcontainer {
  padding: 10px;
  background-size: cover;
  display: grid;
}
#homebottom a {
  text-decoration: none;
  color: inherit;
}
.destpic {
  max-height: 300px;
}
.destpic img {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.destwords {
  background: #f0f0f0;
  text-align: center;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  padding: 5%;
  font-size: 1.2rem;
  font-family: 'Poppins', sans-serif;
}

.background {
  min-height: 90vh;
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: inherit;
  background-color: #f0f0f0;
}
h1, h2, h3, h4, h5, h6 {
  text-align: center;
}
.text {
  font-size: 1.2rem;
  line-height: 1.5;
  padding-bottom: 5rem;
}
.text a {
  color: inherit;
}
main {
  grid-column: 2/-2;
}
.text img {
  border-radius: 10px;
}

.background #pic {
  grid-column: 2/-2;
}
.background #pic img {
  width: 100%;
}
.gallery {
  display: flex;
  flex-flow: wrap;
  padding-bottom: 50px;
  justify-content: center;
  grid-column: 2/-2;
}
.gallery img {
  padding: 15px;
}


footer {
  background: rgb(50,50,50);
  grid-column: 1/-1;
  color: white;
  text-align: right;
  padding: 1.2rem;
  font-size: 1.2rem;
  font-family: 'Poppins', sans-serif;
}

@media only screen and (max-width: 992px) {
  #wrapper {
    grid-template-columns: minmax(1rem, 1fr) repeat(10, minmax(0, 76.8px)) minmax(1rem, 1fr);
  }
  #hometop {
    grid-template-columns: minmax(0px, 1fr) minmax(0, 768px) minmax(0px, 1fr);
  }
  #homebottom {
    grid-template-columns: minmax(0px, 1fr) repeat(2, minmax(0, 384px)) minmax(0px, 1fr);
  }

}
@media only screen and (max-width: 768px) {
  #wrapper {
    grid-template-columns: repeat(10, minmax(0, 76.8px));
  }
  #logo {
    display: none;
  }
  nav {
    grid-column: 1/-1;
  }
  #hometop form {
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    flex-flow: wrap;
    height: 100%;
    justify-content: center;
  }
  #homebottom {
    grid-template-columns: repeat(2, minmax(0, 384px));
  }
  #halfpage1 {
    grid-row: 1/2;
    grid-column: 1/-1;
    background: linear-gradient(to bottom, #00ccff 0%, #00ff99 100%);
  }
  #halfpage2 {
    grid-row: 2/3;
    grid-column: 1/-1;
    background: linear-gradient(to top, #00ccff 0%, #00ff99 100%);
  }
  .text p img {
    display: none;
  }

}
