@import url('reset.css');
@import url('font.css');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  background-color: #2C3E50;
  display: flex;
  height: max-content;
  flex-direction: column;
  /* flex-wrap: wrap; */
  gap: 120px;
}

.burger-menu {
  display: none;
}

nav{
  display: flex;
  flex-direction: row;
  width: 100%;
  flex-shrink: 0;
  flex-wrap: wrap;
  padding: 8px 120px;
  justify-content: space-between;
  align-items: center;
}

.logo a{
  display: flex;
  flex-direction: row;
  font-weight: bold;
  text-decoration: none;
  font-size: 48px;
  color: #FAF8F3;
  font-family: 'Manrope', sans-serif;
}

.nav-links{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center
}

.nav-links a{
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
  color: #FAF8F3;
  transition: color 0.3s ease;
}

.nav-links a:hover{
  color: #9E2A3E;
}


footer .decor{
  width: 100%;
  aspect-ratio: 1440 / 24;
  background-image: url('../assets/images/footer-decor.svg');
  background-size: cover;
}

.footer-info{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0px 120px;
  width: 100%;
  height: 420px;
}

footer .footer-info h2{
  font-family: 'Manrope', sans-serif;
  font-size: 96px;
  color: #FAF8F3;
  font-weight: bold;
}

footer .footer-info .footer-contacts{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 53px;
  font-family: 'Manrope', sans-serif;
  font-size: 40px;
  color: #FAF8F3;
  font-weight: 500;
}


@media(max-width: 480px){
    .burger-menu {
    display: block;
    width: 32px;
    height: 24px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0;
  
    background-image: url('../assets/images/burger-button.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .burger-menu.active {
    background-image: url('../assets/images/close-burger-button.svg');
  }
  
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: #2C3E50;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 1000;
    padding: 0;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links a {
    font-size: 24px;
    color: #FAF8F3;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .nav-links a:hover {
    color: #9E2A3E;
  }
  
  body {
    gap: 40px;
    padding: 0;
  }
  
  nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    gap: 0;
  }
  
  .logo a {
    font-size: 24px;
  }

    footer .decor {
    aspect-ratio: 320/24;
  }
  
  .footer-info {
    flex-direction: column;
    padding: 0 16px;
    height: auto;
    gap: 24px;
    align-items: flex-start;
  }
  
  footer .footer-info h2 {
    font-size: 28px;
  }
  
  footer .footer-info .footer-contacts {
    font-size: 14px;
    gap: 12px;
    align-items: flex-start;
  }
}