*{
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

body,html{
    height: 100%;
}

#top{
    height: 1%;
    width: 100%;
    background-color: red;
    position: absolute;
    margin-top: -10%;
}

.su{
    width: 2%;
    position: fixed;
    right: 1%;
    bottom: 2.5%;
    cursor: pointer;
    z-index: 100;
}

.su img{
    width: 100%;
    display: block;
}

#logo{
    height: 8vh;
    width: 30%;
    display: flex;
    position: absolute;
    top: 0;
    font-size: 1.5625vw;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 10;
    background-color: lightgray;
}

#logo img{
    width: 56%;
}

nav{
    height: 8vh;
    width: 70%;
    display: flex;
    align-items: center;
    background-color: #315171;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10;
}

ul{
    margin: 0;
    padding: 0;
    display: flex;
    width: 100%;
    justify-content: space-evenly;
}

ul li{
    display: flex;
    font-size: 1.5625vw;
    transition: 0.5s;
}

ul li a{
    display: block;
    position: relative;
    color: #fff;
    padding: 0.5vw;
    text-transform: uppercase;
    transition: 0.5s;
}

ul:hover li a{
    transform: scale(1.1);
    opacity: 0.2;
    filter: blur(5px);
}

ul li a:hover{
    transform: scale(1.25);
    opacity: 1;
    filter: blur(0);
}

ul li a:before{
    content: '';
    position: absolute;
    bottom: 10%;
    left: 0;
    height: 7.5%;
    width: 100%;
    background-color: #b14253;
    transition: transform 0.5s;
    transform-origin: right;
    transform: scale(0);
    z-index: -1;
}

ul li a:hover:before{
    transition: transform 0.5s;
    transform-origin: left;
    transform: scale(1);
}

#title{
    width: 90%;
    text-align: center;
    margin: 6.5% auto 3.5%;
}

h1{
    font-size: 3.5vw;
}

.intro{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 5%;
    position: relative;
}

.slider{
    width: 58.3%;
    display: flex;
    position: relative;
    left: -15%;
    top: 0;
}

.slider img{
    width: 100%;
    display: block;
}

#claim{
    width: 25%;
    display: flex;
    justify-content: center;
    font-size: 1.75vw;
    position: absolute;
    right: 8%;
    top: 5%;
}

section{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    padding-top: 4%;
}

.dip{
    background-color: #fde383;
    margin-bottom: 5%;
    padding-bottom: 2%;
}

.cart{
    background-color: #b14253;
    margin-bottom: 5%;
    padding-bottom: 2%;
}

.dec{
    background-color: #fde383;
    margin-bottom: 5%;
    padding-bottom: 2%;
}

.con{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    background-color: #b14253;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 5%;
    padding-bottom: 20%;
    height: 80vh;
    position: relative;
}

.text{
    margin: auto;
    display: flex;
    font-size: 3.5vw;
    position: absolute;
    top: 10%;
    left: 6.5%;
    color: #315171;
    font-weight: 600;
}

.text2{
    margin: auto;
    display: flex;
    font-size: 3.5vw;
    position: absolute;
    top: 10%;
    right: 6.5%;
    color: #315171;
    font-weight: 600;
}

.gallery{
    width: 60%;
    margin: 0 5% 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    right: 5%;
}

.gallery2{
    width: 60%;
    margin: 0 auto 0 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    left: 5%;
}

.boxfoto{
    width: 30%;
    display: flex;
    margin-bottom: 2.5%;
}

.boxfoto img{
    width: 100%;
    transition: 1s;
    padding: 5%;
}

.boxfoto img:hover{
    filter: grayscale(100%);
    transform: scale(1.1);
}

.box1{
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    position: absolute;
    top: 10%;
    left: 0;
}

.box2{
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    position: absolute;
    top: 33.5%;
    left: 0;
}

.content{
    width: 5%;
    height: 10%;
    background-color: #b14253;
    box-shadow: -0px -0px 20px #fff,
        6px 6px 10px rgba(177,66,83,1),
    inset -0px -0px 14px #fff,
        2px 2px 10px rgba(177,66,83,1);
    border: #b14253 10px solid;
    align-items: center;
    justify-content: center;
    padding: 0.1%;
    position: relative;
    margin-left: 12.5%;
}

