* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Libre Baskerville", serif;
}

:root {
  --primary-color: #064635;
  --secondary-color: #fff;
  --tertiary-color: #ffc221;
  --fourth-color: #fff8e1;
  --fifth-color: #000;
  --text-primary: #0071dc;
}

body {
  min-height: 100dvh;
  min-height: 100vh;
  background-color: var(--fourth-color);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.container {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
}

.wrapper {
  overflow: hidden;
}

nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 8vh;
  font-family: "Poppins", sans-serif;
  background-color: var(--primary-color);
  height: 5rem;
}

.logo {
  width: 10rem;
}

.nav-links {
  display: flex;
  justify-content: space-around;
  width: 40%;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  position: relative;
  color: var(--secondary-color);
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: 0.3s;
}

.nav-links a:hover::before {
  width: 100%;
}

.burger {
  display: none;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: var(--secondary-color);
  margin: 5px;
  transition: all 0.3s ease;
}

.container {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
}

.sub-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 22rem;
  margin: 0 auto;
  padding: 40px;
  box-sizing: border-box;
}

.photo {
  width: 20rem;
  height: 25rem;
  object-fit: cover;
  border: 0.1rem solid var(--fifth-color);
}

.info {
  width: 100%;
  height: 100%;
  max-width: 300px;
  margin-bottom: 1.5rem;
  text-align: center;
}

.info h1 {
  font-size: 1.3rem;
  font-weight: 600;
  font-family: "Times New Roman", Times, serif;
}

.info h3 {
  font-weight: 500;
  font-family: "Times New Roman", Times, serif;
}

.divider {
  background-color: var(--secondary-color);
  padding: 2rem 1rem 0 1rem;
  border: 3px solid var(--fifth-color);
  box-shadow: 3px 3px;
  border-radius: 5px;
}

.button {
  text-align: center;
  padding-bottom: 2rem;
  width: 100%;
  height: 100%;
  max-width: 100%;
}

.icon {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  font-size: 25px;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
}

.icon a:hover i {
  transform: scale(1.4);
  transition: all 0.3s ease;
}

.fa-facebook {
  color: #316ff6;
}

.fa-instagram {
  color: #fd1d1d;
}

.fa-github {
  color: #24292e;
}

.fa-google {
  color: #4285f4;
}

.button a {
  max-width: 15rem;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-family: inherit;
  font-size: 0.9rem;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 0.3em;
  box-shadow: 0 15px 45px rgba(10, 0 83, 0.2);
}

.button a:hover {
  background-color: #0a6d5b;
  cursor: pointer;
  transform: scale(1.1);
}

/*footer*/

footer {
  margin-top: 0vh;
}

.foot-container {
  width: 100%;
  padding: 70px 30px 20px;
}

.footer-bottom {
  padding: 1rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--fifth-color);
}

.designer {
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
  margin: 0px 5px;
}

@media screen and (min-width: 769px) and (max-width: 1023px) {
  .nav-links {
    width: 55%;
  }
}

/* PHONE */

@media screen and (max-width: 768px) {
  body {
    overflow-x: hidden;
  }
  .logo {
    width: 12rem;
  }
  .nav-links {
    position: absolute;
    right: 0px;
    height: 92vh;
    top: 8vh;
    background-color: var(--primary-color);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
  }
  .nav-links li {
    opacity: 0;
  }
  .burger {
    display: block;
    cursor: pointer;
  }
}

/* MARGIN */

@media screen and (max-height: 900px) {
  .sub-container {
    margin: 5rem auto;
  }
}

@media screen and (max-width: 1279px), (max-height: 730px) {
  .block {
    display: none;
  }
  .quote {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
}

@media screen and (min-width: 1279px) and (min-height: 730px) {
  .sub-container {
    max-width: 100%;
    width: 150rem;
    height: 90vh;
    justify-content: center;
  }
  .divider {
    display: flex;
    margin-top: rem;
    flex-direction: row;
    align-items: center;
    width: 162vh;
    height: 40rem;
    justify-content: center;
    max-width: 100%;
  }
  .context {
    width: 190rem;
    justify-content: center;
    text-align: center;
  }
  .name-course {
    margin-bottom: -7rem;
  }
  .quote {
    margin-top: 11rem;
    margin-bottom: 5rem;
  }
  .icon {
    gap: 2rem;
    font-size: 40px;
    margin-bottom: 3rem;
  }
  .button a {
    font-size: 1.5rem;
    padding: 1.5rem 5rem;
  }
  .image {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 1;
  }
  .image img {
    height: 37rem;
    width: 31rem;
    object-fit: cover;
    padding-left: 1rem;
    padding-bottom: 1rem;
    border: none;
  }
  .info {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }
  .info h1 {
    font-size: 4rem;
  }
  .info h3 {
    font-size: 1.9rem;
  }
  .course {
    display: inline-flex;
  }
  .spacer {
    margin-left: 0.25em;
  }
}

.nav-active {
  transform: translateX(0%);
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0px);
  }
}

.toggle .line-1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line-2 {
  opacity: 0;
}

.toggle .line-3 {
  transform: rotate(45deg) translate(-5px, -6px);
}
