@import url("https://fonts.googleapis.com/css?family=Exo+2:200,300,400");
@import url("https://fonts.googleapis.com/css2?family=Uncial+Antiqua&display=swap");
@import url("https://fonts.cdnfonts.com/css/lovelo?styles=25962");

* {
  margin: 0;
  padding: 0px;
  box-sizing: border-box;
  /*max-width: 960px;*/
}

/*fix up for older browsers to correclty show the new semantic tags*/

header,
main,
nav,
section,
article,
aside,
footer,
figure,
figcaption {
  display: block;
}

body {
  background-image: radial-gradient(
    circle,
    #444444,
    #393939,
    #2e2e2e,
    #242424,
    #1a1a1a,
    #242425,
    #2f2f30,
    #393a3c,
    #5d5f63,
    #83888e,
    #abb2ba,
    #d4dfe9
  );
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  height: 100vh;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.resize {
  max-width: 360px;
}

.banner {
  width: 100%;
  height: 100vh;
  background-color: #f5f5f5;
  background-image: url(img/b14.png);
  background-position: center bottom;
  background-repeat: repeat-x;
}
.navbar {
  width: 90%;
  margin: auto;
  padding: 35px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  width: 40px;
  cursor: pointer;
}

h1 {
  padding-top: 120px;
  font-size: 96px;
  text-align: center;
  font-family: "Lovelo", sans-serif;
  padding-bottom: 80px;
  color: whitesmoke;
}

h2 {
  font-family: "Exo 2";
  padding-bottom: 10px;
}

p {
  font-family: "Exo 2";
  padding-bottom: 20px;
}

/*basic links*/

a:link {
  color: whitesmoke;
  text-decoration: underline;
}

a:visited {
  color: whitesmoke;
}

.spec {
  width: 80%;
}

.spec a {
  text-decoration: none;
  text-align: center;
  font-family: Cormorant;
  font-style: normal;

  font-size: 42px;
  color: whitesmoke;
}

.spec a:visited {
  text-decoration: none;
  text-align: center;
  font-family: Cormorant;
  font-style: normal;
  font-weight: 100;
  font-size: 42px;
  color: whitesmoke;
}

.spec a:hover {
  transform: scale(1.2);
}

.col2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
  margin: auto;
}

figcaption {
  text-align: center;
}

img {
  align-items: center;
  border-radius: 10px;
}

/* wrapper div to have fluid width and a maximum width*/

#wrapper {
  /*    max-width: 960px;*/
  width: 60%;
  padding: 10px;
  margin: 0 auto;
  padding-bottom: 30px;
  animation: fadeIn 1s forwards;
}

section {
  position: relative;
  width: 100%;
  height: 100vh;
  /* background: black; */
  overflow: hidden;
}
section .air {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url(https://1.bp.blogspot.com/-xQUc-TovqDk/XdxogmMqIRI/AAAAAAAACvI/AizpnE509UMGBcTiLJ58BC6iViPYGYQfQCLcBGAsYHQ/s1600/wave.png);
  background-size: 1000px 100px;
}
section .air.air1 {
  animation: wave 30s linear infinite;
  z-index: 1000;
  opacity: 1;
  animation-delay: 0s;
  bottom: 0;
}
section .air.air2 {
  animation: wave2 15s linear infinite;
  z-index: 999;
  opacity: 0.5;
  animation-delay: -5s;
  bottom: 10px;
}
section .air.air3 {
  animation: wave 30s linear infinite;
  z-index: 998;
  opacity: 0.2;
  animation-delay: -2s;
  bottom: 15px;
}
section .air.air4 {
  animation: wave2 5s linear infinite;
  z-index: 997;
  opacity: 0.7;
  animation-delay: -5s;
  bottom: 20px;
}
@keyframes wave {
  0% {
    background-position-x: 0px;
  }
  100% {
    background-position-x: 1000px;
  }
}
@keyframes wave2 {
  0% {
    background-position-x: 0px;
  }
  100% {
    background-position-x: -1000px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-40px);
    /* move the element */
    transition: all 0.5s ease;
    /* add a transition for all properties */
  }

  to {
    opacity: 1;
    /* show the element */
    transform: translateY(0);
    /* move the element */
  }
}

.text-container2 {
  text-align: center;
}

/*-----MEDIA QUERY-----*/

/*for screens wider than 600px*/

@media only screen and (min-width: 1000px) {
  /*    navigation side by side*/

  nav ul {
    text-align: center;
  }

  nav li {
    display: inline-block;
    margin: 0 1rem;
  }

  #menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  #menu li {
    display: inline-block;
    margin: 0 10px;
  }

  #menu li a {
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
  }

  /*  content  heading centre aligned*/
  main h1 {
    text-align: center;
  }

  /*adjust the grid to 5 columns*/
  .col {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 10px;
  }

  .text-container1 {
    grid-column: 1 / 3;
    padding-top: 90px;
  }

  .img-container1 {
    grid-column: 4 / 6;
    padding-top: 50px;
  }

  .thumb-img1 {
    grid-column: 2 / 4;
  }

  .thumb-text1 {
    grid-column: 4 / 5;
    margin: auto;
  }

  .thumb-img2 {
    grid-column: 3 / 5;
  }

  .thumb-text2 {
    grid-column: 2 / 3;
    grid-row-start: 2;
    grid-row-end: 3;
    margin: auto;
  }

  .thumb-text4 {
    grid-column: 2 / 3;
    grid-row-start: 4;
    grid-row-end: 5;
    margin: auto;
  }
}
