/*global*/
* {
    box-sizing: border-box;
}

@font-face {
    font-family: 'Raleway';
    src: url('../font/Raleway-Regular.ttf') format('truetype');
}

body {
    padding: 0;
    margin: 0;
    background-color: #F4F6F5;
    font-family: 'Raleway', sans-serif;
}

p {
    padding: 0;
    margin: 0;
}

a {
    text-decoration-line: none;
}

/*main*/
#main {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

/*navbar*/
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

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

    height: 100px;
    padding: 0 60px;

    background-color: #E1EDE6;
    box-shadow: rgba(0, 0, 0, 0.16) 0 3px 6px, rgba(0, 0, 0, 0.23) 0 3px 6px;
    z-index: 100;
}

.navbar__link {
    display: flex;
    gap: 60px;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    color: #2C2D35;
}


.navbar a {
    color: #2C2D35;
}

.navbar__link a:hover {
    color: #376B44;
}

/*cards*/
#cards {
    padding: 0 60px;
}

#cards__box {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.card {
    display: flex;
    flex-direction: column;
    width: calc(90% / 3);
    min-width: 320px;

    gap: 10px;
    padding: 30px;
    background-color: #E1EDE6;
    border-radius: 2px;
    box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;

    @media (min-width: 600px) {
        width: calc(90% / 2);
    }
}

.card__img {
    margin: 0 auto;
    width: 300px;
    border-radius: 2px;
    transition: transform 0.5s ease-out;
}

/*.card:hover .card__img {*/
/*    transform: scale(1.06);*/
/*}*/


.card__title {
    margin-top: 15px;
    width: 300px;
    font-size: 30px;
    font-weight: 500;
    line-height: 36px;
}

.card__text {
    width: 300px;
    font-family: Raleway, sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
}

.card__price {
    margin-top: 5px;
    width: 300px;
    font-size: 24px;
    font-weight: 500;
    line-height: 28px;
    color: #598D66;
}

/*about*/
#about {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 200px;
    padding: 0 60px;
    font-size: 24px;
    font-weight: 500;
    line-height: 28px;
}
.about__title {
    font-size: 36px;
    font-weight: 700;
    line-height: 32px;
}


#about__text_box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 50%;
}

.about__img {
    max-height: 500px;
}

/*footer*/
#footer {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 30px 60px;
    margin-top: 100px;

    background-color: #E1EDE6;
}


.footer__social_links {
    display: flex;
}


.footer__social_links a {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-top: 20px;
    padding-top: 60px;

    color: #376B44;

    transition: background 0.5s ease-out;
}

.footer__social_links a:hover {
    color: #2C2D35;
}

.footer__link_tg {
    background: center / cover no-repeat url("../images/tg.svg");
}

.footer__link_tg:hover {
    background: center / cover no-repeat url("../images/tg_focus.svg");
}

.footer__link_whatsapp {
    background: center / cover no-repeat url("../images/whatsApp.svg");
}

.footer__link_whatsapp:hover {
    background: center / cover no-repeat url("../images/whatsApp_focus.svg");
}

/*popup*/
#popup {
    position: fixed;
    top: 0;
    left: 0;

    width: 100vw;
    height: 100vh;


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

    background-color: rgba(0, 0, 0, 0.5);

    z-index: 1000;
}

.popup__box {
    padding: 30px;

    height: 600px;
    width: 70vw;

    background-color: #E1EDE6;
}

.popup__img {
    width: 450px;
    height: 450px;
}
