@keyframes none {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(0, 0);
    }
}


@media (max-width:1180px) {

    .header {
        display: grid;
        justify-content: center;
    }


    .up {
        width: 100%;
    }

    .content {
        display: grid;
        justify-content: center;
        align-items: center;
    }

    .cube {
        width: 100%;
        margin-left: 0;
        gap: 40px;
        background-color: aliceblue
    }

    .photo {
        grid-row: 1;
    }

    .normalText {
        grid-row: 1;
    }

    .button__top {
        border-radius: 0;
        width: 100%;
        font-size: 52px;
        height: 90px;
        font-weight: 700;
        background-color: #FFF;
    }
}

@media (max-width:1024px) {
    img {
        width: 100%;
        height: 100%;
        object-position: center;
        overflow: hidden;
        object-fit: cover;
    }

    .up {
        animation: none;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 2;
    }

    .header__burger-btn {
        display: flex;
        justify-self: center;
        align-items: center;
        z-index: 1;
    }

    .button__green-header {
        display: none;
    }

    .menu {
        display: none;
        /* width: 100%;
        height: 100%;
        position: absolute;
        left: 100%;
        top: 0;
        background-color: #000;
        padding: 100px 0px 20px 20px;
        z-index: 0;
        transition: transform .5s ease; */
    }

    /* .header.open .menu {
        display: block;
    } */

    .links {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    .link {
        color: #FFF;
        font-size: 22px;
        display: block;
        padding: 10px 0;
    }

    .link:hover {
        color: #009087;
    }

    .link:hover::after {
        width: 0%;
    }

    .header.open .menu {
        transform: translateX(-100%);
    }
}

@media (max-width:520px) {

    .cube,
    .boldText,
    .normalText {
        width: 100%;
        margin-top: 20px;
        text-align: center;
    }

    .boldText {
        font-size: 40px;
    }

    .button__top {
        font-family: 'Roboto';
        margin-bottom: 0;
        width: 100%;
        height: 80px;
        font-size: 30px;
        font-weight: 700;
        box-shadow: none;
        border-radius: 0;
        transform: translate(0, 10px);
    }

    .button__green.button__top {
        width: 100%;
    }

    .normalText {
        font-size: 16px;
    }
}