* {
    font-family: "Roboto", sans-serif;

    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

button {
    border: none;
    outline: none;
}

.button {
    cursor: pointer;

    display: block;
    padding-block: 15px;
    padding-inline: 32px;
    border-radius: 5px;

    font-size: 18px;
    text-align: center;
    text-wrap: nowrap;

    color: #FFFFFF;
    background-color: #69B42E;

    transition: all 0.3s ease;

    &:hover {
        background-color: #80BF4D;
    }
}

.button-long {
    cursor: pointer;

    display: block;
    padding-block: 15px;
    border-radius: 5px;

    font-size: 18px;
    text-align: center;
    text-wrap: nowrap;

    color: #FFFFFF;
    background-color: #69B42E;

    transition: all 0.3s ease;

    @media screen and (min-width: 480px) {
        padding-inline: 32px;
    }

    &:hover {
        background-color: #80BF4D;
    }
}

.container {
    display: flex;
    flex-direction: column;

    max-width: calc(1168px + 112px);
    margin: 0 auto;
    padding-inline: 56px;

    @media screen and (max-width: 768px) {
        padding-inline: 32px;
    }

    @media screen and (max-width: 480px) {
        padding-inline: 16px;
    }

    @media screen and (max-width: 320px) {
        padding-inline: 12px;
    }
}

.header__background {
    position: absolute;
    z-index: -1;

    display: flex;
    justify-content: center;

    width: 100%;
    overflow-x: hidden;
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;

    height: 783px;

    @media screen and (min-width: 481px) {
        height: 1080px;
    }
    @media screen and (min-width: 1921px) {
        height: 1624px;
    }
}

.header__logo {
    margin-top: 41px;

    img {
        width: 194px;
    }

    @media screen and (min-width: 768px) {
        margin-top: 64px;
    }
}

.header__title {
    display: flex;
    flex-direction: column;

    margin-top: 43px;

    transform: rotate(-8deg);
}

.title {
    font-family: "FreeSet", sans-serif;
    font-size: 49px;
    font-weight: 600;
    line-height: 51px;

    text-align: center;

    color: #FFFFFF;
    opacity: 0;

    animation: fadeIn 0.2s ease forwards;

    @media screen and (min-width: 480px) {
        font-size: 72px;
        line-height: 76px;
    }
}

.title-long {
    font-family: "FreeSet", sans-serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 51px;

    text-align: center;

    color: #FFFFFF;
    opacity: 0;

    animation: fadeIn 0.2s ease forwards;

    @media screen and (min-width: 480px) {
        font-size: 43px;
    }    

    @media screen and (min-width: 768px) {
        font-size: 72px;
        line-height: 76px;
    }    
}

.title-1 {
    animation-delay: 0.7s;
}

.title-2 {
    animation-delay: 1.4s;
}

.title-3 {
    animation-delay: 2.1s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.header__button {
    margin-top: 44px;
}

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;

    margin-bottom: 64px;
    padding-top: 64px;

    @media screen and (min-width: 1280px) {
        flex-direction: row;
        justify-content: center;
    }
}

.product__description {
    display: flex;
    flex-direction: column;

    h3 {
        font-family: "FreeSet", sans-serif;
        font-size: 24px;
        font-weight: 600;
        line-height: 30px;

        color: #69B42E;
    }

    @media screen and (min-width: 1280px) {
        width: 768px;
    }
}

.product__description-list {
    margin-top: 32px;
    padding-left: 20px;

    li {
        padding-left: 7px;

        font-size: 18px;
        line-height: 24px;
    }
}

.product__description-info {
    position: relative;
    margin-top: 104px;
}

.product__description-info_img {
    position: absolute;
    top: -85px;
    right: 24px;

    height: 85px;

    img {
        height: 100%;
    }
}

.product__description-info_text {
    padding: 32px 24px;
    border: 1px solid #D2D2D2;
    border-radius: 32px;

    p {
        font-size: 18px;
        font-weight: 400;
        line-height: 24px;

        color: #69B42E;
    }
}

.product__card {
    display: flex;
    flex-direction: column;
    gap: 24px;

    width: 245px;
    padding: 32px 24px;
    border-radius: 20px;

    background-color: #F8F8F8;

    @media screen and (min-width: 480px) {
        gap: 32px;
        padding: 40px 32px;
        width: 300px;
    }
}

.product__card-top {
    position: relative;
}

.product__card-top_os {
    display: flex;
    flex-direction: column;
    gap: 8px;

    position: absolute;
    top: 0;
    left: -5px;

    padding: 6px 8px;
    border-radius: 5px;

    background-color: #F2F2F2;

    img {
        height: 24px;
    }
}

.product__card-top_img {
    text-align: center;
}

.product__card-bottom {
    display: flex;
    flex-direction: column;
    gap: 24px;

    @media screen and (min-width: 480px) {
        gap: 32px;
    }
}

.product__card-bottom_info {
    display: flex;
    flex-direction: column;
    gap: 8px;

    h3 {
        font-size: 18px;
        font-weight: 500;
        line-height: 22px;

        color: #000000;

        @media screen and (min-width: 480px) {
            font-size: 24px;
            line-height: 30px;
        }
    }

    p {
        font-size: 16px;
        font-weight: 400;
        line-height: 20px;

        color: #000000;

        @media screen and (min-width: 480px) {
            font-size: 18px;
            line-height: 24px;
        }
    }

    span {
        font-size: 16px;
        font-weight: 400;
        line-height: 20px;

        color: #666666;

        @media screen and (min-width: 480px) {
            font-size: 18px;
            line-height: 24px;
        }
    }
}

.product__card-bottom_price {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.old-price {
    text-decoration-line: line-through;

    font-size: 16px;
    font-weight: 500;
    line-height: 20px;

    color: #B3B3B3;

    @media screen and (min-width: 480px) {
        font-size: 18px;
        line-height: 24px;
    }
}

.new-price {
    font-family: "FreeSet", sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 22px;

    @media screen and (min-width: 480px) {
        font-size: 30px;
        line-height: 36px;
    }
}

.nds {
    font-size: 14px;
    line-height: 18px;
}

.conditions {
    margin-top: 32px; 
    margin-left: 5px;
}

.conditions__link {
    text-decoration: underline; 

    color: #69B42E;
}

.conditions__link:hover {
    text-decoration: none;
}