@font-face{
    font-family: 'Bebas Neue';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/BebasNeue-Regular.ttf')
}
@font-face{
    font-family: 'Mukta';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/Mukta-Regular.ttf')
}

:root{
    --COLOR-YELLOW: #fed73a;
}
*{
    margin: 0;
    padding: 0;
}

html{
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body{
    background-color: var(--COLOR-YELLOW);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    overflow-x: hidden;
}

.separator{
    --SEPARATOR-COLOR: #0008;
    filter: blur(1.5px);
    width: 100%;
    height: 2px;
    background: linear-gradient(.25turn, #0000, var(--SEPARATOR-COLOR), var(--SEPARATOR-COLOR), #0000);
    border-radius: 100%;
    z-index: -10;
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.separator::after{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 100%;
    margin-left: auto;
    width: auto;
    height: 100%;
    background-color: var(--COLOR-YELLOW);
    transition: left .7s ease-in-out;
}

.separator.inactive::after{
    left: 0;
}

/* To Top Button */
.to-top{
    position: fixed;
    z-index: 100;
    bottom: 2rem;
    right: 2rem;

    width: 2.5rem;
    height: 2.5rem;

    background-color: #666;
    mask: url('/src/images/icons/arrow.svg') no-repeat center center;
    -webkit-mask: url('/src/images/icons/arrow.svg') no-repeat center center;
    cursor: pointer;
}

/* Header */

.header{
    background: linear-gradient( rgba(256, 256, 256, 0.1), rgba(0, 0, 0, 0.3) ), url('images/header5.png') no-repeat center bottom fixed;
    background-size: cover;
    background-position: top center;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    place-items: center;
    box-shadow: 0px 3px 4px rgba(0,0,0,0.5);
    /* height: 50vh; */
    width: 100%;
    height: 100vh;
    /* transition: height 999999s; */
    z-index: 101;
}

.header::before{
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,.25);
    filter: blur(40px);
}

.header-text{
    z-index: 1;
    font-family: 'Bebas Neue';
    font-size: 40px;
    text-align: center;
    letter-spacing: 1px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    place-items: center;
    color: #fff;
    text-shadow: 1px 1px 5px #000,
                1px -1px 5px #000,
                -1px 1px 5px #000,
                -1px -1px 5px #000;
}


.header-text h1, p, a{
    padding-left: .5em;
    padding-right: .5em;
}

.header-text p{
    font-size: .8em;
}

.header-text .header-tel{
    position: relative;
    display: flex;
    flex-direction: row;
    place-items: center;
    top: 15%;
    z-index: 1;
    /* margin-top: 2px; */
}

.header-text .header-tel img{
    width: 1em;
    aspect-ratio: 1;
}

.header-text .header-tel a{
    text-decoration: none;
    color: inherit;
    padding-left: .4em;
}

@media (max-width: 770px){
    .header-text{
        font-size: 34px;
    }
}

@media (max-width: 530px){
    .header-text{
        font-size: 28px;
    }
}

/* Main */
main{
    font-family: 'Mukta';
    max-width: 1200px;
    height: 100%;
    margin-top: 5rem;
    margin-bottom: 5rem;
}

main section{
    margin-bottom: 2rem;
}

main section h1{
    font-size: 50px;
    text-align: center;
    width: 100%;
    height: 100%;
}

/* Introduction */

/* Services */
.services{
    padding-left: 1em;
    padding-right: 1em;
}

.services h1{
    text-align: center;
}


.services .services-list{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
}

.services .service{
    width: 40%;
    display: grid;
    grid-template-columns: 4em auto;
    grid-template-rows: auto;
    gap: 1em;
    margin-left: 1em;
    margin-bottom: 1em;
    padding: 1em;
    place-items: center;
    transform: translateY(0);
    opacity: 1;
    transition: opacity .7s ease-out,
                transform .7s ease-out;
    /* background: red; */
}

.services .service.inactive{
    opacity: 0;
    transform: translateY(150%);
}


@media (max-width: 770px) {
    .services .service{
        width: auto;
    }
  }

.service .service-icon{
    width: 4em;
    aspect-ratio: 1;
    /* background: green; */
}

.service .service-text-container{
    /* background: red; */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
}

/* Images */
.contacts{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

.contacts .contacts-item{
    /* background: red; */
    width: 300px;
    border-radius: 1em;
    padding: 1em;
    margin: 2em 2em 3em 2em;

    background: rgba(255,255,255,.15);
    box-shadow: 10px 15px 10px rgba(0, 0, 0, 0.3);
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    text-align: center;    
    transform: translateY(0);
    opacity: 1;
    transition: opacity 1s ease-out,
    transform 1s ease-out;
    /* background: red; */
}

.contacts .contacts-item.inactive{
    opacity: 0;
    transform: translateY(150%);
}

.contacts-item .contacts-item-image-container{
    width: auto;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* background: rgba(255, 255, 255, 0.3); */

    background-position: center center;
    background-size: cover;

    box-shadow: inset 0px 0px 10px rgba(0,0,0,0.5);

    overflow: hidden;
    border-radius: 50%;

    margin: 1em;
 }

.contacts-item .contacts-item-image-container img{
    height: 100%;
}
/*
.contacts-item .contacts-item-image-container img::before{
    content: '';
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    top: 0;
    left: 0;
    z-index: 100;
    background: red; 
}*/
.contacts .contacts-item h1{
    font-size: 32px;
    line-height: 1;
    /* background: purple; */
}

.contacts .contacts-item h2{
    font-size: 22px;
    font-weight: 400;
    line-height: 1.5;
    margin-top: .2em;
    /* line-height: 2; */
    /* font-style: italic; */
    /* background: purple; */
}

.contacts .contacts-item .contacts-tel{
    display: flex;
    flex-direction: row;
    place-items: center;
    justify-content: center;
    font-size: 26px;
    margin-top: 0;
    /* background: red; */
}

.contacts .contacts-item .contacts-tel img{
    width: 1em;
    aspect-ratio: 1;
}

.contacts .contacts-item .contacts-tel a{
    text-decoration: none;
    color: inherit;
    padding-left: .4em;
}


/* Gallery */
.gallery {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    aspect-ratio: 4/3;
}


@media (max-width: 730px) {
    .gallery {
        max-width: 500px;
    }
}

@media (max-width: 520px){
    .gallery {
        max-width: 400px;
    }
}

@media (max-width: 420px){
    .gallery {
        max-width: 340px;
    }
}

.gallery .gallery-element{
    width: 100%;
    opacity: 1;
    transform: scale(1);
    transition: opacity .6s ease-in-out,
    transform .6s ease-in-out;
}

.gallery .gallery-element.inactive{
    opacity: 0;
    transform: scale(.25);
    
}

/* Info section */
.info{
    width: initial;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 2em;
    padding: 2em;
    align-items: flex-start;
    z-index: 1;
}

.info .info-element{
    background: rgba(255,255,255,.15);
    box-shadow: 10px 15px 10px 0px rgba(0,0,0,0.5);
    overflow: hidden;
    border-radius: .5em;
    opacity: 1;
    transform: scale(1);
    transition: opacity .6s ease-in-out,
                transform .6s ease-in-out;
    /* background: red; */
}

.info .info-element.inactive{
    opacity: 0;
    transform: scale(.25);
}

/* Facebook embed */
.facebook-embed{
    width: 340px;
    height: 500px;
    padding: 0;
    margin: 0;
}

.facebook-embed iframe{
    margin: 0;
}

/* Map */
.map{
    margin: 0;
    top: 0;
}

.map .mapouter {
    position: relative;
    text-align: right;
    width: 600px;
    aspect-ratio: 6/5;
}
.map .gmap_canvas {
    overflow: hidden;
    background: none !important;
    width: inherit;
    aspect-ratio: 6/5;
}

.map .gmap_canvas iframe{
    width: inherit;
    aspect-ratio: 6/5;
}

@media (max-width: 896px){
    .map .mapouter{
        width: 340px;
    }
    .info {
        flex-direction: column;
        align-items: center;
    }
}
/* Footer */
.footer{
    text-align: left;
    width: 100%;
}

.footer .copyright{
    position: relative;
    bottom: .5em;
    left: .5em;
    font-weight: 800;
    font-family: 'Mukta';
}