*{
    margin: 0;
    padding: 0;
}

body{
    background: #f0f2f5;
}

nav{
    background: #fff;
    box-shadow: 0 1px 8px #dee0e3;
}

#fbmainicon{
    background: -webkit-linear-gradient(#1fb1ff, #0062e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 41px;
}

#navsearchicon{
    color: #7c828a;
    background: #f0f2f5;
    border-radius: 50%;
    padding: 12px;
    font-size: 15px;
}

#fbandsearch{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#menuicon{
    margin-left: 7px;
    display: none;
    background: #f0f2f5;
    border-radius: 50%;
    padding: 12px;
    cursor: pointer;
}

label, input{
    border: none;
    background: #f0f2f5;
    border-radius: 20px;
}

input{
    border: none;
    padding: 7px 20px 9px 0px;
    outline: none;
    color: #65676b;
}

#respcog{
    cursor: pointer;
    background: -webkit-linear-gradient(#c3c3c3, #404040);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#fbandsearch div{
    position: absolute;
    right: 15px;
    display: none;
}

#navbardiv{
    height: 100%;
}

#navbar{
    display: flex;
    justify-content: center;
}

#navbar li{
    padding: 7px 0;
    width: 100px;
    margin: auto 10px;
}

#navbar li:hover{
    background: #f0f2f5;
    border-radius: 10px;
}

#navbar li i{
    font-size: 25px;
    background: -webkit-linear-gradient(#1fb1ff, #0062e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#accountprm{
    height: 100%;
}

#accountprm li i{
    margin: 5px auto;
    background: -webkit-linear-gradient(#c3c3c3, #404040);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/*********SECTIONS*********/

#mainleft ul a:hover{
    text-decoration: none;
}

#mainleft ul li{
    width: 87%;
    list-style-type: none;
    padding: 10px;
    margin: 10px 0;
    background: white;
    color: #050505;
    font-weight: 500;
    border-radius: 5px;
    box-shadow: 0 1px 8px #dee0e3;
}

#mainleft ul li:hover{
    background: #ebebeb;
}

#mainleft ul li img{
    height: 36px;
    border-radius: 25px;
    margin-right: 10px;
}

/***************/

#middlecards{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: auto;
    width: 80%;
    height: 190px;
    margin-bottom: 30px;
    margin-top: 10px;
}

#middlecards div{
    border-radius: 5px;
    height: 100%;
    width: 107px;
    color: white;
    box-shadow: 0 1px 8px #000;
}

#middlecards div:hover{
    opacity: 0.8;
    cursor: pointer;
}

#middlecards div:nth-child(1){
    background: url(../img/avengers-infinity-war-one-sheet-i58560.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}
    
#middlecards div:nth-child(2){
    background: url(../img/Avengers-Endgame-Final-Style-Poster-buy-original-movie-posters-at-starstills__42370.1563973516.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

#middlecards div:nth-child(3){
    background: url(../img/les-gardiens-de-la-galaxie-one-sheet-i85524.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

#middlecards div:nth-child(4){
    background: url(../img/les-gardiens-de-la-galaxie-vol-2-one-sheet-i46581.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

#middlecards div:nth-child(5){
    background: url(../img/814mye5CwKL._AC_SY606_.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

#middlecards div:nth-child(6){
    background: url(../img/4680-affiche-film-iron-man-2.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}


/***************/

#whatsup{
    height: 140px;
    width: 80%;
    margin: auto;
    margin-bottom: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 1px 8px #dee0e3;
}

#whatsup div{
    text-align: center;
    padding-top: 12px;
    margin: auto;
    height: 45%;
    width: 100%;
}

#whatsup div img{
    height: 40px;
    border-radius: 25px;
    margin-right: 10px;
}

#whatsup div input{
    width: 80%;
    text-align: center;
}

hr{
    width: 70%;
    margin: 0 30px;
    margin-top: 22px;
}

#whatsup div:nth-child(2){
    display: flex;
}

#whatsupicons{
    padding: 0 15px;
}

#whatsupicons div{
    cursor: pointer;
    height: 100%;
    margin: auto;
    display: flex;
    justify-content: center;
}

#whatsupicons div p{
    font-weight: 600;
}

