* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Styles */

body {
    font-family: "Arial",monospace
}

/* Header */

header {
    background-color: white;
    color: rgb(0, 0, 0);
    padding: 10px 0;
    position: fixed;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px auto;
    padding: 0 20px;
}
 .container {
    margin: 0 auto;
    width: 100%;
    max-width: 960px;
    padding: 0 15px;
 }
.logo li{
display: inline;   
}

.logo li a{
    float: center;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    color: #8cb191;
    
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-right: 20px;
}

.nav-links a {
    color: rgb(0, 0, 0);
    padding: 10px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
}
/* About Section */

.about {
    background: rgb(224, 251, 222);
    background:  rgb(245, 255, 245);
    padding: 100px 0 20px 0;
    text-align: center;
}

.about h1 {
    font-size: 1.5rem;
    color: darkslateblue;
    margin-bottom: 20px;
}

.about p {
    font-size: 1.2rem;
    color: #323030;
    max-width: 800px;
    margin: 0 auto;
}

.about-info {
    margin: 0.5rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    
}

.about-img {
    width: 30rem;
    height: 20rem;

}

.about-img img {
    background-color: #ffffff;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    object-fit: contain;
}

.about-info p {
    font-size: 1.1rem;
    margin: 0 4rem;
    text-align: justify;
}

button {
    border: none;
    outline: 0;
    padding: 10px;
    margin: 2rem;
    font-size: 1rem;
    color: white;
    background-color: #010002;
    text-align: center;
    cursor: pointer;
    width: 15rem;
    border-radius: 4px;
    text-decoration: none;
}

button:hover {
    background-color: #71bb7a;
}

/* Team Section */

.team {
    padding: 30px 0;
    text-align: center;
    
}

.team h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}


.team h4 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    padding: 20px;
}


.team-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.card {
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 18rem;
    height: 25rem;
    margin-top: 10px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5);
}

.card-img {
    width: 18rem;
    height: 12rem;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.card-info button {
    margin: 2rem 1rem;
}

.card-name {
    font-size: 1rem;
    margin: 10px 0;
}

.card-role {
    font-size: 1rem;
    color: #888;
    margin: 5px 0;
}

.card-email {
    font-size: 1rem;
    color: #555;
}

.card li{
    display: inline; 
    }
    
.card li a{
    
        float: center;
        text-decoration: none;
        font-size: 1.1rem;
        font-weight: bold;
        color: #000000;
        background-color: #8cb191;
        border-radius: 5px;
        padding: 5px;

}

.footerClass {
display: inline-block;
height: 100%;
width: 33.333%;
}
@media (max-width: 768px) {
    nav {
        display: block;
    }

    .logo {
        text-align: center;
    }

    .nav-links {
        margin-top: 1rem;
        justify-content: space-between;
    }

    .nav-links li {
        margin-right: 0;
    }

    .about h1 {
        font-size: 2rem;
    }

    .about p {
        font-size: 0.9rem;
    }

    .about-info {
        flex-direction: column;
        text-align: center;
    }

    .about-img {
        width: 60%;
        height: 60%;
        margin-bottom: 1rem;
    }
    .about-imge {
        width: 100%;
        height: 100%;
        margin-bottom: 1rem;
        border-radius: 5px;
    }

    .about-info p {
        margin: 1rem 2rem;
    }

    .about-info button {
        margin: 1rem 2rem;
        width: 10rem;
    }

    .team {
        margin: 0 1rem;
    }
}

.team-texts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}
.text {
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 25rem;
    height: 20rem;
    margin-top: 0px;
    margin-left: 20px;
    
}

.text:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5);
}


.text-img img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.text-info button {
    margin: 2rem 1rem;
}

.text-name {
    font-size: 1.3rem;
    margin-top: 20px;
    margin-left: 60px;
    margin-bottom: 20px;
    color: darkslateblue;
    
}

.text-role {
    font-size: 4rem;
    color: #888;
    margin: 4px 0;
}
.team-mis {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}
.mi {
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 25rem;
    height: 20rem;
    margin-top: -20px;
    margin-left: 20px;
    
}

.mi:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5);
}


.mi-img img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.mi-info button {
    margin: 1rem 1rem;
}

.mi-name {
    font-size: 1.3rem;
    margin-top: 20px;
    margin-left: 60px;
    margin-bottom: 20px;
    color: darkslateblue;
    
}

.mi-text {
    font-size: 5rem;
    color: #888;
    margin-left: 5px;
}


.team-lin {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}
.lin {
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 40rem;
    height: 28rem;
    margin-top: 0px;
    margin-left: 20px;
    
}

.lin:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5);
}


.lin-img img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.lin-info button {
    margin: 2rem 1rem;
}

.lin-name {
    font-size: 1.3rem;
    margin-top: 20px;
    margin-left: 60px;
    margin-bottom: 20px;
    color: darkslateblue;
    
}

.lin-role {
    font-size: 4rem;
    color: #888;
    margin: 4px 0;
}

.team-reg {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}
.reg {
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 40rem;
    height: 24rem;
    margin-top: -20px;
    margin-left: 20px;
    
}

.reg:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5);
}


.reg-img img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.reg-info button {
    margin: 2rem 1rem;
}

.reg-name {
    font-size: 1.3rem;
    margin-top: 20px;
    margin-left: 60px;
    margin-bottom: 20px;
    color: darkslateblue;
    
}

.reg-role {
    font-size: 4rem;
    color: #888;
    margin: 4px 0;
}

.team-skol {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}
.skol {
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 40rem;
    height: 25rem;
    margin-top: -20px;
    margin-left: 20px;
    
}

.skol:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5);
}


.skol-img img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.skol-info button {
    margin: 2rem 1rem;
}

.skol-name {
    font-size: 1.3rem;
    margin-top: 20px;
    margin-left: 60px;
    margin-bottom: 20px;
    color: darkslateblue;
    
}

.skol-role {
    font-size: 4rem;
    color: #888;
    margin: 4px 0;
}


/* Общий стиль для всех нумерованных списков */
ol {
    counter-reset: item; /* Инициализируем счетчик для списка */
    list-style-type: none; /* Убираем стандартную нумерацию */
    padding-left: 20px; /* Добавляем отступ слева */
    font-size: 1.2rem;
  }
  
  /* Стиль для элементов списка */
  ol > li {
    display: block;
    margin-bottom: 5px; /* Добавляем отступ между элементами */
  }
  
  /* Стиль для маркера (номера) */
  ol > li:before {
    content: counters(item, ".") ". "; /* Формируем номер, используя счетчик */
    counter-increment: item; /* Увеличиваем счетчик на 1 */
    display: inline-block;
    width: 2.3em; /* Фиксированная ширина для выравнивания номеров */
    padding-right: 5px;
    text-align: right;
  }
  
  /* Стиль для подпунктов (уменьшаем размер шрифта и добавляем дополнительный отступ) */
  ol ol {
    font-size: 1em; /* Уменьшаем размер шрифта */
    padding-left: 30px; /* Дополнительный отступ */
  }
  
  /* Стиль для подподпунктов (еще меньше размер шрифта и еще больший отступ) */
  ol ol ol {
    font-size: 0.8em; /* Еще меньше размер шрифта */
    padding-left: 40px; /* Еще больший отступ */
  }
#container .left,
#container .right {
    display: inline-block;
}

#container .left {
    width: 20%;
    float: left;
}
#container .right {
    width: 80%;
    float: right;
}