
html { 
  background: url(../images/background.jpg) no-repeat center center fixed; 
  background-size: cover;
}

#Welcome{
    clear: both;
    overflow: hidden;
    margin: 17% auto;
    width: 50%;
    text-align: center;
}

h2{
    text-align: center;
}

footer{
    text-align: center;
   /* position: absolute;*/
    bottom:0;
    width: 100%;
    clear:both;
    color: white;

/*
    height: 50px;
    line-height: 50px;
    border-top: 1px dotted tan;
*/
}

footer a:link,
    footer a:visited  {
    color:white;
    text-decoration:underline;
    }
    footer a:hover,
    footer a:active  {
    color:#FF6666;
    text-decoration:underline;
    }

#wrapper{
    clear: both;
    width:80%;
    margin:15% auto 0 auto;
   /* overflow: hidden;*/
/*    background-color:white;*/
    
}

#wrapper h1{
    text-align: center;
    color: white;
    font-weight: 400;
    font-size: 56px;
    line-height: 65px;
}

h2,h3,h4,p{
    color: white;
}

main{
    width:auto;
    
}

aside{
    width:auto;
    height: auto;
    float: right;
    background-color:white;
    
}

.row{
    margin-top: 50px;
}

.row h2{
    font-size: 46px;
}

.third{
    /* 940 pixel grid
    300 times 3 plus 2 gutters of 20px =940px */
    width: 31.91%;
    height:300px;
    float: left;
    margin-right: 2.12%;
    text-align: center;
    border: 2px solid white;
    margin-top: 50px;
    margin-right: 27px;

}

.third:last-of-type{
    margin-right: 0;
}

.third p{
    text-align: center;
    font-size: 2em;
    margin-top: 30px;
}

.third a:link,
    .third a:visited  {
    color:white;
    text-decoration:underline;
    }
    .third a:hover,
    .third a:active  {
    color:#FF6666;
    text-decoration:underline;
    }

.third li{
    list-style-type: none;
}



/*
.imgabout{
    border-width: 4px;
    border-style: solid;
    border-color: rgb(255, 255, 255);
    border-image: initial;
    border-radius: 50%;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 50%;
        max-width: 100%;
    height: auto;
}
*/


/* ↓↓↓↓↓↓↓ nav styles css ↓↓↓↓↓↓↓ */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.4s;
/*
    font-family: -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif,
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol";
*/
}

.container{
    margin-left: 5%;
    margin-right: 5%;
}

/* Navbar section */

.nav{
    width: 100%;
    height: 65px;
/*    position: fixed;*/
    line-height: 65px;
    text-align: center;
    background-color: rgba(0,0,0,0.6);
}

.nav div.logo{
    width: 180px;
    height: 10px;
    position: absolute;
}

.nav div.logo a{
    text-decoration: none;
    color: #fff;
    font-size: 1.8em;
/*    text-transform: uppercase;*/
}

.nav div.logo a:hover {
    color: #c0c0c0;
}

.nav div.main_list{
    width: 600px;
    height: 65px;
    float: right;
}

.nav div.main_list ul{
    width:100%;
    height: 65px;
    display: flex;
    list-style: none;
}

.nav div.main_list ul li{
    width: 120px;
    height: 65px;
}

.nav div.main_list ul li a{
    text-decoration: none;
    color: #FFF;
    line-height: 65px;
    text-transform: uppercase;
}

.nav div.main_list ul li a:hover{
    color: #c0c0c0;
}

.nav div.media_button {
    width: 40px;
    height: 40px;
    background-color: transparent;
    position: absolute;
    right: 15px;
    top: 12px;
    display: none;
}

.nav div.media_button button.main_media_button {
    width: 100%;
    height: 100%;
    background-color: transparent;;
    outline: 0;
    border: none;
    cursor: pointer;
}

.nav div.media_button button.main_media_button span{
    width: 98%;
    height: 1px;
    display: block;
    background-color: #fff;
    margin-top: 9px;
    margin-bottom: 10px;
}

.nav div.media_button button.main_media_button:hover span:nth-of-type(1){
    transform: rotateY(180deg);
    transition: all 0.5s;
    background-color: #c0c0c0;
}

.nav div.media_button button.main_media_button:hover span:nth-of-type(2){
    transform: rotateY(180deg);
    transition: all 0.4s;
    background-color: #c0c0c0;
}

.nav div.media_button button.main_media_button:hover span:nth-of-type(3){
    transform: rotateY(180deg);
    transition: all 0.3s;
    background-color: #c0c0c0;
}

.nav div.media_button button.active span:nth-of-type(1) {
    transform: rotate3d(0, 0, 1, 45deg);
    position: absolute;
    margin: 0;
}

.nav div.media_button button.active span:nth-of-type(2) {
    display: none;
}

.nav div.media_button button.active span:nth-of-type(3) {
    transform: rotate3d(0, 0, 1, -45deg);
    position: absolute;
    margin: 0;
}

.nav div.media_button button.active:hover span:nth-of-type(1) {
    transform: rotate3d(0, 0, 1, 20deg);
}

.nav div.media_button button.active:hover span:nth-of-type(3) {
    transform: rotate3d(0, 0, 1, -20deg);
}

/* Home section */

/*
.home{
    width: 100%;
    height: 100vh;
    background-color: #ddd;
    background-position: center top;
    background: url(../images/background.jpg) no-repeat center center fixed; 
    background-size: cover;
}
*/

/* Medai qurey section */
@media screen and (min-width: 1440px) and (max-width: 2560px) {
    
    .container{
        margin: 0;
    }
    
    
    footer{
        position: absolute;
    }
    
}
@media screen and (min-width: 1024px) and (max-width: 1440px) {
    
    .container{
        margin: 0;
    }
    
        .third{
        /* 940 pixel grid
        300 times 3 plus 2 gutters of 20px =940px */
        width: auto;
        float: none;
        margin-right: 0;
    }
    
    footer{
        position: absolute;
    }
    
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    
    .container{
        margin: 0;
    }
    
        .third{
        /* 940 pixel grid
        300 times 3 plus 2 gutters of 20px =940px */
        width: auto;
        float: none;
        margin-right: 0;
    }
    footer{
        position: absolute;
    }
    
}


@media screen and (max-width:768px) {
    
    .container{
        margin: 0;
    }
    
    .nav div.logo{
        margin-left: 15px;
    }
    
    .nav div.main_list{
        width: 100%;
        margin-top: 65px;
        height: 0px;
        overflow: hidden;
    }
    
    .nav div.show_list{
        height: 200px;
    }
    
    .nav div.main_list ul{
        flex-direction: column;
        width: 100%;
        height: 200px;
        top: 80px;
        right: 0;
        left: 0;
    }
    
    .nav div.main_list ul li{
        width: 100%;
        height: 40px;
        background-color:rgba(0,0,0,0.6);
    }
    
    .nav div.main_list ul li a{
      text-align: center;
        line-height: 40px;
        width: 100%;
        height: 40px;
        display: table;
    }
    
    .nav div.media_button{
        display:block;
    }
    
    .third{
        /* 940 pixel grid
        300 times 3 plus 2 gutters of 20px =940px */
        width: auto;
        float: none;
        margin-right: 0;
        height: auto;
    }
}

/* ↑↑↑↑↑↑ nav styles css ↑↑↑↑↑↑↑↑ */
