body {
    width: 100vw;
}

#content {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: center;
    margin-top: 20px;
    background-color: #ffffff;
    padding: 50px;
}

#layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 10px;
    width: 300px;
    height: 200px;
    background-color: #ffffff;
    border: 3px solid rgba(152, 152, 152, 0.275);
    border-radius: 10px;
    cursor: pointer;
    transition: 1s ease-in;
    transform: translateY(100%);
    opacity: 0;
}

#layout div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

/* .mark {
    overflow-y: auto;
} */

#layout span {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.material-symbols-outlined {
    color: red;
    size: 100px;
    transform: scale(2);

}

#layout:hover {
    background-color: red;
    .material-symbols-outlined{
        transform: scale(1.5);
        transition: .3s ease-in;
    }
     p {
        color: #ffffff;
        transition: .3s ease-in;
    }
}

#layout img {
    width: 150px;
    height: 150px;
}

#layout p {
    text-align: center;
    font-size: 12px;
}

#content.active #layout:nth-child(1) {
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s forwards;
    animation-delay: 0.1s;
    overflow-y: auto;
}

#content.active #layout:nth-child(2) {
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s forwards;
    animation-delay: 0.15s;
    overflow-y: auto;
}

#content.active #layout:nth-child(3) {
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s forwards;
    animation-delay: 0.2s;
    overflow-y: auto;
}

#content.active #layout:nth-child(4) {
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s forwards;
    animation-delay: 0.25s;
    overflow-y: auto;
}

#content.active #layout:nth-child(5) {
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s forwards;
    animation-delay: 0.3s;
    overflow-y: auto;
}

#content.active #layout:nth-child(6) {
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s forwards;
    animation-delay: 0.35s;
    overflow-y: auto;
}

#content.active #layout:nth-child(7) {
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s forwards;
    animation-delay: 0.4s;
    overflow-y: auto;
}

#content.active #layout:nth-child(8) {
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s forwards;
    animation-delay: 0.45s;
    overflow-y: auto;
}

#content.active #layout:nth-child(9) {
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s forwards;
    animation-delay: 0.45s;
    overflow-y: auto;
}

#content.active #layout:nth-child(10) {
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s forwards;
    animation-delay: 0.45s;
    overflow-y: auto;
}

#content.active #layout:nth-child(11) {
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s forwards;
    animation-delay: 0.45s;
    overflow-y: auto;
}

#content.active #layout:nth-child(12) {
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s forwards;
    animation-delay: 0.45s;
    overflow-y: auto;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#descr {
    display: flex;
    justify-content: center;
    margin-top: 100px;
    gap: 10vw;
    margin-bottom: 100px;
}

#descr div img {
    -webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
    width: 500px;
}

#descr.active #photo {
    width: 500px;
    overflow: hidden;
    animation: scrollPhoto 1s ease-in;
}

@keyframes scrollPhoto {
    0% {
        opacity: 0;
        transform: translateX(-30%);
        /* filter: blur(20px); */
    }

    100% {
        opacity: 1;
        /* filter: blur(0); */
        transform: translateX(0%);
    }
}

#descr div img:hover {
    -webkit-transform: scale(1.3);
	transform: scale(1.3);
}


#descr.active #text {
    width: 40vw;
}

#descr.active #text h1 {
    overflow: hidden;
    animation: scrollText .4s ease-in;
}

#descr.active #text p {
    overflow: hidden;
    animation: scrollText .4s ease-in;
    animation-delay: .1s;
}

@keyframes scrollText {
    0% {
        opacity: 0;
        transform: translateX(30%);
    }
    100% {
        opacity: 1;
        transform: translateX(0%);
    }
}

@media screen and (max-width: 765px) {
    #descr {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #descr div img {
        width: 300px;
        overflow: hidden;
        animation: scrollPhoto 1s ease-in;
    }

    #descr.active #photo {
        width: 300px;
        overflow: hidden;
        animation: scrollPhoto 1s ease-in;
    }

    #descr.active #text {
        width: 80vw;
    }
}

#footer {
    display: flex;
    width: 100%;
    height: 25vh;
    background-color: #1f1a38;
    justify-content: space-around;
    align-items: center;
    gap: 100px;
    color: white;
}

#foot {
    display: flex;
    align-items: center;
    gap: 5px;
}

#footer div span {
    color: white;
}

#logo2 {
    padding-left: 15px;
}

.material-symbols-sharp {
  font-variation-settings:
  'FILL' 1,
  'wght' 400,
  'GRAD' 0,
  'opsz' 14
}

#lay {
    background-color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 20px;
    margin: 190px 20px 20px 20px;
}

@media screen and (max-width: 955px) {
    #lay {
        margin: 150px 20px 20px 20px;
    }
}


/* about.html */

#descr-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10vh;
}
#text-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60vw;
}

@media screen and (max-width: 585px) {
    #photo img {
        width: 300px;
    }

    #lay img {
        width: 300px;
    }
}

.header-container a {
    text-decoration: none;
}

.fa {
    padding: 5px;
    font-size: 30px;
    width: 18px;
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
  }
  
  /* Add a hover effect if you want */
  .fa:hover {
    opacity: 0.7;
  }

  /* Facebook */
.fa-facebook {
    background: #3B5998;
    color: white;
  }