:root {
	--main: #444;
    --white:#fff;
    --c-main: #62309A;
}
script[data-cms],
.cms-placeholder{
    display: none !important;
}
.container{
    margin:0 auto;
    width: 100%;
    max-width: 1200px;
}
.category{
    margin: 3rem auto;
    border-radius: 1rem;
    box-shadow: 25px 25px 41px #969696, -25px -25px 41px #ffffff;
}
.category .device{
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 1rem;
}
.device img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.device .text{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.device .text h1{
    font-size: 12rem;
    font-weight: 900;
    color: var(--white);
}
.device .text p{
    color: #fff;
    font-size: 3rem;
    float: right;
}
.contacts h3{
    color: var(--c-main);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 3rem;
    text-align: center;
    margin: 7rem auto;
}
.hookah-location,
.puff-location{
    display: grid;
    grid-template-columns: 30% auto;
    min-height: 500px;
    border-radius: 1rem;
    color: #e2e2e2;
    overflow: hidden;
    box-shadow: 25px 25px 41px #969696, -25px -25px 41px #ffffff;
    margin-bottom: 7rem;
}
.hookah-location .image,
.puff-location .image{
    background-color: var(--c-main);
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hookah-location .image{
    background-color: var(--c-main);
}
.puff-location .image{
    background-color: var(--main);
}
.hookah-location .image img,
.puff-location .image img{
    width: 60%;
}
.logos{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 7rem;
    justify-content: center;
    align-content: center;
    row-gap: 7rem;
    padding: 5rem;
}
.logos > *{
    width: calc(50% - 5rem);
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
    text-align: center;
    justify-content: space-between;
}
.logos figcaption{
    color: var(--light-grey);
}
.contact{
    display: grid;
    grid-template-columns: 40% auto;
    background-color: var(--c-main);
    color: var(--white);
    column-gap: 5rem;
    border-radius: 1rem;
    overflow: hidden;
}
.contacts-info{
    display: flex;
    flex-direction: column;
    row-gap: 7rem;
    padding: 5rem;
}
.contacts-info h2{
    font-weight: 300;
    font-size: 5rem;
}
.contact-list{
    display: flex;
    flex-direction: column;
    row-gap: 5rem;
    font-size: 2rem;
    margin-left: 1.5rem;
}
.contact-list div{
    display: flex;
    align-items: center;
}
.contact-list div i{
    position: relative;
    z-index: 1;
    color: var(--c-main);
    font-size: 3rem;
}
.contact-list div i:after{
    content: "";
    position: absolute;
    width: 5rem;
    height: 5rem;
    background: var(--white);
    left: 50%;
    z-index: -1;
    border-radius: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.contact-list div a {
    margin-left: 3rem;
    font-weight: 600;
    color: var(--white);
    transition: all .3s;
}
.contact-list div a:hover{
    opacity: .7;
    margin-left: 3.3rem;
}
.contact-form{
    position: relative;
    padding: 5rem;
    background-color: var(--c-main);
    background-image: url('../img/umbra_pattern.svg');
    background-repeat: no-repeat;
    background-position: top left;
    background-size: cover;
    background-blend-mode: soft-light;
    height: 100%;
    display: flex;
    align-items: flex-end;
    width: 100%;
}
.contact-form img{
    position: absolute;
    width: auto;
    top: 5rem;
    margin-right: 5rem;
}
.contact-form form{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 2rem;
    width: 100%;
}
.contact-form form label{
    height: max-content;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.3rem;
}
.contact-form form > *:nth-child(3){
    grid-row: 1;
    grid-column: 1;
}
.contact-form form > *:nth-child(4){
    grid-row: 2;
    grid-column: 1;
}
.contact-form form > *:nth-child(5){
    grid-row: 1;
    grid-column: 2;
}
.contact-form form > *:nth-child(6){
    grid-row: 2;
    grid-column: 2;
}
.contact-form form input,
.contact-form form textarea{
    padding: 1.5rem;
    border-radius: 1rem;
    color: var(--light-grey);
    font-size: 1.5rem;
    border-color: transparent;
    width: 100%;
}
.contact-form form textarea{
    width: 100%;
    grid-column: 1/3;
    resize: none;
}
.contact-form form button{
    color: var(--white);
    background: var(--grey);
    border: none;
    padding: 2rem 3.5rem;
    border-radius: 3rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: 300;
    margin: 0 auto;
    grid-column: 1/3;
    cursor: pointer;
    transition: background .2s;
}
.contact-form form button:hover{
    background: var(--intense);
}
/* footer */
footer{
    width: 100vw;
    background: var(--intense);
    position: relative;
    height: 7rem;
    bottom: -7rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
footer img{
    position: relative;
    height: 25%;
    opacity: 0.5;

}
@media only screen and (max-width: 1200px){
    .container{
        width: 90%;
    }
}
@media only screen and (max-width: 600px){
    .container{
        width: 95%;
    }
    .hookah-location, .puff-location{
        grid-template-columns: 1fr;
        margin: 0 auto 7rem;
    }
    .hookah-location .image,
    .puff-location .image{
        height: 250px;
    }
    .logos > *{
        width: 100%;
    }
    .contact-form img{
        display: none;
    }
    .contact{
        display: flex;
        flex-direction: column;
        margin: 0 auto;
        grid-template-columns: 1fr;
        box-shadow: 25px 25px 41px #969696, -25px -25px 41px #ffffff;
    }
    .contacts-info{
        text-align: center;
    }
    .contact-form{
        padding: 5rem 1rem;
    }
    .contact-list{
        align-items: center;
        flex-direction: row;
        gap: 3rem;
        font-size: 1.5rem;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .contact-list div i {
        font-size: 2rem;
    }
    .contact-list div i::after{
        width: 3.5rem;
        height: 3.5rem;
    }
    .contact-list div a {
        margin-left: 2rem;
    }
}
