/* fonts */

@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,300;1,400;1,500;1,700;1,900&display=swap");

@font-face {
  font-family: "RetroSignature";
  src: url("../font/RetroSignature.otf");
}

@font-face {
  font-family: "Agnes";
  src: url("../font/Agnes.ttf");
}

/* default reset */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 1.5rem;
  font-family: "Roboto", sans-serif;
}

main {
  width: 100%;
  height: 100%;
}

/* reusable classes */

.container {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 3.2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-4 {
  margin-bottom: 4rem;
}

.mb-6 {
  margin-bottom: 6rem;
}

.mb-8 {
  margin-bottom: 8rem;
}

.mb-10 {
  margin-bottom: 10rem;
}

.nav-menu {
  display: none;
}

.nav-menu-close {
  display: none;
}

/* header section */

header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3.2rem;
}

.nav-list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 3.8rem;
}

.nav-link:link,
.nav-link:visited {
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.35rem;
  color: #0c0c0c;
  transition: 0.2s;
}

.nav-link:hover,
.nav-link:focus {
  color: #ff5cad;
}

.nav-link-pink,
.nav-link-pink:link,
.nav-link-pink:visited,
.nav-link-pink:hover,
.nav-link-pink:focus {
  color: #ff5cad;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.35rem;
  transition: 0.2s;
}

.logo {
  width: 12.5rem;
}
.logo2 {
  width: 12.5rem;
}

/* hero section */

.hero-section {
  max-width: 100rem;
  margin: 0 auto;
  padding: 0 3.2rem;
}

.title {
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  color: #525252;
  text-align: center;
  font-size: 3rem;
  font-weight: 500;
}

.form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.2rem;
}

input {
  width: 100%;
  padding: 1.2rem;
  border: 1px solid #ccc;
  background: #fafafa;
  color: #000;
  font-family: "Roboto", sans-serif;
}

label {
  display: block;
  color: #715b66;
  font-size: 1.6rem;
  letter-spacing: 0.05rem;
  font-family: "Open Sans", sans-serif;
  cursor: pointer;
}

textarea {
  width: 100%;
  padding: 1rem 0;
  border: 1px solid #ccc;
  background: #fafafa;
  color: #000;
}

.btn {
  border: 2px solid black;
  background-color: white;
  padding: 1.25rem 0.5rem;
  width: 50%;
  margin: 0;
  cursor: pointer;
  text-transform: uppercase;
  margin-bottom: 4rem;
  transition: 0.2s all;
  letter-spacing: 0.1rem;
  font-size: 1.5rem;
  margin-top: 4rem;
}

.btn:hover {
  background-color: #0c0c0c;
  color: white;
}

.email {
  grid-row: 2 / 3;
  grid-column: 1 / 3;
}

.subject {
  grid-row: 3 / 4;
  grid-column: 1 / 3;
}

.message {
  grid-row: 4 / 5;
  grid-column: 1 / 3;
}

.grid-col {
  position: relative;
}

.line {
  background-color: #5252525d;
  height: 1px;
  width: 120rem;
  padding: 0 3.2rem;
  margin: 0 auto;
}

/* .contacts {
  display: flex;
  gap: 4.8rem;
} */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-left: 35rem;
  margin-top: -8.5rem;
}

.contact-col {
  color: #525252;
  font-size: 1.6rem;
  margin-bottom: 2rem;
  margin-left: 2rem;
}

.contact-img {
  margin-bottom: 1rem;
  border-radius: 50%;
  width: 10rem;
  height: 10rem;
}

