:root {
  /* FONT */
  --ff-headings: "Darker Grotesque", sans-serif;
  --ff-text: "Inter", sans-serif;
  --fw-regular: 400;
  --fw-bold: 700;
  --fw-black: 900;

  /* COLORS */
  --clr-black: #202020;
  --clr-black-light: #495057;
  --clr-brown: #866d5c;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  font-family: var(--ff-text);
  font-size: 1.6rem;
  overflow-x: hidden;
  position: relative;
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 6rem;

  position: absolute;
  top: 0;
  left: 0;
  width: 100%;

  z-index: 9999;
}

.logo {
  height: 6rem;
  transition: 0.3s all;
}

.logo:hover {
  transform: scale(1.1);
}

.main-nav-ul {
  display: flex;
  align-items: center;
  gap: 4.8rem;
}

.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  font-size: 1.8rem;
  color: #fff;

  transition: 0.3s all;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: #d4d4d4;
}

.btn-nav {
  background: none;
  border: none;
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 1.2rem 2.4rem;
  border-radius: 5px;
  cursor: pointer;

  transition: 0.3s all;
}

.btn-nav:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* MAIN */
/* SECTION HERO */
.hero {
  min-height: 100vh;
  height: 90rem;

  position: relative;
}

.hero {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  background-color: #f8f3ed;
}

.left-side {
  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--clr-black);
}

.heading-primary {
  font-family: var(--ff-headings);
  font-size: 10rem;
  font-weight: var(--fw-black);
  line-height: 1;
}

.zapeta {
  color: rgba(0, 0, 0, 0.2);
}

.span-name {
  color: var(--clr-brown);
}

.mb-medium {
  margin-bottom: 3rem;
}

.content-box p {
  max-width: 38rem;
  font-size: 2.2rem;

  color: var(--clr-black-light);
}

.btn-cta:link,
.btn-cta:visited {
  display: inline-block;

  background-color: var(--clr-brown);
  color: #fff;
  padding: 1.2rem 2.4rem;
  border-radius: 5px;
  margin-top: 4rem;

  transition: 0.3s all;
}

.btn-cta:hover,
.btn-cta:active {
  background-color: hsl(24, 19%, 34%);
}

.btn-empty:link,
.btn-empty:visited {
  margin-left: 2.4rem;
  background-color: transparent;
  outline: 2px solid var(--clr-black);
  color: var(--clr-black);

  transition: 0.3s all;
}

.icon-goto {
  transition: 0.3s all;
}

.btn-empty:hover,
.btn-empty:active {
  background-color: var(--clr-black);
  color: #fff;
}

.left-side {
  position: relative;
}

.right-side {
  height: 100%;
  background: linear-gradient(
      to right bottom,
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.55)
    ),
    url(../imgs/web_presentation/hero2.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.social-icons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.2rem;

  position: absolute;
  width: 100%;

  bottom: 0;
  right: 0px;
}

.student-id {
  color: var(--clr-brown);
  font-family: var(--ff-headings);
  font-weight: var(--fw-bold);
}

.social-icon-link:link,
.social-icon-link:visited {
  display: inline-block;
  margin-right: 1.2rem;

  transition: 0.3s all;
}

.social-icon-link:hover,
.social-icon-link:active {
  color: var(--clr-brown);
}

.social-icon-link:last-child {
  margin-right: 0;
}

.social-icon-link {
  font-size: 3rem;

  color: var(--clr-black);
}

/* FOOTER */
.footer {
  background-color: var(--clr-black);
  text-align: center;
  padding: 4rem 4rem 0 4rem;

  color: #fff;
}

.logo-cont {
  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 1.2rem;
}

.nav-footer-ul {
  display: flex;
  justify-content: center;
  gap: 1rem;

  margin-bottom: 2.2rem;
}

.nav-footer-ul span {
  font-family: var(--ff-headings);
  font-weight: var(--fw-black);
  color: #9a9a9a;
}

.nav-footer-link:link,
.nav-footer-link:visited {
  display: inline-block;

  transition: 0.3s all;
}

.nav-footer-link:hover,
.nav-footer-link:active {
  transform: translateY(-2px);
}

.copyright {
  font-size: 1.2rem;
  padding-bottom: 1rem;
  color: rgba(255, 255, 255, 0.5);
}

.hamburger-menu {
  border: none;
  background: none;
  cursor: pointer;
  display: none;
}

.icon-mobile-menu {
  font-size: 3.6rem;
  color: var(--clr-brown);

  position: relative;
  z-index: 9999;
}

.icon-mobile-menu[name="close-outline"] {
  display: none;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-container {
  background-color: #f8f3ed;
  margin: 20% auto;
  width: 40%;
  padding: 2rem;
  box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  position: relative;

  animation: modal;
  animation-duration: 1s;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 3rem;
  cursor: pointer;
  color: var(--clr-brown);
}

.modal-form label {
  display: block;
  margin-bottom: 0.8rem;

  color: var(--clr-black);
  font-weight: 600;
}

.modal-form input {
  width: 100%;
  padding: 1.4rem 2.4rem;
  font-size: 1.4rem;
  font-family: inherit;
  border: none;
  color: inherit;
  background-color: #fff;
  border-radius: 10px;
}

.modal-form input::placeholder {
  color: #aaa;
}

.modal-form *:focus {
  outline: none;
}

.mb-form {
  margin-bottom: 2.2rem;
}

.modal-submit {
  width: 100%;
  background: none;
  background-color: var(--clr-brown);
  color: #fff;
  border: none;
  padding: 1.2rem 2.4rem;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 2rem;

  transition: 0.3s all;
}

.modal-submit:hover {
  background-color: hsl(24, 19%, 34%);
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.modal-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.modal-text-1 {
  color: green;
  font-weight: 800;
  margin-bottom: 2rem;
  font-size: 1.7rem;

  animation: modal;
  animation-duration: 1s;
}

.modal-text-2 {
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--clr-black);

  animation: modal;
  animation-duration: 1s;
}

.heading-secondary {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--clr-black);
}

/* ANIMATIONS */

/* MODAL */
@keyframes modal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
