* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Helvetica;
  color: #fff;
}

html,
body {
  height: 100%;
  width: 100vw;
  overflow-x: hidden;
  background-color: var(--eerie-black);
}

:root {
  --eerie-black: #1a1e24;
}

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

a {
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  transition: 0.3s;
  position: relative;

  &:hover {
    color: #b1b0b0;
  }

  &:hover::after {
    transform: scaleX(1);
  }
}

header {
  display: flex;
}

.top {
  width: 100%;
  position: relative;
}

.logo {
  padding: 100px 100px 40px 100px;
  background-color: #1a1e24;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.logo-img {
  width: 300px;
}

.logo-text {
  width: 200px;
}

.top .menu {
  flex: 1;
  background-color: black;
  justify-content: space-between;
  padding: 80px 100px 125px 100px;
  display: flex;
  height: fit-content;
}

.top .menu a {
  opacity: 80%;
}

.icons {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 50px;
  align-items: center;
  gap: 20px;
}

.page-photo {
  margin-top: 60px;
  width: 450px;
  margin-right: 20px;
}

.container-1 {
  display: flex;
  align-items: flex-end;
  gap: 30px;
}

.controller {
  width: 100%;
  margin-left: 120px;
  margin-top: 50px;
  border-right: 1px solid white;
}
.controller p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 50px;
  font-size: 23px;
  font-weight: 600;
}
.controller p:hover {
  cursor: pointer;
}
.controller p img {
  width: 30px;
}

.container-2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 30px;
  margin-top: 100px;
  gap: 20px;
}

.container-2 .item {
  background-image: url(/img/frame.png);
  background-size: contain;
  background-repeat: no-repeat;
  padding: 10px;
}

.container-2 .item:hover{
  scale: 1.1;
  transition: 0.3s;
}

.container-2 .item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1899/1177;
}

@media screen and (max-width: 1400px) {
  .logo {
    padding: 100px 50px 40px 50px;
  }
  .logo-img {
    width: 250px;
  }
  .page-photo {
    width: 350px;
  }
  .controller {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: 0;
  }
  .container-2 {
    margin: 0;
    margin-top: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 1000px) {
  .menu-wrap {
    display: block;
  }
  .top .menu {
    display: none;
  }
  .logo {
    width: 100%;
  }
  header {
    flex-direction: column;
  }
  .container-1 {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .page-photo {
    margin-top: 0;
    margin-right: 0;
  }
  .container-2 {
    padding-bottom: 60px;
    padding-left: 10px;
    margin-left: 20px;
  }
  .container-2 span {
    padding: 0 20px;
    margin-bottom: 10px;
  }
  .container-2 p {
    padding: 0 10px;
    max-width: 100%;
  }

  .icons {
    padding: 0;
    flex-direction: row;
  }
  .container-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.active-link {
  background: #d9d1a8;
  background: linear-gradient(to right, #d9d1a8 0%, #ca9c4c 50%, #d9d1a8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