.contact-title {
  font-size: 1.7rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.contact-name {
  font-size: 1.6rem;
  margin-bottom: .5rem;
}

.mail {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  margin-bottom: .5rem;
}

.ion-icon{
  color: #ff5cad;
  
}



.main-mail {
  display: flex;
  margin-bottom: .5rem;
  gap: 1rem;
}

.tel {
  display: flex;
  gap: 1rem;
  align-items: center;
 
}

/* footer section */

.footer {
  /* background-color: #eabcad; */
  padding: 6rem;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.footer-list {
  display: flex;
  list-style: none;
  gap: 1rem;
  padding: 0;
}

.footer-link:link,
.footer-link:visited {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 4rem;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  padding: 0.75rem;
  color: #0c0c0c;
  border: 3px solid #ff5caebe;
  border-radius: 50%;
  transition: 0.3s;
  margin-bottom: 4rem;
}

.footer-link:hover,
.footer-link:focus {
  background-color: #ff5caebe;
  fill: white;
  color: #0c0c0c;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  gap: 3rem;
  margin-bottom: 2rem;
}

.tag {
  color: black;
  font-weight: 700;
}

.footer-navItem {
  position: relative;
  text-align: center;
}

.footer-navLink:link,
.footer-navLink:visited {
  font-size: 1.75rem;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.35rem;
  color: #0c0c0c;
  transition: 0.2s;
}

.footer-navLink::before {
  content: "";
  display: block;
  position: absolute;
  top: 2.25rem;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #5252525d;
}

.footer-navLink:hover::before {
  height: 1px;
  background-color: #0c0c0c;
}

.copyright {
  font-size: 1.7rem;
  color: #0c0c0c;
  font-weight: 400;
  margin: 2rem 0;
}

@media screen and (min-width: 2000px) {
  html {
    font-size: 90%;
  }

  .container {
    max-width: 140rem;
    margin: 0 auto;
  }
}

@media screen and (max-width: 1200px) {
  html {
    font-size: 56.75%;
  }

  .line {
    width: 75%;
  }
}

@media screen and (max-width: 1000px) {
  html {
    font-size: 50%;
  }

  .motto {
    font-size: 3.5rem;
  }

  .handwriting {
    font-size: 3rem;
  }

  .line {
    width: 75%;
  }
}

@media screen and (max-width: 850px) {
  .nav-list {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    /* display: flex; */
    flex-direction: column;
    justify-content: center;
    list-style: none;
    align-items: center;
    gap: 3.8rem;
    background-color: white;
    z-index: 999;
    transform: translateY(-100%);
    transition: 0.4s all;
  }

  .openMenu {
    transform: translateY(0%);
    transition: 0.4s all;
  }

  .close-menu {
    display: block;
  }

  .nav-item:nth-child(4) {
    /* margin-top: auto; */
    order: 5;
  }

  .nav-link:link,
  .nav-link:visited {
    font-size: 2.5rem;
  }

  .nav-menu {
    display: block;
    position: absolute;
    top: 2rem;
    right: 7rem;
    font-size: 5rem;
    cursor: pointer;
    z-index: 1000;
  }

  .nav-menu-close {
    position: fixed;
    top: 2rem;
    right: 7rem;
    font-size: 5rem;
    cursor: pointer;
    z-index: 1000;
  }
}

@media screen and (max-width: 800px) {
  html {
    font-size: 56.75%;
  }

  .logo2 {
    width: 8.5rem;
    margin-right: 48rem;
  }
  

  .grid {
    grid-template-columns: 1fr;
    gap: 10rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 675px) {
  html {
    font-size: 50%;
  }

  .logo2 {
    width: 8.5rem;
    margin-right: 45rem;
  }

  .hero-section {
    margin-top: 5rem;
  }

  .contacts {
    grid-row: 6 / 7;
    grid-column: -3 / -1;
    flex-direction: column;
  }

  .btn {
    display: block;
  }

  .line {
    width: 75%;
  }

  .footer-nav {
    flex-direction: column;
    margin-bottom: 6rem;
  }

  .footer-navItem .tag {
    display: none;
  }

  .footer-navItem {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 550px) {
  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo2 {
    width: 8.5rem;
    margin-right: 20rem;
  }

  .btn {
    width: 100%;
    margin-left: 10rem;
  }

  .contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-left: 0rem;
    margin-top: 0rem;
  }
}

@media screen and (max-width: 450px) {
  .container {
    padding: 0rem;
  }

}

@media screen and (max-width: 400px) {
  .container {
    padding: 0rem;
  }

  .hero-section {
    padding: 1.6rem;
  }

  /* .mail {
    display: flex;
    flex-direction: column;
  }

  .main-mail {
    display: flex;
    margin-bottom: .5rem;
    gap: 1rem;
  } */
}