* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: auto;
    font-family: "Quicksand", serif;
}

img {
        max-width: 100%;
    }
  
.container {
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

.none {
    display: none !important ;
}

/* Flex-Box block .header */
.header {
    position: relative;
    width: 100%;
    min-height: 100vh;
    height: auto;
    background-image: url("img/Header/Header-bg.png");
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Обрезает фон, выходящий за границы */
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    background-image: url("img/Header/Header-bg.png"); /* Укажите правильный путь к изображению */
}

.header-content {
    position: relative;
    color: white;
    text-align: center;
    z-index: 1; /* Контент располагается поверх изображения */
}

    /*
    background-image: url("img/Header/Header-bg.png");
    background-size: cover;
    background-position: center;
    padding: 20px;
    box-sizing: border-box;
    */  

.header_title {
    margin: 0;
    font-family: "Nunito", serif;
    text-align: center;
    color: white;
    font-size: 56px;
    line-height: 150%;
}

.header_subtitle {
    margin: 0;
    font-family: "Nunito", serif;
    text-align: center;
    color: white;
    font-size: 16px;
    line-height: 150%;
    text-transform: uppercase;

    
}

.header_subtitle_2 {
    margin-top: 5px;
    font-family: "Nunito", serif;
    text-align: center;
    color: white;
    font-size: 25px;
    line-height: 150%;
}

.header-arrow {
    width: 48px;
    height: 48px;
    position: absolute;
    bottom: 10px;
    left: 50;
    transform: translate(-50, 0);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    
    }

    .header-arrow:hover {
        box-shadow: 0 0 15px 10px rgba(255, 255, 255, 0.9); /* Более яркое свечение */
        transition: box-shadow 0.3s ease-in-out; /* Плавный переход */
        transform: scale(1.1) rotate(5deg);
    }

    /*DIV PORTFOLIO*/

    .portfolio {
        padding-top: 10px;
        padding-bottom: 115px;
    }

    .section-header {
        font-weight: 700;
        font-size: 40px;
        line-height: 130%;
        text-align: center;
        color: black;
    }

    .portfolio-class-wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 20px;
    }

    .card {
    margin-bottom: 20px;
    max-width: 540px;
    background-color: white;
    box-shadow: 0px 20px 40px rgba(85, 106, 131, 0.35);
    border-radius: 20px;

    /* Плавный переход для эффекта увеличения */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card-link {
        display: block;
        padding: 20px;
        text-decoration: none;
        color: black;
        transition: color 0.2 ease-in;
        
    }

    .card-link:hover {
        color: rgb(39, 91, 236)
    }

.card:hover {
    transform: scale(1.05); /* Увеличение на 5% */
    box-shadow: 0px 30px 50px rgba(85, 106, 131, 0.5); /* Усиление тени при наведении */
    transform: scale(1.1) rotate(-2deg); /* Увеличение с лёгким вращением */
}

    .card:last-child, .card:nth-last-child(2) {
        margin-bottom: 0;
    }

    .card-img {
        display: block;
        width: 100%; /* Изображение подстраивается под карточку */
        height: auto; /* Сохраняем пропорции */
        border-radius: 20px;
    }

    .card-title {
        margin: 0;
        margin-bottom: 13px;
        font-weight: 600;
        font-size: 24px;
        line-height: 130%;
        
    }

    .card p {
        margin: 0;
        font-size: 16px;
        line-height: 130%;
        
    }
    
    /* // DIV PORTFOLIO*/

    /* footer */

    .footer {
        padding-top: 45px;
        padding-bottom: 130px;
        background: #70b4cf;
        color: white;
        
    }

    .footer-row {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-copyright {
        max-width: 350px;
        flex-grow: 1;
        color: #20353d;
        line-height: 1.3;
    }

    .footer-copyright-name {
        font-weight: 700;
        font-size: 28px;
        line-height: 130%;
        margin-bottom: 15px;
    }

    .footer-copyright-name p {
        margin: 0;
        margin-bottom: 15px;
        font-weight: 600;
        font-size: 16px;
        line-height: 130%;
    }

    .footer-icons {
        max-width: 350px;
        
    }

    .footer-icons p {
        font-weight: 600;
        font-size: 16px;
        line-height: 1.3%;
    }

    .footer-icons-row {
        display: flex;
        align-items: center;

    }

    .footer-icons-row > * + * {
        margin-left: 5px;

    }

    .footer-contact {
        max-width: 350px;
        flex-grow: 1;
        
    }

    .footer-bottom {
        display: inline-block;
        height: 50px;
        padding-left: 30px;
        padding-right: 30px;
        padding-top: 11px;
        flex-grow: 1;

        font-weight: 700;
        font-size: 16px;
        line-height: 130%;

        border: 3px solid white;
        border-radius: 50px;
        color: white;
        text-decoration: none;

        /* Плавный переход для эффекта увеличения */
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .footer-bottom:hover {
        
        box-shadow: 0px 30px 50px rgba(85, 106, 131, 0.5); /* Усиление тени при наведении */
        transform: scale(1.1) 
    }

    .footer-contact p {
        margin: 15px 0;
        font-size: 16px;
        line-height: 120%;
        color: #20353d;
    }

    /* // footer */


    /* PROJEKT */
    .projekt {
        padding-top: 80px;
        padding-bottom: 120px;
        text-align: center;
    }
    
    .projekt-header {
        margin: 0;
        margin-bottom: 40px;
        font-weight: bold;
        font-size: 46px;
        line-height: 1.3;
    }
    
    .projekt-img {
        
        margin-bottom: 70px;
        size: 20px;
    }

    .fara-img {
        display: block;
        margin: 0 auto;
        width: 920px;
        height: auto;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        border-radius: 20px;
    }

    .projekt-discription {
        margin: 0 auto 60px;
        min-width: 100%;
    }

    .projekt-discription p {
        margin-top: 0;
        margin-bottom: 15px;
        font-size: 18px;
        line-height: 1.5;
    }

    .project-bottom-back {
        display: inline-block;
        height: 60px;
        padding-left: 30px;
        padding-right: 30px;
        padding-top: 11px;
        flex-grow: 1;

        font-weight: 700;
        font-size: 16px;
        line-height: 35px;

        border: 3px solid blue;
        color: blue;
        border-radius: 50px;
        
        text-decoration: none;

        /* Плавный переход для эффекта увеличения */
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .project-bottom-back:hover {
        
        box-shadow: 0px 30px 50px rgba(85, 106, 131, 0.5); /* Усиление тени при наведении */
        transform: scale(1.1) 
    }
    