.nav-wrapper{
    background-color:khaki;
    font-size: larger;
  }
  .nav-wrapper .right{
    text-align: right;
    display:block;
    color:white;
  }
  .nav-wrapper .right li{
    display: inline-block;
    padding:20px;
    text-decoration: none;
  }
  .nav-wrapper .right li:hover{
   background-color:yellow;
   opacity: 0.8;
  }
  .nav-wrapper .right li a{
    text-decoration: none;
    font-size: larger;
    color: orange;
  }
.img_wrap img{
    height: 350px;
    width: 400px;
}

@media screen and (max-width: 320px) {
    .img_wrap img{
        height: 200px;
        width: 250px;
    }  
}

.amenities span{
    background-color: red;
    color: white;
}

@media screen and (min-width: 480px) {
    .hostelDetails{
        width:50%;
    }
}

.madaraka, .qwetu, .highway, .ngaramen, .topoli, .metropolitant {
    border: 1px solid red;
    display: none;
    margin-top: 10%;
    line-height: 1.6;
    font-size: large;
}

.details{
    padding: 5px;
}

*{
    font-family: 'Titillium Web', sans-serif;
}

H6{
    color: skyblue;
    font-size: larger;
}

h4{
    color: red;
    font-family: 'Oxanium', cursive;
}
body{
    background-color: whitesmoke;

}
h2{
    color: orange;
}
.social{
    text-align: center;
    margin-top: 2%;
}

    footer{
        text-align: center;
        background-color: khaki;
        margin-bottom: 0;
        padding: 10px;
    }
    
.minislide{
    margin-right: auto;
    margin-left: auto;
}

@media screen and (max-width: 420px) {
.minislide {width:270px;
    height:250px;
    overflow:hidden;
    position:relative;
    
     }
.minislide img{ position:absolute;
    animation:minislide 30s infinite; 
    opacity:0; 
    width: 100%; 
    height: auto;
    }

@keyframes minislide {25%{opacity:1;} 40%{opacity:0;}}
.minislide img:nth-child(6){animation-delay:0s;}
.minislide img:nth-child(5){animation-delay:5s;}
.minislide img:nth-child(4){animation-delay:10s;}
.minislide img:nth-child(3){animation-delay:15s;}
.minislide img:nth-child(2){animation-delay:20s;}
.minislide img:nth-child(1){animation-delay:25s;}
}
@media screen and (min-width: 420px) {
    .minislide {width:80%; height:350px; overflow:hidden; position:relative; }
    .minislide img{ position:absolute; animation:minislide 30s infinite; opacity:0; width: 100%; height: auto;}
    
    @keyframes minislide {25%{opacity:1;} 40%{opacity:0;}}
    .minislide img:nth-child(6){animation-delay:0s;}
    .minislide img:nth-child(5){animation-delay:5s;}
    .minislide img:nth-child(4){animation-delay:10s;}
    .minislide img:nth-child(3){animation-delay:15s;}
    .minislide img:nth-child(2){animation-delay:20s;}
    .minislide img:nth-child(1){animation-delay:25s;}
    }
#heading{
    float: left;
}

#heading h2{
    font-size: larger;
}

.head{
    text-align: center;
    text-transform: uppercase;
}