*{
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
  }
body{
    background-image: url("../images/bencaf.jpg");
    background-size: cover;
    margin: 0px;
    font-family: verdana;
    color: #176d45;
    font-size: 14px;
    opacity: .9;
}
.wrapper{
    margin: 0 auto;
    width: 75%;
    background-color: #deefe8;
    border: 1px solid #176d45;
    box-shadow: 0 0 10px rgba (12, 3, 25, 0.8)
    
}
header{
    height: 110px;
    padding: 0;
    margin: 0;
    background-color: #176d45;
    width: 100%;
  
}
/*NAVIGATION*/
nav{
    float: none;
    width: 100%;
     background-color: #176d45;
    
}
nav li{
    display: inline-block;
    padding: 0.5em;
    position: fixed;
}
nav ul li a, nav ul li:hover ul, nav ul li ul li{
    display: block;
    font-family: 'Merriweather', serif;
 
}
nav ul{
    list-style-type: none;
    background: #176d45;
  
    text-align: center;
    display: inline;

}
nav ul li{
    display: inline-block;
    position: relative;
    padding: 10px 15px 10px 15px;
  
}

nav ul li ul{
    min-width: 100%;
    opacity: 0.9;
    display: none;
    position: absolute;
    overflow: hidden;
}
nav ul li ul li a{
    text-align: left;
    display: block;

}
nav a{
    text-decoration: none;
    font-weight: bold;
    color: #000;
    border-style: none;

}
nav:hover {
    color: #000;
 
}
nav ul li a:before{
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #000;
    visibility: hidden;
    -webkit-transform:scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}
nav ul li a:hover:before{
    visibility: visible;
    transform: scaleX(1);
}
nav ul ul{
    position: absolute;
    padding:0;
    opacity:.9;
    z-index:999;}
.nav2{
    text-align: center;
}
.subscribe{
    background-color: #deefe8;
    padding: 15px;
    width: 30%;
    float: left;
}
.subscribe2{
    float: right;
    background-color: #deefe8;
    padding: 15px;
    width: 30%;
}
h1{
    font-family: 'Merriweather', serif;;
    letter-spacing: 0.5px;
    font-size: 60px;
    margin: 0;
    padding: 10px 10px 10px 10px;
    color: #f7fffb;
    text-align: center;
}
h2{
    font-family: 'Merriweather', serif;;
    font-size: 27px;
    margin: 0;
    text-transform: uppercase;
    color: #000;
}
h3{
    font-family: 'Merriweather', serif;;
    font-size: 14px;
    margin: 0px;
    padding: 5px;
    text-transform: uppercase;
    color:#176d45;
    letter-spacing: 0.5px;
}
p{
    margin: 10px 0;
    padding: 5px;
    font-size: 13px;
}
main{
    margin: 15px;
}
aside{
    width: 20%;
    padding: 10px 4px 10px 24px;
    margin-left: 15px;
    float: left;
}
section{
    width: 75%;
    padding: 6px 4px 6px 8px;
    float: right;
    border-left:1px solid #176d45;
    padding: 0 5px 10px 5px;
    width: 70%;
    float: left;
}
section h2{
    padding-bottom: 10px;
    color: #176d45;
    text-align: center;
}

.clear{
    clear: both;
}
input[type="submit"]{
    width: 110px;
    padding: 13px;
    border: 0;
    cursor: pointer;
    background-color: #176d45;
    border-radius: 2px;
}
input[type="text"], [type="email"]{
    padding: 10px;
    border-radius: 2px;
}
form{
    padding-top: 15px
}
span{
    font-weight: bold;
}