#whatsupicons div i{
    background: url(../img/gMAr56PS2m1.png) no-repeat;
    height: 25px;
    width: 35px;
}

#whatsupicons div:nth-child(2) i{
    background-position: 0 -225px;
}

#whatsupicons div:nth-child(3) i{
    background-position: 0 -25px;
}

/***************/

#room{
    height: 75px;
    width: 80%;
    margin: auto;
    margin-bottom: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 1px 8px #dee0e3;
}

#roomimg{
    margin: 16px 0;
    display: flex;
    justify-content: space-around;
}

#room div img{
    margin: auto 10px;
    height: 40px;
    width: 40px;
    border-radius: 25px;
}

#room a{
    height: 100%;
    margin: auto 50px;
    margin-left: 20px;
}

#roombutton:hover{
    text-decoration: none;
    background: #ebebeb;
}

#roombutton{
    margin: 15px auto;
    padding-right: 15px;
    height: 55%;
    display: flex;
    align-items: center;
    border: 2px solid #e7f3ff;
    border-radius: 50px;
    color: #2186e5;
    font-weight: 600;
}

#roombutton i{
    background: url(../img/XT_3HhaR9VX.png) no-repeat;
    background-position: 0 -219px;
    background-size: auto;
    height: 24px;
    width: 24px;
    margin: auto 10px;
}

#facebookimg{
    height: 330px;
    width: 80%;
    margin: auto;
    margin-bottom: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 1px 8px #dee0e3;
}

#facebookimg div{
    margin: auto;
    background: url(../img/Facebook-Logo.png);
    background-size: cover;
    background-position: center;
    height: 80%;
    width: 90%;
}

/***************/

.vikingad{
    float: right;
    width: 90%;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 1px 8px #dee0e3;
    margin-bottom: 20px;
}

.vikingad div p img{
    height: 25px;
}

.vikingad img{
    border-radius: 30px;
}

.vikingad button{
    width: 80%;
}

mark{
    background: none;
    font-weight: 200;
}

/***************/

@media screen and (max-width: 991px){
    #navbardiv{
        order: 1;
    }
    
    #mainleft{
       display: none;
    }
    
    #menuicon{
        display: inline;
    }
}

@media screen and (max-width: 1270px){
    #mainright{
        display: none;
    }
}

@media screen and (min-width: 992px) and (max-width: 1775px){
    #middlecards div:nth-child(6){
        display: none;
    }
}

@media screen and (max-width: 900px){
    #middlecards div:nth-child(6){
        display: none;
    }
}

@media screen and (min-width: 992px) and (max-width: 1500px){
    #middlecards div:nth-child(5){
        display: none;
    }
}

@media screen and (max-width: 750px){
    #middlecards div:nth-child(5){
        display: none;
    }
}

@media screen and (min-width: 992px) and (max-width: 1200px){
    #middlecards div:nth-child(4){
        display: none;
    }
}

@media screen and (max-width: 605px){
    #middlecards div:nth-child(4){
        display: none;
    }
}

@media screen and (max-width: 1342px){
    #searchonfb input{
        display: none;
    }
}

@media screen and (min-width: 992px) and (max-width: 1270px){
    #whatsupicons div:nth-child(3){
        display: none;
    }
}

@media screen and (max-width: 641px){
    #whatsupicons div:nth-child(3){
        display: none;
    }
}

@media screen and (max-width: 991px){
    #accountprm{
        display: none;
    }
    
    #fbandsearch div{
        display: inline;
    }
}

@media screen and (max-width: 600px){
    #navbar li{
        margin: auto;
    }
    
    #navbar li i{
        font-size: 1.7rem;
    }
}

@media screen and (max-width: 1570px){
    #roomimg img:nth-child(5), #roomimg img:nth-child(6){
        display: none;
    }
    
}

@media screen and (max-width: 645px){
    #roomimg{
        display: none;
    }
    
    #room a{
        margin: auto;
        width: 50%;
    }
}

@media screen and (min-width: 992px) and (max-width: 1570px){
    #roomimg img:nth-child(5), #roomimg img:nth-child(6){
        display: none;
    }
    
}

@media screen and (min-width: 992px) and (max-width: 1270px){
    #roomimg{
        display: none;
    }
    
    #room a{
        margin: auto;
        width: 50%;
    }
}
