*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Lato', sans-serif;
}
@font-face {
    font-family: 'yikesregular';
    src: url('./fonts/yikes__-webfont.woff2') format('woff2'),
    url('./fonts/yikes__-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
.logo{
    font-family:'yikesregular';
    font-size: 5rem;
    text-align: center;
    margin-top: .5em;
    margin-bottom: .5em;
}


.menu{
    background-color: #75ce21;
    text-align: center;
    font-size: 1.2rem;
    min-height: 1em; 
}
.menu > li{
    display: inline-block;
    padding: .3em 2em;
    
}
li.active{
    background-color: #38bcf0;
}

.menu a{
    color: blue;
    text-decoration: none;
}
.menu a:hover{
    color: #fff;
}
h1{
   margin: .5em 20% ;
   font-size: 2.5rem;
   text-align: center;
   border-bottom: 2px solid red;
}
#ad{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}
.left{
    margin: 60px 40px;
}
.article{
    max-width: 1000px;
    margin-bottom: 40px;
}
#aside{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: auto;
    max-width: 600px;
    height: auto;
    background-color: #b9cf10;
    border: red solid;
    
}
.asi{
    text-align: center;
}
 h2{
    text-align: center;
    border-bottom: 2px solid red;
    color: rgb(17, 20, 182);
}
 h3{
    height: 50px;
    width: 200px;
    border: 3px solid red;
    border-radius: 5%;
    overflow: hidden;
    font-size: 2rem;
    color: rgb(17, 20, 182);
}
.asi p{
    font-size: 1.2rem;
    text-align: center;
    color: rgb(17, 20, 182);
}
#ed{
    display: flex;
    flex-wrap: wrap;
    justify-content:space-around;
}
article p{
    text-align: center;
    line-height: 1.5em;
    font-size: 1.5rem;
    padding: .5em;
}
footer{
    text-align: center;
    color: rgb(17, 20, 182);
    padding: 10px;
    background-color: rgba(219, 238, 14, 0.88);
    margin-top: 20px;
}
body {
    background: linear-gradient(45deg, rgb(64, 161, 161), rgb(78, 76, 226));
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    min-width: 100vw;
    overflow-x: hidden;
    padding: 64px;
}
.gallery {
    background: linear-gradient(
        60deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.5)
    );
    border-radius: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    list-style-type: none;
    padding: 64px;
}

.thumbnail {
    border: solid 3px rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 0 48px 2px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    margin: 32px;
    max-height: 200px;
    max-width: 300px;
    overflow: hidden;
    transform: scale(1);
    transition: transform 0.3s;
}

.thumbnail:hover {
    transform: scale(1.2);
}

.thumbnail img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.thumbnail img:focus,
.thumbnail img:focus {
    border: solid 5px rgb(78, 76, 226);
}

.popup {
    align-content: center;
    animation: fadeIn 0.3s;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    height: 100vh;
    left: 0;
    position: fixed;
    top: 0;
    width: 100vw;
}

.popup.hidden {
    display: none;
}

.popup.fade-out {
    animation: fadeOut 0.3s both;
}

.popup__img {
    max-height: 80%;
    max-width: 80%;
}

.popup__close {
    background-color: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 128px;
    position: fixed;
    right: 64px;
    top: 64px;
}

.popup__arrow {
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 128px;
    height: 128px;
    line-height: 128px;
    position: absolute;
    top: 50%;
    width: 128px;
}

.popup__close,
.popup__arrow {
    opacity: 0.5;
    transition: opacity 0.3s;
}

.popup__close:hover,
.popup__arrow:hover {
    opacity: 1;
}

.popup__arrow--left {
    left: 5%;
}

.popup__arrow--right {
    right: 5%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
#team{
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 500px;
    margin: 40px auto;
}
.kont {
    display: flex;
    font-size: 40px;
    text-align: center;
    margin-left: 15px;
}
.my-icon  {
    display: flex;
    flex-wrap: nowrap;
    font-size: 24px;
    margin: 15px ;
    letter-spacing: 5px ;
    
}
a{
    text-decoration: none;

}
.h2{
    font-size: 2rem;
    border-bottom: 3px solid #75ce21;
    color: black;
}
.p {
    font-size: 1.5rem;
    margin-top: 5px;
    margin-bottom: 10px;
    text-align: center;
    list-style: none;
}