aside ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
}
aside ul li{
    padding-bottom: 10px;
}
aside ul li a{
    text-decoration: none;
}
footer{
    padding: 20px;
    color: cornsilk;
    background-color: #176d45;
    text-align: center;
    width: 100%;
}
/*------GALLERY------*/
.room{
    width: 300px;
    padding: 0 10 15 0;
    display: inline-block;
    position: relative;
}
.roomtext{
    text-align: center;
    font-size: 12px;
    font-weight: bold;
}
@media only screen and (max-width: 1024px){
body{
    margin: 0;
}
section, main, aside,{
    width: 100%;
    float: none;
}
.sideleft{
    width: 100%;
    border-right: none;
}

.wrapper{
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    box-shadow: none;
}
header h1{
    font-size: 300%;
    text-align: center;
}



h1, h2{
    font-size: 120%;
    text-align: center;
}
p{
    font-size: 90%;
}
img, aside, .subscribe{
    display: none;
}

a:link{
    color: #176d45;
}
a:visited{
    color: #176d45;
}
a:hover{
    color: #176d45;
}
s
/*---Slider---*/
.banner{
    width: 100%;
    height: 538px;
    position: relative;
}
#slider{
    width: 100%;
    height: 538px;
    position: absolute;
    overflow: hidden;
}
#next{
    text-align: center;
    line-height:50px;
    color: #ffffff;
    width:50px;
    height:50px;
    background-color:#1aaba5;
    position: absolute;
    top:205px;
    right:0;
    z-index:99;
    cursor: pointer;
    opacity:.4;
}
#pre{
    text-align: center;
    line-height: 50px;
    color: #ffffff;
    width:50px;
    height:50px;
    background-color: #1aaba5;
    position: absolute;
    top:205px;
    left:0;
    z-index:99;
    cursor: pointer;
    opacity:.4;
}
.banner:hover #next{
    opacity:1;
    transition: all .5s ease-out;
    -webkit-transition: all .5s ease-out;
    -ms-transition: all .5s ease-out;
}
    .banner:hover #pre{
    opacity:1;
    transition: all .5s ease-out;
    -webkit-transition: all .5s ease-out;
    -ms-transition: all .5s ease-out;
}
/*------------IMG Slider---------------*/
 #curtain{
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    background-color: rgba(0,0,0,0.4);
}
#light{
    max-width: 80%;
    max-height: 80%;
    top: 0;left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    margin: auto;
}
#close{
    height: 50px;
    width: 50px;
    top:0;
    right: 0;
    position: absolute;
    z-index: 990;
}} 
/*---------------light box - Compagnions*/
.box{
    width: 400px;
    height: 200px;
    background-color: #333;
    text-align: center;
    color:#fff;
}
.box2{
    width:100px;
    height: 100px;
    background-color: tomato;
    border-radius: 50%;
    position: relative;
}
.box3{
    width:50px;
    height: 50px;
    border-radius: 50%;
    position: relative;
    float: left;
    margin: 8px;
}
.mid{
    border:2px solid green;
    color:#333;
    font-weight: bold;
}
.images{
    width:200px;
    padding:5px;
    margin:10px;
    box-shadow: 0 0 10px #ccc;
    border-radius: 5px;
}
#lightbox{
    max-width: 80%;
    max-height: 80%;
    margin:auto;
    position: absolute;
    top:0;
    right:0;
    bottom: 0;
    left: 0;
}
#curtain{
    width:100%;
    height: 100%;
    background-color:#000;
    opacity: 0.4;
    position: fixed;
    top: 0;
    left: 0;
}
#close{
    width:50px;
    height: 50px;
    position: absolute;
    top:0;
    right:0;
    z-index: 1;
}
/*-------Compagnions - Roomtext*/
.catpic{
    float: left;
}
.room{
    width: auto;
    padding: 0 10 15 0;
    display: inline-block;
    position: relative;
}
.catpic img{
    height: 500px;
    width: 400px;
    /* width: 100%; */
    border-radius: 25px;
}
.roomtext{
    width: auto;
    text-align: left;
    font-size: 16px;
  
    float: right;
    word-wrap: break-word;
}
.roomtext ul li{
    list-style-type: circle;
}
.fieldset{
    width: 80%;
    margin: auto;   
}