*, ::before, ::after{
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Manrope', sans-serif;
}

.container {
    width: clamp(343px, 80%, 1112px);
    margin: 0 auto;
    padding-top: 1.5rem;    
}



.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    
}

.images {
    width: 64px;
    height: 64px;
}

.menu {
    display: flex;
    gap: 1rem;
    justify-content: right;
    z-index: 1;

}

.menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #5E607A;
    font-size: 1rem;
    line-height: 26px;
}

menu li a:hover {
    border-bottom: 1px solid #5E607A;
    transform: scale(1.4);
}

.main {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.one {
    display: flex;
    flex-direction: column;
    width: 65%;
    gap: .5rem;
}

.one .image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 4.5rem;
    text-transform: uppercase;
    font-weight: 900;
    font-style: italic;
    color: #2b846a;
    margin: 0;
}

.description {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;

}

.description p {
    font-size: 1.7rem;
    text-transform: uppercase;
    line-height: 1.8em;
    color: #5E607A; 
}

.cta-button {
    background-color: #4cb695;
    color: whitesmoke;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
}

.cta-button:hover {
    background-color: whitesmoke;
    color: #4cb695;
}

.two {
    background-color: #4cb695;
    padding: .5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
    border-radius: 4px;
}

.two h2 {
    color: white;
    font-size: 2rem;
    line-height: 2rem;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 1.5em;
}

.info:first-child {
    padding-bottom: 1rem;
    border-bottom:  1px solid #5E607A;
    margin-bottom: 1rem;
}

.info:last-child {
    margin-bottom: 1rem;
    text-align: center;
}

.payment-btns {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.payment-btn {
    display: block;
    background-color: #fff;
    color: #1c1c1c;
    border: none;
    padding: .5rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    
    cursor: pointer;
    border-radius: 30px;
    text-decoration: none;
}

.payment-btn:hover{
    transform: scale(1.2);
    color: #2b846a;
}

.info h3 {
    color: #fff;
    font-size: 1.5rem;
    line-height: 2rem;
    margin: 2em 0 0;
    text-transform: uppercase;
}

.info p {
    color: whitesmoke;
    font-size: 1rem;
    line-height: 26px;
    margin: 0;
    font-weight: 600;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;

}

.item img {
    width: 100px;
    height: 129px;
}

.more-info{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
    
}

.more-info h2 {
    color: #4cb695;
    font-size: 2rem;
    line-height: 2rem;
    margin: 0;
}

.more-info h3 {
    color: #2D3142;
    font-size: 1.125rem;
    line-height: 1.5rem;
    margin: 0;
}

.more-info p {
    color: #5E607A;
    font-size: 1rem;
    line-height: 26px;
    margin: 0;
}


.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    height: 70%;
    width: 80%;
    border-radius: 5px;
    box-shadow: 0px 0px 6px 2px #666;
    background-color: #fff;
    color: #00001a;
}

.modal-inner {
    width: 290px;
    margin: 0 auto;
}

fieldset {
    
    padding: 1rem;
    width: 80%;
    margin: 0 auto;
    

    display: flex;
    flex-direction: column;

}

fieldset label {
    color: #00001a;
    font-size: 1rem;
    font-weight: 900;
    line-height: 2.5rem;
}

fieldset label:hover {
    color: #F15D51;
    cursor: pointer;
}

.modal-inner-loading {
    text-align: center;
}

.close-modal-btn-container {
    text-align: right;
    margin: 9px;
}

.close-modal-btn {
    font-size: 2.5rem;
    cursor: pointer;
    font-weight: bold;
    border: 1px solid transparent;
    color: #00001a;
    background: none;
}

.modal-close-btn:hover,
.modal-close-btn:active {
    color: red;
    cursor: pointer;
}

