/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}


a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

a:active {
    text-decoration: none;
}

img{ 

margin-top: 10px;
margin-left: 5%;
float:left;
width: 240px; 
height: 120px; 

}


.topnav{

    right: 0;
    top: 0;
    left: 0;
    position: fixed;    
    height: 140px;
    background-color: white;
   
}

body{

    font-family: 'Dosis', sans-serif;
    font-size: 22px;
    letter-spacing: 0.2px;
    color: rgb(0,27,66);
    
}

ul {
    font-family: 'Dosis' , sans-serif;
    list-style-type: none;
    padding: 0;
    overflow: hidden;    
    margin-right:5%;
    margin-top:32px;
}

li {
    float: right;
}

li a, .dropbtn {

    font-family: 'Dosis' , sans-serif;
    display: inline-block;
    color: rgb(0,27,66);
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size:30px;
    border-radius: 5px;
}

li a:hover, .dropdown:hover .dropbtn {
   background-color: rgb(128,180,65);
}

li.dropdown {
    display: inline-block;
}

.dropdown-content {

    display: none;
    position: absolute;
    min-width:12%;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    font-size:19px;
    color: rgb(0,27,66);
    font-family: 'Dosis' , sans-serif;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {background-color: #f1f1f1}

.dropdown:hover .dropdown-content {
     background-color:white;
     border-radius: 5px;
    display: block;
}
.dropdown-content a:hover {

    background-color: rgb(128,180,65);
   
   
}

.special li{
     text-align: center;
     
     float:none;
     
     }

.special li a{
	
	text-align: center;
	font-size:22px;
	float:none;
	padding:4px;
}


.box1{
     text-align: center;
     border: 10px solid rgb(128,180,65);
     width: 20%;
     margin-right: 23%;
     padding: 12px;
     float: right;
       margin-bottom:5%;
     
}

.box2{
    float: left;
     text-align: center;
     border: 10px solid rgb(128,180,65);
     width: 20%;
     margin-left: 23%;
     padding: 12px;
     margin-bottom:5%;
   
}


.footer{
	
	position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: white;
    height: 3.5%;

}


@media only screen and (max-width: 800px)  {
   
   
   
 
   .box1 img{
   float:none;
   margin-left:20%;
   
   display:block;
   }
   .box2 img{
   margin-left:20%;
  
   float:none;
   display:block;
   }
   
   .box1{
   margin-left:20%;
   margin-top:0;
   float:none;
   width:60%;
   }
   .box2{
   margin-bottom:4%;
   margin-left:20%;
   margin-right:0;
   margin-top:0;
   float:none;
   width:60%;
   }
   
   
    [class*="dropbtn"]{
        
        float: none;
        width: 100%;
        display: block;
    }

    [class*= "dropdown-content"]{

        margin-top: 0;
    }


.footer{
    height: 0;
}

.dropdown{
    margin-top: 0;
}

.dropdown:hover .dropdown-content {
    display: block;
    margin-top: 0;
    margin-left: 45%;
    
}
    img {
       display: none;
    }
    
    }


/* When the screen is less than 780 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 800px) {

  .topnav li{

    display: none;
}

  .topnav a.icon {

    float: right;
    display: block;
    font-size: 48px;
    color: rgb(0,27,66);
    margin-right: 2%;
  }

a:hover {

    text-decoration: none;
}

a:active {

    text-decoration: none;
}

}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 800px) {
  
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
  
    position: absolute;
    right: 0;
    top: 0;
    margin-right:0;
  }

  .topnav.responsive li{
  
    float: none;
    display: block;
    text-align: center; 
  }


}

 @media only screen and (max-width: 1080px) and (min-width:980px){
      	
li a, .dropbtn {

    padding: 8px 10px;
    font-size:24px;

}
.box1{
width:31%;
margin-right:10%;
}
.box2{
width:31%;
margin-left:10%;
}

body{
	background-size:110%;
	}

.footer{


	height:2%;
	position:fixed;
	bottom:0;

 }

@media only screen and (max-width: 1480px) and (min-width:1080px){
      	

.box1{
width:31%;
margin-right:10%;
}
.box2{
width:31%;
margin-left:10%;
}

 }