.content .fac img{
    width: 100%;
    display: flex;
    background-color: #3b5998;
}

.content .wat img{
    width: 100%;
    display: flex;
    margin: auto;
    background-color: #00bb2b;
}

.content .mail img{
    width: 100%;
    display: flex;
    background-color: #ea4335;
}

.content .tel img{
    width: 100%;
    display: flex;
    background-color: orange;
}

.map{
    position: absolute;
    top: 10%;
    left: 45%;
    height: 30%;
    width: 30%;
}

iframe{
    height: 100%;
    width: 100%;
}

.line{
    content: '';
    width: 0.25%;
    height: 29%;
    background-color: #fff;
    position: absolute;
    top: 55%;
    left: 35%;
}

.line2{
    content: '';
    width: 0.25%;
    height: 29%;
    background-color: #fff;
    position: absolute;
    top: 55%;
    left: 65%;
}

.spec{
    width: 20%;
    position: absolute;
    top: 55%;
    left: 10%;
    color: #fff;
    font-size: 1vw;
}

.specb{
    width: 20%;
    position: absolute;
    top: 55%;
    left: 40%;
    color: #fff;
    font-size: 1vw;
}

.spec2{
    width: 20%;
    position: absolute;
    top: 54.5%;
    left: 70%;
    color: #fff;
    font-size: 1vw;
    line-height: 200%;
}

.dev{
    width: 20%;
    display: flex;
    color: #fff;
    font-family: 'Mulish', sans-serif;
    font-size: 1vw;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 5%;
    bottom: 2%;
}

.dev a{
    width: 10%;
    display: flex;
    color: #000;
    margin: 0 2.5%;
}

.dev img{
    width: 100%;
    display: block;
}

@media only screen and (max-width: 667px) {
    
    
    #top{
        margin-top: -22%;
    }

    .slider{
        display: none;
    }
    
    nav{
        display: none;
    }
    
    #logo{
        width: 100%;
    }
    
    #title{
        margin-top: 10vh;
        width: 100%;
    }
    
    #claim{
        width: 90%;
        display: flex;
        position: absolute;
        left: 5%;
        font-size: 3vw;
        text-align: center;
    }
    
    .dip{
        margin-top: 15vh;
    }
    
    section{
        width: 100%;
    }
    
    .su{
        visibility: hidden;
    }
    
    .text{
        width: 80%;
        display: block;
        top: 1%;
        left: 10%;
        display: flex;
        justify-content: center;
        font-size: 7.5vw;
    }
    
    .text2{
        width: 80%;
        display: block;
        top: 1%;
        right: 10%;
        display: flex;
        justify-content: center;
        font-size: 7.5vw;
    }
    
    .gallery{
        flex-direction: column;
        width: 90%;
        margin-top: 15%;
        right: 0;
    }
    
    .gallery2{
        flex-direction: column;
        width: 90%;
        margin-top: 15%;
        left: 0;
    }

    .boxfoto{
        width: 90%;
        display: flex;
        margin-bottom: 2.5%;
    }

    .boxfoto img:hover{
        filter: grayscale(100);
        transform: scale(1);
    }
    
    .con{
        flex-direction: column;
        height: 100vh;
    }
    
    .box1{
        width: 90%;
        display: flex;
        justify-content: center;
        margin: -2.5vh auto;
    }
    
    .box2{
        width: 90%;
        display: flex;
        justify-content: center;
        margin: -7.5vh auto 0;
    }
    
    .content{
        width: 30%;
        display: flex;
    }
    
    .map{
        width: 70%;
        position: relative;
        top: 35vh;
        left: -2vw;
    }
    
    .spec{
        display: none;
    }
    
    .specb{
        display: none;
    }
    
    .spec2{
        width: 90%;
        position: relative;
        text-align: center;
        top: 15vh;
        left: 0;
        font-size: 3vw;
    }
    
    .line,
    .line2{
        display: none;
    }
    
    .dev{
        width: 60%;
        left: 20%;
        font-size: 3vw;
        bottom: 1vh;
    }

}
