body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
}

.top-nav {
  position: relative;
  top: 0;
  width: 100%;
  padding-top: 1%;
  padding-bottom: 1%;
  margin-bottom: 1%;
  display: flex;
  justify-content: flex-start;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  z-index: 10;
}

.top-nav a {
  color: white;
  text-decoration: none;
  margin: 10px;
  font-weight: 600;
}

.top-nav a:hover{
  text-decoration: underline;
}


.site-header {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;

  padding: 5% 8%;             
  min-height: 70vh;            
  box-sizing: border-box;

  text-align: left;
  font-size: clamp(28px, 6vw, 100px); 

  color: #f0f0f0;
  text-shadow: 0 0 20px #00bbff;
}


.main-title {
  margin: 1vh 0 0;
  font-size: clamp(36px, 8vw, 85px);
  font-weight: 600;
}


.after-header {
  color: #FAEBD7;
  font-size: clamp(18px, 3vw, 30px);
  margin-top: 2vh;
}


.intro {
  /*background-image: url('images/header-mirrored-dark.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;*/
  min-height: 60vh;
  padding: 5%;
  font-size: clamp(16px, 2vw, 20px);
  color: white;
}


.intro h2 {
  font-size: clamp(24px, 4vw, 40px);
  padding: 10px 0;
  letter-spacing: 0.1rem;

  color: #f0f0f0;
  text-shadow: 0 0 20px #00bbff;
}

@media (max-width: 600px) {
  .intro h2 {
    all: unset; /* сброс всех стилей */
    font-size: clamp(24px, 4vw, 40px); /* вернуть нужные */
    padding: 10px 0;
    letter-spacing: 0.1rem;

    color: #f0f0f0;
    text-shadow: 0 0 20px #00bbff;
   }
}

.intro h3 {
  font-size: clamp(18px, 3vw, 25px);
  padding: 2px 0;
  color: #f0f0f0;
  text-shadow: 0 0 20px #00bbff;
}


.intro p,
.intro ul {
  padding: 2px 0;
  margin: 1em 0;
  font-size: clamp(14px, 2vw, 18px);
}

.intro ul {
  color: white;
}


.highlight {
    /*background-image: url('images/header-mirrored.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;*/
    min-height: 60vh;
    padding: 5%;
    font-size: clamp(16px, 2vw, 20px);
    color: white;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.highlight h2 {
  font-size: clamp(24px, 4vw, 40px);
  padding: 10px 0;
  letter-spacing: 0.1rem;

  color: #f0f0f0;
  text-shadow: 0 0 20px #00bbff;
}

@media (max-width: 600px) {
  .highlight h2 {
    all: unset; /* сброс всех стилей */
    font-size: clamp(24px, 4vw, 40px); /* вернуть нужные */
    padding: 10px 0;
    letter-spacing: 0.1rem;
    color: #f0f0f0;
    text-shadow: 0 0 20px #00bbff;
  }
}


.highlight h3 {
  font-size: clamp(22px, 10vw, 30px);
  padding: 5px 0;
  letter-spacing: 0.1rem;
  color: #f0f0f0;
  text-shadow: 0 0 20px #00bbff;
}

.highlight a {
    font-size: clamp(22px, 10vw, 30px);
    padding: 5px 0;
    letter-spacing: 0.1rem;
    color: white;
}

.project1 {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 2vh;
  flex-wrap: wrap; /* позволяет перенос элементов при уменьшении окна */
}

.project1 > div {
  flex: 1;
}

.imageContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3%;
}

.responsive-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 10px;
}


@media (max-width: 600px) {
  .project1 {
    flex-direction: column;
    align-items: center;
  }

  .imageContainer {
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
  }

  .responsive-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
  }
}



ul {
  list-style: disc;
  margin-left: 20px;
}

footer {
  text-align: center;
  padding: 20px;
}

.btn {
  display: inline-block;
  background-color: #0d1182;

  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition:  0.3s;
  margin: 70px 20px 20px 20px;

  font-size: 20px;
  font-weight: normal;

  background: linear-gradient(135deg, #1e3c72, #2a5298);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: all 0.4s ease;
}

.btn:hover {
  background: linear-gradient(135deg, #1e3c72, #0231bf);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}



#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
  filter: brightness(70%);
}

