/* @import url("https://fonts.googleapis.com/css2?family=Cedarville+Cursive&display=swap"); */
@import url("https://fonts.googleapis.com/css2?family=Caveat&display=swap");
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  max-width: 100%;

  /* border: 1px solid grey; */
}
html {
  font-size: 62.5%;
}
body {
  line-height: 2;
  font-size: 1.5rem;
  font-family: Arial, Helvetica, sans-serif;
}

h1,
h2,
h3,
h4 {
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 2px;
  padding: 2% 0;
}
section {
  padding: 2% 0;
}
i {
  font-size: 4rem;
}
/* header {
  height: 90vh;
  background-color: lightgray;
  background-image: url(https://images.unsplash.com/photo-1565123409695-7b5ef63a2efb?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1051&q=80);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 95%;
} */

nav {
  font-size: 2rem;
  text-decoration: none;
  padding: 2%;
}
nav a {
  text-decoration: none;
  color: black;
  letter-spacing: 2px;
  font-size: 1.8rem;
  font-weight: bold;
}
header nav {
  width: 100%;
  background-color: #c98986;
  display: flex;
  justify-content: space-between;
  /* position: fixed;
  top: 0;
  width: 100%; */
}
h1 {
  font-size: 3.5rem;
  font-weight: bold;
}

h2 {
  font-size: 2rem;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  text-align: center;
}
.logo {
  width: 30%;
  color: white;
  padding: 0 2%;
}
.links {
  width: 60%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.links a:hover {
  background-color: black;
  color: #c98986;
  padding-right: 10px;
  padding-left: 10px;
  border-radius: 40px;
  transition: 1s;
}
.main a {
  transition: 2s;
}
.main a:hover {
  opacity: 60%;
  transition: 2s;
}

/* .welcome-text {
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #c98986;
} */
/* .main-title {
  text-align: center;
  width: 40%;
  background-color: black;
  opacity: 90%;
  border-radius: 30px;
} */
h1 {
  font-size: 2.9rem;
  font-weight: bold;
  letter-spacing: 2px;
  padding-bottom: 10px;
}
/* About Section Styles */

#about {
  display: flex;
  justify-content: center;
  background-image: url(https://images.unsplash.com/photo-1519861155730-0b5fbf0dd889?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=60);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 95%;
  height: 70vh;
}
#about .text {
  padding: 2%;
  text-align: center;
  width: 90%;
  color: wheat;
}
.text p {
  color: rgb(215, 209, 211);
}
.text h2 {
  font-size: 4.8rem;
  color: #c98986;
  text-transform: uppercase;
  letter-spacing: 0.8rem;
}
.text h3 {
  font-size: 2.5rem;
  text-transform: uppercase;
}

.text p {
  text-align: justify;
  font-style: normal;
  font-size: 1.9rem;
}

#teamContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: #c98986;
}
#teamTitle {
  font-size: 4rem;
  color: whitesmoke;
  text-transform: uppercase;
}
.teamDescription {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: black;
}
.caption {
  text-align: center;
  color: white;
}
.teamOne {
  display: flex;
  flex-direction: column;
  justify-items: center;
  width: 13%;
  margin: 4%;
}

.teamOne img {
  border-radius: 100px;
}
.caption h3 {
  font-size: 1.8rem;
  color: #c98986;
}
.caption h4 {
  font-size: 1.5rem;
  text-align: center;
  white-space: normal;
  font-family: "Caveat", cursive;
}

/* Footer Style Starts*/
.main-footer {
  display: flex;
  justify-content: left;
  background-color: #c98986;
}

.main-footer .footer-links {
  padding: 4%;
  text-align: center;
  width: 100%;
}
.footer-links a {
  color: white;
  padding: 0 4%;
  text-decoration: none;
  font-size: 1.8rem;
}

/* Media query */

@media (max-width: 850px) {
  header nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .logo {
    width: 100%;
  }
  .links {
    width: 100%;
  }
  nav a {
    font-size: 1.5rem;
  }
  h2 {
    text-align: center;
    font-size: 1.9rem;
  }
  .text p {
    font-size: 1.5rem;
  }
  .caption h4 {
    width: 100%;
    font-size: 1.3rem;
  }
  .teamOne {
    width: 23%;
  }
}

@media (max-width: 600px) {
  header nav {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .links {
    width: 100%;
  }

  h2 {
    font-size: 1.9rem;
  }

  #teamTitle {
    font-size: 3rem;
  }
  .teamDescription {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .teamOne {
    width: 35%;
  }
  .footer-links {
    display: flex;
    flex-direction: column;
  }
}
