@import url(https://fonts.googleapis.com/css?family=Inter:100,200,300,regular,500,600,700,800,900,100italic,200italic,300italic,italic,500italic,600italic,700italic,800italic,900italic);

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}

*, *:before, *:after {
box-sizing: inherit;
}

body, h1, h2, h3, h4, h5, h6, p, ol, ul {
margin: 0;
padding: 0;
font-weight: normal;
}

img {
max-width: 100%;
height: auto;
}

body{
  font-family: Inter;
  background-color: rgb(255, 255, 255);
}

main{
  height: 900px;
  width: auto;
  margin: 0px auto;
  background-image: url(image/Background2.jpg);
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
} 

/* ////////HEADER//////// */
/* ////////HEADER//////// */

header{
  position: fixed;
  top: 60px;
  width: 60%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  font-size: 1.25rem;
}

header button{
  width: 160px;
  height: 40px;
  background-color: rgb(182, 234, 174);
  color: black;
  border-radius: 10px;
  font-family: Inter;
  font-weight: 700;
  font-size: 1.25rem;
  border: none;
  transition-duration: 1s;
}

header button:hover{
  box-shadow: 0 0 20px black;
  transition: 1s;
}

header nav{
  width: 55%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 15%;
  margin-right: 50px;
}

header nav a{
  text-decoration: none;
  color: rgb(255, 255, 255);
  font-weight: 700;
  border-radius: 20px;
  padding: 10px;
  transition-duration: 1s;
  filter: drop-shadow(5px 5px 3px rgba(55, 87, 57, 1));
}

header nav a:hover{
  backdrop-filter: blur(5px);
  transition: 1s;
}

.activ-list{
  color: rgba(55, 87, 57, 1);
}

/* Стили для модального окна */

.modal {
  display: none; /* по умолчанию скрыто */
  position: fixed; /* фиксированное позиционирование */
  z-index: 1000; /* поверх всего */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* если контента много */
  background-color: rgba(0,0,0,0.5); /* полупрозрачный фон */
}

.modal-content {
  background-color: #fff;
  margin: 10% auto; /* вертикальный отступ и центрирование */
  padding: 20px;
  border-radius: 8px;
  width: 300px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

form label {
  display: block;
  margin-top: 15px;
  font-weight: 600;
}

form input {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  box-sizing: border-box;
}

form button {
  margin-top: 20px;
  width: 100%;
  padding: 10px;
  background-color: #4caf50;
  border: none;
  color: white;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
}

form button:hover {
  background-color: #45a049;
}

/* Стили вкладок */

.tabs {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 2px solid #ddd;
}

.tab-button {
  flex: 1;
  padding: 10px 0;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.3s;
  font-size: 16px;
}

.tab-button:hover {
  border-bottom-color: #4caf50;
}

.tab-button.active {
  border-bottom-color: #4caf50;
  color: #4caf50;
  font-weight: 700;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ////////BLOCK1//////// */
/* ////////BLOCK1//////// */

.block1{
  margin-top: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.block1_card{
  background-image: linear-gradient(to bottom right,rgba(33, 63, 54, 1), rgba(33, 63, 54, 0.2)), url(image/Card.jpg);
  background-size: cover;
  width: 900px;
  height: 600px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  margin-bottom: 100px;
}

.conteyner{
  margin: 40px 0 0 40px;
  width: 500px;
}

.conteyner h1{
  font-weight: 600;
  font-size: 60px;
  line-height: 100%;
  letter-spacing: 0%;
  color: rgba(210, 255, 203, 1);
  margin-bottom: 40px;
}

.conteyner h1::first-line{
  color: rgba(240, 255, 238, 0.8);
}

.conteyner p{
  font-weight: 400;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0%;
  color: rgba(255, 255, 255, 0.8);
}

.block1-bottom{
  z-index: 10;
  width: 100%;
  height: 100px;
  position: fixed;
  bottom: 0px;
  background: radial-gradient(circle, rgba(33, 63, 54, 0.922) 10%, rgba(33, 63, 54, 1)  90%);
}