.head {
    /* background-image:url("../bc_image/head.svg"); */
    height: 130px;

    background-size:cover;
}
.head__title {
    font-family: "ADLaM Display", serif;
    font-weight: 400;
    font-style: normal;
    color: #EDEDF1;
    letter-spacing: 7px;
    text-align: center;
    padding: 20px;
    font-size: 24px;
    line-height: 200%; /* 48/24 */
}

.top {
    background: url("../bc_image/fon_decor.png") no-repeat;
    background-size: cover; 
    overflow: hidden;
}
.top__content {
    padding: 60px 0px 60px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
.top__title {
    font-family: "ADLaM Display", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 96px;
    letter-spacing: 7%;
    text-transform: uppercase;
    text-align: center;
    max-width: 700px;
    line-height: 1.2;
    margin-bottom: 30px;

}
.outlined{
    color: rgba(0, 12, 37, 0.753) ;
    background: linear-gradient(to bottom right, #f800df 41%, #0018EA 81%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-stroke: 12px transparent;
    padding: 0 20px;
    overflow: visible;
}
.top__title span:nth-child(2){
    font-size: 72px;
}
.top__subtitle {
    font-family: "Gluten", serif;
    font-size: 40px;
    color: rgba(0, 12, 37, 0.753);
    background: #FF1CC1;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-stroke: 6px transparent;
    line-height: 120%; /* 48/40 */
    padding: 0 20px;
    overflow: visible;
}
.top__nav {
}
.nav {
}
.nav__list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    gap: 20px;
    padding: 20px;
    margin: 0;
    box-sizing: border-box;
}
.list {
}
.list__item {
    background-color: #4606E7;
    opacity: 90%;
    border-radius: 24px;
    /* border: 2px solid #FF1CC1; */
    margin: 114px 0 0;
    cursor: pointer;
    transition: border 0.3s ease-in-out, background-color 0.3s ease-in-out;
}
.list__item:nth-child(2n){
    margin-top: 0px;
}
.list__item:hover{
    background-color: #FF1CC1;
    border: 2px solid #EDEDF1;
}
.list__item-link {
    padding: 0 30px;
    font-family: "ADLaM Display", serif;
    color:#EDEDF1;
    font-size: 18px;
    line-height: 240%; /* 48/20 */
}
@media(max-width:665px){
    .head{
        height: 120px;
    }
    .top__content {
        padding: 40px 0px 40px;
    }
    .top__title {
        font-size: 84px;
    }
    .top__title span:nth-child(2){
        font-size: 68px;
    }
    .top__subtitle {
        font-size: 36px;
        margin: 30px 0;
    }
    .nav__list {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        list-style: none;
        gap: 30px;
        padding: 20px;
        margin: 0;
        box-sizing: border-box;
        /* flex-direction: column; */
    }
    .list__item {
        background-color: #4606E7;
        opacity: 90%;
        border-radius: 24px;
        border: none;
        cursor: pointer;
        transition: border 0.3s ease-in-out, background-color 0.3s ease-in-out;
        margin: 0;
    }
    .list__item-link {
        padding: 0 30px;
        font-family: "ADLaM Display", serif;
        color:#EDEDF1;
        font-size: 16px;
        line-height: 240%; /* 48/20 */
    }
}
@media(max-width:578px){
    .head{
        height: 100px;
    }
    .top__title {
        font-size: 64px;
    }
    .top__title span:nth-child(2){
        font-size: 56px;
    }
    .top__subtitle {
        font-size: 32px;
        margin-bottom: 30px;
    }
    .nav__list {
        gap: 20px;
    }
    .list__item-link {
        padding: 0 25px;
    }
    .list__item {
        margin-bottom: 10px;
    }
}
@media(max-width:465px){
    .head__title{
        font-size: 18px;
    }
    .top__content{
        padding-bottom: 0;
    }
    .top__title {
        font-size: 56px;
    }
    .top__title span:nth-child(2){
        font-size: 48px;
    }
    .top__subtitle {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .list__item-link {
        padding: 0 20px;
        font-size: 14px;
    }
}
@media(max-width:420px){
    .top__content{
        padding-bottom: 0;
    }
    .top__title {
        font-size: 48px;
        margin-bottom: 20px;
    }
    .top__title span:nth-child(2){
        font-size: 36px;
    }
    .top__subtitle {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .nav__list {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        list-style: none;
        gap: 20px;
        padding: 20px 10px;
        margin: 0;
        box-sizing: border-box;
        /* flex-direction: column; */
    }
    .list__item-link {
        padding: 0 10px;
        font-size: 14px;
    }
}
@media(max-width:374px){
    .top__content{
        padding: 0;
    }
    .top__title {
        font-size: 36px;
        margin-bottom: 10px;
    }
    .top__title span:nth-child(2){
        font-size: 28px;
    }
    .top__subtitle {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .list__item-link {
        padding: 0 20px;
        font-size: 14px;
    }
}
@media(max-width:340px){
    .top__content{
        padding-bottom: 0;
    }
    .top__title {
        font-size: 28px;
    }
    .top__title span:nth-child(2){
        font-size: 24px;
    }
    .top__subtitle {
        font-size: 20px;
    }

}
/* ------------------------------------------------------------- */
.about {
    /* position: relative; */
    background: url("../bc_image/fon_decor.png") no-repeat,url('../bc_image/about.svg') no-repeat;
    background-size: cover; 
    width: 100%;
}
.about__inner {
    padding: 95px 20px 150px;
}
.about__title, .title {
    font-family: "ADLaM Display", serif;
    line-height: 120%; /* 48/40 */
    color:#E7DF05;
    font-size: 40px;
    text-align: center;
}
.about__title{
    /* margin-bottom: 20px; */
}
.about__content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin: 40px 0;
    position: relative;
}
.about__img {
    position: relative;
    display: inline-block; /* Це гарантує, що елементи не займуть повну ширину */
}

.rotate {
    display: block;
    animation-name: rotation ;
    animation-duration: 10s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    max-width: 400px;
}
.img__me {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Центрування */
    /* max-width: 220px; */
}
.img__me img {
    display: block;
}
.circle{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
}
@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.img-box{
    flex: 1 1 70%;
    max-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding: 40px; */
    /* transform: scale(0.5); */
}

.text-block{
    flex: 1 1 40%;
}
.about__text {
    font-size: 20px;
    line-height: 133.333333%; /* 32/24 */
    color:#A3EBFF;
    font-family: "Afacad", serif;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* flex: 1 0 50%; */
}
.hello_text {
    text-align: center;
}
.education {
}
.career {
}
.button-flex{
    display: flex;
    justify-content: flex-end;
    padding: 15px 50px 0 20px;
}
.about__button{
    display: inline-block;
    background-color: #FF1CC1;
    border-radius: 24px;
    border: 2px solid #EDEDF1;
    transition: background-color 0.3s ease-in-out, border 0.3s ease-in-out;
}
.about__button:hover{
    background-color: #EDEDF1;
    border: 2px solid #FF1CC1;
}
.about__button:hover>.skills-link{
    color:#FF1CC1;
}
@media(max-width:815px){
    .about__inner {
        padding: 85px 10px 100px;
    }
    .title {
        font-size: 40px !important;
    }
    .img-box{
        transform: scale(0.9);
        flex: 1 0 45%;
    }
    .about__content{
        margin: 20px 0;
        gap: 20px;
    }
    .about__text {
        font-size: 18px;
    }
}
@media(max-width:578px){
    .about__content{
        margin: 20px 0;
    }
    .about__text {
        font-size: 18px;
    }
}
@media(max-width:465px){
    .about__inner {
        padding: 65px 10px 65px;
    }
    .about__title{
        padding: 10px 0 !important;
    }
    .img-box{
        transform: scale(0.8);
    }
    .about__content{
        margin: 10px 0;
    }
    .about__content{
        gap: 10px;
    }
}
@media(max-width:420px){

}
@media(max-width:390px){
    .title {
        font-size: 36px !important;
    }
    .about__content{
    }
    .img-box{
        transform: scale(0.7);
    }
    
}
@media(max-width:340px){

}
/*  */
.page__skills {
}
.skills {
}
.container {
}
.skills-page {
    padding: 60px 0 80px;
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
}
.top__skils {
    margin-bottom: 20px;
    color: #821414;
    text-align: center;
}

.textbold {
}
.skills__items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    align-items: center;
    overflow: hidden;
    width: 100%;

}
.skills__item {
    flex: 0 1 15%;
    /* padding: 0 36px; */
    margin:20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
}
.item-skilss_column {
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 15px;
    /* max-width: max-content; */
    max-width: 200px;
    border: 2px solid #E7DF05;
    background-color: #ffffff3f;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.item-skilss_column svg {
    max-height: 56px;
    width: auto;
}
.skills__item:first-child {
    margin-left: 0px;
} 
.skills__item-text {
    font-family: "ADLaM Display", serif;
    color:#EDEDF1;
    font-size: 18px;
    line-height: 240%; /* 48/20 */
    letter-spacing: -2%;
    margin-top: 20px;
    text-align: center;
}
/* .item-skilss_column svg {
    fill: white;
} */
/* .item-skilss_column:hover {
    background-color: #EDEDF1;
    color: white;
    border: 2px solid white;
} */
@media(max-width:1040px){
    .skills__item {
        flex: 0 1 25%;
    }
    .skills-page {
        padding: 40px 0 40px;
    }
}
@media(max-width:790px){
    .skills__item {
        flex: 0 1 25%;

    }
}
@media(max-width:790px){
    .skills__item {
        flex: 1 1 25%;
    }
    .skills__item-text{
        font-size: 16px;
    }
}
@media(max-width:476px){
    .skills-page {
        padding: 20px 0 20px;
    }
    .skills__items {
        gap: 0px;   
    }
    .skills__item {
        flex: 1 1 32%;
    }
    .skills__item-text{
        font-size: 16px;
    }
}
@media(max-width:457px){
    .skills-page {
        padding: 10px 0 10px;
    }
    .skills__item {
        flex: 1 1 34%;
    }
}
/* ------------------------------------------------------------------ */
.projects {
    background: url("../bc_image/fon_decor.png"),url("../bc_image/works_bc.svg");
    background-size: cover;
    /* padding-bottom: 40px; */
}
.page__projects {
    padding: 100px 20px 120px;
}
.projects__title {
    text-align: center;
    color:#fff;
    margin: 40px 0;
}
.title-games{
    font-family: "Gluten", serif;
    font-size: 40px;
    color: #FF1CC1;
    background: #ffffff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-stroke: 6px transparent;
    line-height: 120%; /* 48/40 */
    padding: 0 20px;
    overflow: visible;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
}
.about-games{
    font-size: 20px;
    line-height: 133.333333%; /* 32/24 */
    color:#ffffff;
    font-family: "Afacad", serif;
    font-weight: 600;
    margin-bottom: 40px;
    padding: 15px;
    text-align: center;
}
.projects__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}
.projects__columns {
    display: flex;
    flex: 1 0 33.333%;
    padding: 0 20px;
    min-height: 250px;
}
.projects__columns:not(:last-child) {
    margin-bottom: 20px;
}
.column-item {
    display: flex;
    align-items: center;
    max-width: 1000px;
    justify-content: space-around;
    padding: 0px 20px;
    margin-bottom: 20px;
    gap:50px;
}
.item-link {
    /* margin-right: 50px; */
    max-width: 330px;
    /* max-height: 330px; */
    cursor: pointer;
    transform: rotate(15deg);
    transition: all 1s ease-in-out;
    z-index: 3;
    display: block;
    text-align: center;
    flex: 0 0 40%;
}
.item-link:hover{
    transform: scale(1.2) rotate(-15deg);
}
/* .item-link:nth-child(2) {
    margin-right: 0px;
    margin-left: 50px;
} */
.item-link img {
    width: 100%;
    object-fit: cover;
}
.item-content {
    flex: 1 1 30%;
    color:#fff;
    /* margin-left: 40px; */
    /* position: relative; */
    /* text-align: center; */
}
.item-content>*{
    margin-bottom: 14px;
}
.content__title {
    font-family: "ADLaM Display", serif;
    line-height: 120%; /* 48/40 */
    color:#E7DF05;
    font-size: 32px;
    text-align: center;
}
.content__subtitle {
    font-family: "ADLaM Display", serif;
    line-height: 120%; /* 48/40 */
    color:#A3EBFF;
    font-size: 24px;
    text-align: center;
}
.content__text {
    color: #fff;
    font-size: 20px;
    /* padding-right: 25px; */
    text-align: left;
    max-width: 500px;
}
.content__link {
    margin: 0;
    background-color: #fff;
    padding: 5px 20px;
    color: #FF1CC1;
    border: 2px solid #FF1CC1;
    border-radius: 24px;
    display: inline-block;
    transition: all 0.3s ease;
}
.content__link:hover{
    background-color: #FF1CC1;
    border: 2px solid #fff;
    animation-name: bounce;
    animation-duration: 2s;
}
@keyframes bounce {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(100%);
    }
}
.content__link:hover svg path{
    stroke: #fff;
}
.coloring__book{
    border-radius: 24px;
    padding-right: 15px;
    max-width: 330px;
    max-height: 330px;
    transform: scale(1.2), rotate(140deg) !important;
}
.coloring__book img{
    width: 100%;
    object-fit: cover;
}
@media(max-width:842px){
    .page__projects {
        padding: 100px 0px 40px;
    }
    .projects__columns {
        padding: 0;
    }
    .column-item {
        gap:20px;
        padding: 0;
    }
}
@media(max-width:802px){
    .projects__columns {
        padding: 0;
    }
    .content__title {
        font-size: 28px;
    }
    .content__subtitle {
        font-size: 20px;
    }
    .content__text {
        font-size: 16px;
    }
    .item-link img {
        width: 80%;
    }
    .content__link {
        padding: 5px 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        max-width: 80px;
    }
    .content__link svg{
        max-width: 80%;
    }
    .column-item {
        gap:20px;
    }
}
@media(max-width:624px){
    .item-link {
        margin-right: 5px;
        /* flex: 1 0 30%; */
    }
    .item-link:nth-child(2) {
        margin-left: 5px;
    }
}
@media(max-width:508px){
    .column-item {
        flex-direction: column;
    }
    .column-item-2 {
        flex-direction: column-reverse;
    }
    .content__link {
        padding: 5px 10px;
    }
    .title-games{
        font-size: 38px;
    }
}
/* ---------------------------------------------------------------------- */
.certificate {
    background: url("../bc_image/fon_decor.png");
    background-size: cover;
    margin-bottom: 30px;
}
.certificate__inner {
}
.certificates__body {
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}
.certificate__item {
    overflow: hidden; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    max-width: 430px;
    /* border-radius: 24px;  */
}
.download{
    /* width: 550px;  */
    max-width: 430px;
    max-height: 300px; 
    background:url("../logo_img/download.png") center;
    background-size: cover;
}
.download img {
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
    object-position: center;
    transition: all 0.3s ease;
    /* border-radius: 24px; */
}
.download:hover img{
    opacity: 50%;
}
.certicates__cs50 {
    /* flex: 0 0 20%; */
}
.certicates__webdev {
    /* flex: 0 0 20%; */
}
.certicates__future {
    /* flex: 0 0 20%; */
    max-width: max-content;
    max-height: 200px;
}
.future__block {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
    width: 250px; 
    /* height: 380px;  */
    /* padding: 20px 0; */
    background-color: rgba(0, 12, 37, 0.2);
}
.future__text {
    font-size: 20px;
    line-height: 133.333333%; /* 32/24 */
    color:#000000;
    font-family: "Afacad", serif;
    font-weight: 600;
}
@media(max-width:1200px){
    .certificates__body {
        /* flex-wrap: wrap; */
        gap:20px;
        margin-top: 20px;
    }
}
@media(max-width:980px){
    .future__block {
        gap: 10px;
    }
}
@media(max-width:950px){
    .certificates__body {
        flex-direction: column;
        margin-top: 40px;
        gap:10px;
    }
    .download img {
        width: 100%; 
        height: 100%;
        object-fit: cover; 
    }
}
@media(max-width:390px){
    .certificates__body {
        margin-top: 20px;
    }
}
/* @media(max-width:1020px){
    .certificates__body {
        flex-direction: column;
    }
} */
/* ----------------------------------------- */
.footer {
    background: url("../logo_img/footer_bc.svg") no-repeat;
    background-size: cover;
    width: 100%;
    overflow: hidden;
}
.container {
}
.footer__inner {
    padding: 60px 0;
}
.footer__name {
    margin-top: 60px;
    text-align: left;
    color:#fff;
    font-size: 20px !important;
}
.footer__body {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    gap: 30px;
}
.footer__item-list {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 15px;
}
.footer__item {
    color:#fff;
    display: flex;
    gap: 15px;
}
.footer__item-link {
    color:#fff;
    display: flex;
    gap: 15px;
}
.footer__item-logo {
    max-height: 16px;
}

.footer__item-text {
    font-size: 14px;
    font-family: "Afacad", serif;
    font-weight: 600;
    color:#fff;
    line-height: 150%; /* 24/16 */
}

@media(max-width:369px){
    .footer__item-list {

        gap: 10px;
    }
    .footer__body {

        gap: 10px;
    }

}
