/*---basic---*/

*{
    font-family: 'Ubuntu', sans-serif;
    scroll-behavior: smooth;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

p, h1, h2, h3{
    color: rgb(50,50,50);
}

span{
    font-weight: bold;
    color: rgb(227,6,19);
}

.section{
    margin: 75px 0;
}

.d-large{
    display: block;
}

.d-small{
    display: none;
}

.center{
    display: flex;
    justify-content: center;
}

#btt_button{
    cursor: pointer;
    position: fixed;
    z-index: 9999;
    opacity: 0;
    left: 3%;
    bottom: 3%;
    transition: all .5s ease;
}

.line_white{
    width: 100%;
    height: 2px;
    background-color: rgb(255,255,255);
}

.line_red{
    width: 100%;
    height: 2px;
    background-color: rgb(227,6,19);
}

.line_darkgray{
    width: 100%;
    height: 2px;
    background-color: rgb(111,111,111);
}

/*---basic_end---*/

.logo_background{
    position: fixed;
    z-index: -1;
    width: 20%;
    right: 5%;
    bottom: 5%;
}

/*---header---*/

.header_pos{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0;
}

.header_logo{
    margin: 0;
    width: 115%;
}

/*---nav---*/

nav ul{
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

nav li{
    text-align: center;
    list-style: none;
    width: 150px;
    padding: 5px 0;
    transition: all 0.5s ease;
}

nav li:hover{
    background-color: rgb(227,6,19);
}

nav li:hover a{
    color: rgb(255,255,255);
}

nav a,
nav a:hover{
    text-decoration: none;
    font-weight: bold;
    color: rgb(87,87,87);
    transition: all 0.5s ease;
}

/*---nav_end---*/

.header_contact-icon{
    margin: 0 15px;
    padding: 0;
    transition: all 0.25s ease;
}

.header_contact-icon:hover{
    transform: scale(1.1);
    background-color: rgb(255,255,255);
}

.gray_field-pos{
    position: absolute;
    width: 54.5%;
    right: 0;
}

.gray_field{
    height: 5px;
    margin-top: 10px;
    background-image: linear-gradient(to right,
    #a7a7a7, #fff, #a7a7a7, #fff, #a7a7a7);
}

.banner img{
    width: 100%;
}

/*---header_end---*/

/*---content---*/

.sec01 h1,
.sec03 h1,
.sec05 h1{
    text-align: center;
}

.sec01_graphic,
.sec03_graphic,
.sec05_graphic{
    margin: 35px 0;
}

.sec01_graphic img,
.sec03_graphic img,
.sec05_graphic img{
    width: 100%;
}

.sec01_row{
    display: flex;
    justify-content: space-between;
    margin: 50px 0;
}

.sec01_item p{
    text-align: center;
    font-size: 22px;
    margin-top: 25px;
    margin-bottom: 0;
}

.sec02{
    display: flex;
    overflow: hidden;
}

.sec02_item_txt-pos,
.sec02_item_pic{
    width: 50%;
}

.sec02_item_txt-pos{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(87,87,87);
}

.sec02_item_txt{
    width: 50%;
}

.sec02_item_txt h1,
.sec06 h1{
    text-align: center;
    margin-bottom: 25px;
}

.sec02_item_txt span{
    color: rgb(255,255,255);
}

.sec02_item_txt p{
    color: rgb(255,255,255);
    margin-top: 25px;
}

.sec02_item_pic img{
    width: 100%;
}

.sec03 a{
    font-weight: bold;
    background-color: rgba(227,6,19,0.5);
    color: rgb(255,255,255);
    padding: 10px 25px;
    margin: 25px 0;
    transition: all 1s ease;
}

.sec03 a:hover{
    text-decoration: none;
    color: rgb(255,255,255);
    background-color: rgba(227,6,19,1);
}

.sec04{
    background-color: rgb(178,178,178);
    padding: 50px 0;
}

.sec04_row{
    display: flex;
    justify-content: center;
    margin: 50px 0;
}

.sec04_item{
    width: 20%;
    margin: 0 35px;
}

.sec04_item img{
    width: 100%;
}

.sec04_item-txt{
    background-color: rgb(255,255,255);
    padding: 50px 20px;
}

.sec04_item-txt h2{
    margin-bottom: 25px;
}

.sec04_item-txt p{
    margin-top: 25px;
    margin-bottom: 0;
}

.gallery{
    margin: 50px 0;
}

.gallery_row{
    display: flex;
    justify-content: center;
    width: 100%;
}

.gallery_row-mobile{
    display: flex;
    width: 50%;
}

.gallery_item{
    width: 50%;
    margin: 10px;
    overflow: hidden;
}

.gallery_item img{
    width: 100%;
    transition: all 1s ease;
}

.gallery_item:hover img{
    transform: scale(1.1);
}

.sec06{
    background-color: rgb(87,87,87);
    padding: 100px 0;
}

.sec06 span{
    background-color: rgb(255,255,255);
    padding: 10px;
}

.sec06 .line_white{
    width: 50%;
    margin-bottom: 25px;
}

.sec06_txt{
    display: flex;
    justify-content: center;
}

.sec06_txt_item{
    margin: 0 50px;
}

.sec06_txt_item h3{
    font-weight: bold;
    color: rgb(255,255,255);
}

.sec06_txt_item p{
    color: rgb(255,255,255);
    margin-bottom: 50px;
}

.sec06_txt_item a,
.sec06_txt_item a:hover{
    text-decoration: none;
    font-weight: bold;
    color: rgb(255,255,255);
}

form{
    display: flex;
    justify-content: center;
}

.form_block{
    margin: 0 25px;
}

input,
textarea{
    display: block;
    width: 300px;
    height: 50px;
    padding-left: 15px;
    background-color: rgb(87,87,87);
    border: 3px solid rgb(178,178,178);
    border-radius: 5px;
}

textarea{
    height: 130px;
    padding-top: 15px;
}

input[type=checkbox]{
    height: 10px;
    margin-bottom: 10px;
}

.form_block p{
    text-align: center;
    width: 300px;
    color: rgb(255,255,255);
    margin-top: 0;
    margin-bottom: 25px;
}

::placeholder{
    color: rgb(178,178,178);
}

button{
    background-color: rgb(255,255,255);
    border: none;
    padding: 10px 25px;
    margin: 0px;
}

iframe{
    width: 100%;
    height: 500px;
    border: none;
    margin: 0;
    margin-bottom: -10px;
    padding: 0;
}



/*---content_end---*/

/*---footer---*/

.footer_content{
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: rgb(178,178,178);
    padding: 35px 0;
}

.footer_content p,
.footer_content a,
.footer_content a:hover{
    text-decoration: none;
    color: rgb(227,6,19);
    margin: 0;
}

.footer_bottom{
    text-align: center;
    background-color: rgb(87,87,87);
    padding: 10px 0;
}

.footer_bottom p{
    color: rgb(255,255,255);
    margin: 0;
}

/*---footer_end---*/

@media screen and (min-width: 1025px){}

@media screen and (min-width: 768px) and (max-width: 1366px){

    .logo_background{
        width: 30%;
        right: 3%;
        bottom: 3%;
    }
    
    nav li{
        width: 100px;
    }

    .header_logo{
        width: 100%;
    }

    .header_contact-icon{
        margin: 0 7px;
    }
    
    .gray_field-pos{
        width: 65%;
    }
    
    .sec01_item p{
        font-size: 18px;
    }
    
    .sec02_item_txt{
        width: 80%;
    }
    
    .sec02_item_txt h1{
        margin-bottom: 15px;
        font-size: 1.5em;
    }
    
    .sec02_item_txt span,
    .sec06 span{
        padding: 5px;
    }
    
    .sec02_item_txt p{
        margin-top: 15px;
    }

    .sec02_item_pic img{
        width: 170%;
    }
    
    .sec04_row{
        display: flex;
        justify-content: center;
        margin: 50px 0;
    }
    
    .sec04_item{
        width: 30%;
        margin: 0 10px;
    }
        
    .sec04_item-txt{
        padding: 30px 10px;
    }

    .sec04_item-txt h2{
        font-size: 1.3em;
    }
    
}

@media screen and (max-width: 767px){

    .logo_background{
        width: 50%;
        right: 3%;
        bottom: 3%;
    }

    .d-large{
        display: none;
    }
    
    .d-small{
        display: block;
    }

    .header_logo{
        width: 230px;
    }

    .gray_field-pos{
        position: absolute;
        width: 20%;
        right: 0;
    }

    #navOn,
    #navOff{
        cursor: pointer;
    }

    .nav_mobile-on{
        display: none;
        position: fixed;
        z-index: 10000;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: rgb(250,250,250);
        animation: fadein 0.5s;
    }

    .nav_mobile-pos{
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .nav_mobile-on ul{
        padding: 0;
    }

    .nav_mobile-on li{
        list-style: none;
        text-align: center;
        margin: 30% 0;
    }

    .nav_mobile-on a,
    .nav_mobile-on a:hover{
        text-decoration: none;
        font-weight: bold;
        font-size: 20px;
        color: rgb(87,87,87);
    }

    .sec01_row{
        display: block;
        margin: 30px 0;
    }
    
    .sec01_item{
        margin-bottom: 50px;
    }

    .sec01_item p{
        margin-top: 15px;
    }

    .sec02{
        display: block;
    }

    .sec02_item_txt-pos,
    .sec02_item_pic{
        width: 100%;
    }

    .sec02_item_txt-pos{
        padding: 35px 0;
    }

    .sec02_item_txt{
        width: 90%;
    }

    .sec02_item_txt h1{
        font-size: 1.5em;
    }

    .sec04_row{
        display: block;
        margin: 50px 0;
    }

    .sec04_item{
        width: 100%;
        margin: 25px 0;
        padding: 0 15px;
    }

    .sec04_item-txt{
        padding: 20px;
    }

    .gallery_row{
        display: block;
    }
    
    .gallery_row-mobile{
        width: 100%;
    }

    .sec06 h1{
        font-size: 1.6em;
    }

    .sec06 .line_white{
        width: 70%;
    }
    
    .sec06_txt{
        display: block;
    }
    
    .sec06_txt_item{
        margin: 0;
    }
    
    .sec06_txt_item h3,
    .sec06_txt_item p{
        text-align: center;
    }

    form{
        display: block;
    }

    .form_block{
        margin: 0;
        padding: 0 25px;
    }

    input,
    textarea,
    .checkbox{
        width: 100%;
        
    }

    .footer_content{
        display: block;
    }
    
    .footer_content p,
    .footer_content a,
    .footer_content a:hover{
        text-align: center;
        margin-top: 25px;
    }
       
}