@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Regular.ttf');
}

:root{
    --orange: #F7941E
}

a{
    text-decoration: none;
    color: inherit;
}

body{
    font-family: 'Gilroy';
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol{
    padding: 0;
    margin: 0;
}

.container{
    margin: 0 135px;
}

.title{
    font-size: 32px;
    line-height: 38px;  
    text-align: center;
}

.text{
    font-size: 18px;
    line-height: 135.94%;
    text-align: center;
}


.btn{
    border: 1px solid var(--orange);
    color: var(--orange);
    background-color: transparent;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 5px;
    
}

.btn_orange,
.btn:hover{
    background-color: var(--orange);
    color: #fff;
}

.btn_orange:hover{
    opacity: 0.8;
}

.btn_black{
    background: #231F20;
    color: #fff;
    border: 1px solid #231F20;
}
.btn_outline{
    color: #231F20;
    border: 1px solid #231F20;
    background-color: transparent;
}

.btn_menu{
    display: none;
}

.btn_black:hover,
.btn_outline:hover{
    opacity: 0.7;
    background-color: #fff;
    color: #231F20;
}

.header__top{
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__menu{
    display: flex;
    gap: 31px;
}



.header__bottom {
    background: #F1F1F2;
    display: flex;
}
.header__info {
    padding: 127px;
    flex-grow: 1;
}
.header__title {
    font-size: 56px;
    line-height: 69px;
    font-weight: bold;
    width: 75%;
}
.header__text {
    font-size: 20px;
    line-height: 140.62%;
    width: 80%;
    margin: 36px 0 52px;
}

.header__img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    flex-grow: 1;
}

.work{
    display: flex;
    background: #F1F1F2;
}

.work__img {
    height: 100%;
    flex-grow: 1;
    width: 100%;

}
.work__info {
    flex-grow: 1;
    padding: 127px;
}

.work__text {
    margin: 21px 0 35px;
}

.gifts{
    padding: 93px 0 136px;
}
.gifts__content{
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 64px;
}

.gifts__card{
    box-shadow : 10px 10px 15px rgba(0, 0, 0, 0.05);
}

.gifts__img{
    height: 270px;
    width: 270px;
    object-fit: cover;
}

.gifts__title{
    padding: 15px 15px 72px 15px;
    font-size: 24px;
}

.gifts__link{
    display: inline-block;
    padding: 0 15px 15px 15px;
    font-size: 14px;
}


.contact {
    background-color: var(--orange);
    padding: 81px 235px;
    display: flex;
    justify-content: space-between;
    align-items: center;

}
.contact__text {
    font-size: 32px;
    line-height: 140.62%;
}

.contact__text span{
    display: block;
    font-weight: normal;
}
.contact__btns {
    display: flex;
    gap: 35px;
}
.contact .btn {
    padding: 8px 25px;
    text-transform: uppercase;
}

.blogs{
    padding: 88px 0 80px;
}

.blogs__content {
    display: flex;
    margin-top: 71px;
    line-height: 140.62%;
}
.blogs__info {
    background-color: #231F20;
    color: #fff;
    flex-grow: 1;
    padding: 63px 78px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blogs__image{
    min-height: 370px;
    width: 400px;
    object-fit: cover;
}
.blogs__uptitle {
    font-weight: normal;
    font-size: 14px;
    line-height: 140.62%;
}
.blogs__title {
    margin: 27px 0 60px;
    font-size: 48px;
    line-height: 58px;
    width: 70%;
    line-height: 140.62%;
    font-weight: normal;
}

.blogs__link{
    font-size: 18px;
}


.blogs__cards {
    display: flex;
    margin-top: 40px;
    gap: 30px;

}
.blogs__card.active,
.blogs__card:hover {
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.05);
}


.blogs__card{
    padding: 48px;
}


.blog__card-title {
    font-size: 24px;
    font-weight: bold;
    width: 70%;
    line-height: 140.62%;
}
.blogs__card-text {
    font-size: 18px;
    line-height: 140.62%;
    margin: 24px 0 32px;
}
.blogs__card-link {
    line-height: 140.62%;
    font-size: 14px;
}

.footer {
}
.footer__menu {
    display: flex;
    justify-content: center;
    gap: 81px;
    border-bottom: 1px solid #000;
    padding-bottom: 43px;
    width: 80%;
    margin: 53px auto;
}
.footer__link {
    font-weight: bold;
}
.footer__logo {
    margin: 0 80px;
}

.footer__content {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 72px;
}
.footer__socials {
    height: 40px;
    width: 40px;
}

.footer__socials img{
    width: inherit;
    height: inherit;
    border-radius: 50%;
}

.footer__bottom {
    display: flex;
    justify-content: center;
    gap: 14px;
    padding-bottom: 35px;
}


/* MEDIA */

@media (max-width: 1400px){
    .header__info{
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 50%;
    }

    .header__info .btn,
    .work .btn{
        width: fit-content;
    }

    .header__img,
    .work__img{
        height: 500px;
        width: 50%;
        object-fit: cover;
    }
    
    .work__info{
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .work__info,
    .header__info{
        padding: 50px;
    }

    .container{
        margin: 0 70px;
    }

    .gifts__content{
        flex-wrap: wrap;
    }
}

@media (max-width: 1200px) {
    .contact{
        padding: 80px 130px;
    }
}

@media (max-width: 1000px){

    .header__img,
    .work__img{
        height: 400px;
        width: 50%;
    }

    .header__title{
        font-size: 38px;
        line-height: 110%;
    }

    .contact{
        padding: 70px;
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
    }

    .blogs{
        padding: 50px 0;
    }

    .blogs__info{
        padding: 30px;
    }

    .blogs__title{
        font-size: 32px;
        width: 100%;
        margin: 20px 0;
    }

    .blogs__content{
        margin-top: 30px;
    }

    .blogs__image {
        min-height: 300px;
        width: 300px;
    }    

    .blog__card-title {
        width: 100%;
    }

    .blogs__cards{
        flex-wrap: wrap;
    }

    .blog__card{
        padding: 32px;
    }

    .footer__logo{
        margin: 0;
    }



}

@media (max-width: 768px){
    .header__bottom{
        flex-wrap: wrap;
    }

    .work{
        flex-wrap: wrap-reverse;
    }

    .header__title{
        font-size: 26px;
    }

    
    .header__img,
    .work__img{
        height: 300px;
    }

    .header__info,
    .work__info{
        padding: 25px;
    }

    .header__text{
        margin: 20px 0;
        font-size: 16px;
    }

    .gifts{
        padding: 30px 0;
    }

    .title{
        font-size: 26px;
    }

    .text{
        font-size: 15px;
    }

    .gifts__content{
        margin-top: 30px;
    }

    .gifts__title {
        padding: 7px 7px 20px 7px;
    }

    .contact{
        padding: 40px;
    }

    .blogs__content{
        flex-wrap: wrap;
    }

    .blogs__image{
        width: 100%;
        height: 300px;
        min-height: 300px;
    }
    
    .footer__menu{
        gap: 30px;
        width: 100%;
    }
   
}


@media (max-width: 600px){
    .header__menu,
    .header__top .btn:not(.btn_menu){
        display: none;
    }

    .btn_menu{
        display: flex;
    }


    .blogs__image{
        min-height: 200px;
        height: 200px;
    }

    .blogs__title{
        font-size: 24px;
        margin: 10px 0;
    }

  

    .blogs__info {
        padding: 15px;
    }

    .blog__card-title{
        font-size: 18px;
    }

    .blogs__card-text{
        margin: 15px 0;
        font-size: 16px;
    }
}

@media (max-width: 480px){

    .header__top{
        padding: 20px;
    }

    .header__title,
    .header__text{
        width: 100%;
    }

    .header__img,
    .work__img{
        height: 200px;
    }

    .work__title{
        font-size: 25px;
    }

    .gifts__img{
        height: 200px;
        width: 100%;
    }

    .container{
        margin: 0 20px;;
    }

    .gifts__content{
        justify-content: unset;
    }

    .gifts__card{
        width: 100%;
    }

    .contact{
        padding: 25px;
    }

    .contact__btns{
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .contact__text{
        font-size: 22px;
    }

    .blogs__card{
        padding: 20px;
    }

    .blogs__title{
        font-size: 18px;
    }

    .blogs__link{
        font-size: 14px;
    }

    .blogs__card-text{
        font-size: 14px;
    }

    .blogs__cards{
        gap: 15px;
    }

    .footer__content{
        margin-bottom: 20px;
    }

    .footer__menu{
        margin: 20px 0;
        padding-bottom: 30px;
    }
    .footer__menu,
    .footer__content,
    .footer__bottom{
        flex-wrap: wrap;
    }

    .footer__content,
    .footer__menu{
        gap: 15px;
    }

    .footer__bottom{
        padding-bottom: 20px;
    }


}