@media (max-width: 768px){
    .main {
        flex-direction: column;
        gap: 1rem;
    }

    .one {
        width: 100%;
    }

    .two {
        width: 100%;
    }

    .text {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    
}

@media (max-width: 600px){
    .menu {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .menu.open {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        position: absolute;
        top: 80px;
        right: 20px;
        background-color: #fff;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
}

.slider-container {
    width: clamp(343px, 80%, 1112px);
    margin: 0 auto;
    margin-top: 3rem;
    
}

.slider-viewport {
    max-width: 850px;
    /*overflow: hidden;*/
    margin: 0 auto;

    
}

.slides-track {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /*transition: transform 0.5s ease;*/
}

.slide {
    flex: 1 0 100%;
    height: 70vh;
    background-color: #4cb695;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 3rem;
    padding: .5rem 1.5rem;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px;


}

.slide img {
    width: 60%;
    height: 90%;
    object-fit: cover;
    border-radius: 12px;
}

.slide-text {
    display: flex;
    flex-direction: column;
    width: 40%;
    height: 90%;
    

}

.slide-text p {
    font-size: 1rem;
    font-weight: 600;
    font-style: italic;
    line-height: 1.4rem;
    color: whitesmoke;
    opacity: 0.95;
}

.slide-text h3 {
    color: #fff;
    font-weight: 900;
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.5rem;
    text-align: center;
}

.slide-text h3::first-letter {
    font-family: 'Monomakh', sans-serif;
    font-size: 3rem;

}

.btns {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.arrow-btn {
    background: #4cb695;
    color: #fff;

    border: 1px solid #fff;
    font-size: 1.5rem;
    font-weight: 900;
    
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease;

    padding: 0;

    width: 50px;
    height: 50px;

    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.arrow-btn:hover {
    background: whitesmoke;
    color: #4cb695;
}

@media (max-width: 700px) {
    .slider-viewport {
        max-width: 650px;
    }

    .slide {
        flex-direction: column;
        height: auto;
        padding: 1rem;
    }

    .slide img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .slide-text {
        width: 90%;
        height: auto;
    }   
}


.pay-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2em 0 2em;
}

.btn-paid {
    font-size: 1em;
    padding: .5em 1em;
    background: #2b846a;
    color: white;
    flex: 0 0 20%;
    box-shadow: 2em;
}

.footer {
    margin-top: 3em;
    margin-bottom: 3em;
    padding: 2em 0;
    background: #2b846a;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;

    border-radius: 12px;

}

.footer i {
    font-size: 3rem;
    color: #fff;
}

.footer a:hover {
    transform: scale(1.2);
}

.contact-card {
    text-align: center;
    background-color: whitesmoke;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 1em 0;
    margin: 1em 0 1em;
}

.mail-direction {
    font-size: 1.1rem;
    line-height: 1.5;
}

.mail-direction:hover {
    transform: scale(1.5);
    color: #1c1c1c;
    border: 1px solid #00001a;
    padding: .5em 1em;
    background: #fff;
    border-radius: 30px;
}

.contact-card h2:last-of-type {
    margin-top: 3em;
}

.social-media-buttons {
    width: 100%;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.direction-to-social-net {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;

    background: white;
    border: 1px solid #5E607A;
    width: 80%;

    border-radius: 30px;

    text-transform: lowercase;

} 

.direction-to-social-net {
    margin-bottom: 1em;
}


.direction-to-social-net:hover {
    color: #fff;
    background-color: #5E607A;
}

/*@media (max-width: 850px) {
    .direction-to-social-net {
        width: 80%;
    }

}*/

.payment-choice {
    display: flex;
    gap: 1em;

    margin-top: 2em;
}

.info-payment {
    border: 1px solid #2b846a;
    width: 50%;

    
    padding: 1em;
    border-radius: 12px;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
}

.green {
    color: #fff;
    background: #2b846a;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: .5rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    
    cursor: pointer;
    border-radius: 30px;
    text-decoration: none;
}

.green:hover {
    color: #2b846a;
    background-color: #fff;
    border: 1px solid #2b846a;
}

@media (max-width: 700px) {
    .payment-choice {
        flex-direction: column;

    }

    .info-payment {
        width: 100%;
    }
}