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

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  width: calc(100% - 100px);
  height: calc(100vh - 100px);
  background-color: #fcd3a7;
  box-shadow: 0 15px 20px rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
}

header {
  height: 100px;
  margin: -50px 20px 0;
  padding: 20px 50px;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 36px;
}

header .logo {
  color: rgb(110, 1, 1);
  font-size: 20px;
  text-decoration: none;
  font-weight: bolder;
}

header ul {
  display: flex;
  align-items: center;
  gap: 48px;
}

header ul li {
  list-style: none;
}

header ul a {
  text-decoration: none;
}

header ul .project {
  font-size: 18px;
  color: #800514;
  font-weight: 600;
}

header ul .project:hover {
  color: rgb(251, 238, 185);
  background: rgb(246, 69, 69);
  padding: 6px 10px;
  border-radius: 10px;
  transition: 0.5s;
}

header ul .skill {
  font-size: 18px;
  color: #800514;
  font-weight: 600;
}

header ul .skill:hover {
  color: rgb(251, 238, 185);
  background: rgb(239, 80, 80);
  padding: 6px 10px;
  border-radius: 10px;
  transition: 0.5s;
}

header ul .certificates {
  color: #800514;
  font-weight: 600;
  font-size: 16px;
}

header ul .certificates:hover {
  color: aquamarine;
  background: black;
  border-radius: 10px;
  padding: 8px 14px;
  transition: 0.5s;
}

header ul .resume {
  color: #800514;
  font-weight: 600;
}

header ul .resume:hover {
  color: aquamarine;
  background: black;
  border-radius: 10px;
  padding: 8px 14px;
  transition: 0.5s;
}

.layout {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 0 30px;
}

.content {
  flex: 1;
  background: #f5f2f2;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  max-width: 920px;
  padding: 40px;
  border-radius: 20px;
  opacity: 0.8;
}

.content h1 {
  font-size: 30px;
  color: #800514;
  font-weight: 600;
}

.content p {
  font-size: 24px;
  padding: 28px 0;
  line-height: 1.6;
}

.icons {
  display: flex;
  flex-direction: column;
  list-style: none;
}

.icons li a {
  width: 86px;
  height: 86px;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin: 30px 0;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.icons li a img {
  transform: scale(0.8);
  width: 80px;
  transition: 0.7s;
}

.icons li:hover a img {
  transform: scale(1.1) rotate(360deg);
}

@media (max-width: 900px) {
  body {
    height: auto;
    min-height: 100vh;
  }
  .container {
    width: calc(100% - 30px);
    height: auto;
    min-height: calc(100vh - 100px);
    margin: 70px 0 30px;
    padding-bottom: 30px;
  }
  header {
    height: auto;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    margin: -40px 15px 0;
  }
  header ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 20px;
  }
  .layout {
    flex-direction: column;
    align-items: stretch;
    gap: 26px;
    padding: 24px 15px;
  }
  .content {
    max-width: 100%;
    padding: 24px;
  }
  .icons {
    flex-direction: row;
    justify-content: center;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  header .logo {
    font-size: 16px;
  }
  .content h1 {
    font-size: 20px;
  }
  .content p {
    font-size: 16px;
    padding: 16px 0;
  }
  .icons li a {
    width: 56px;
    height: 56px;
  }
  .icons li a img {
    width: 54px;
  }
}
