* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #0b0e13;
  color: #d6d6d6;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

a {
  color: #c23c2a;
  text-decoration: none;
}

.header {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle, rgba(194, 60, 42, 0.1) 0%, #0b0e13 80%);
}

.header-icon {
  width: 140px;
  border: 3px solid gold;
  margin-bottom: 15px;
}

.header h1 {
  font-size: 64px;
  color: gold;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.subtitle {
  font-size: 18px;
  color: #9fa3aa;
  margin-bottom: 30px;
}

.button,
.menu-button {
  display: inline-block;
  padding: 10px 35px;
  border: 1px solid #c23c2a;
  color: #c23c2a;
  font-weight: bold;
  text-transform: uppercase;
  transition: 0.3s;
}

.menu-button {
  background-color: #c23c2a;
  color: #0b0e13;
  margin: 40px 0;
}

.section {
  padding: 80px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.section h2 {
  color: gold;
  margin-bottom: 30px;
  border-bottom: 1px solid #2a2f3a;
  padding-bottom: 15px;
  text-transform: uppercase;
}

.content-card {
  background-color: #11151c;
  padding: 30px;
  border: 1px solid #2a2f3a;
  line-height: 1.8;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.skill-card {
  border: 1px solid #2a2f3a;
  padding: 25px;
  background-color: #11151c;
  text-align: center;
}

.skill-icon {
  font-size: 28px;
  font-weight: bold;
  color: #c23c2a;
  margin-bottom: 15px;
}

.ult-img {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
  border: 1px solid gold;
}

.contacts-box {
  background: #11151c;
  padding: 20px;
  border-left: 4px solid #c23c2a;
}

.menu-container {
  text-align: center;
}

.footer {
  text-align: left;
  padding: 30px;
  font-size: 14px;
  color: #777;
  border-top: 1px solid #2a2f3a;
}

/* desktop */
@media (min-width: 1920px) {
  .section {
    max-width: 1200px;
  }
  .header h1 {
    font-size: 80px;
  }
}

/* laptop */
@media (max-width: 1024px) {
  .section {
    padding: 60px 30px;
  }
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* tablet */
@media (max-width: 768px) {
  .header h1 {
    font-size: 48px;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .header {
    height: 70vh;
  }
}

/* mobile */
@media (max-width: 320px) {
  .header h1 {
    font-size: 32px;
  }
  .button {
    padding: 10px 20px;
    font-size: 12px;
  }
  .section h2 {
    font-size: 20px;
  }
}
