@charset "UTF-8";
/* CSS Document */

*{
list-style: none;
text-decoration: none;
} 

body{
font-size: 1.125rem;
background: url("../images/Infection-large-background.jpg");
min-height: 100vh;
background-repeat: no-repeat;
background-size: cover;
background-position: center;
line-height: 1.5;
}

.container{
max-width: 1024px;
min-height: 500px;
margin: 0 auto;
}

.main-background{
background-color: rgb(40, 40, 40, 0.7);
border-radius: 0.75rem;
padding: 1rem;
margin-bottom: 0.625rem;
min-height: 31.25rem;
}

.logo{
padding: 1rem;
}

.logo img{
width: 300px;
height: 120px;
}

nav{
padding-bottom: 0.625rem;
}

.navbutton{
font-family: "Bodoni Moda", serif;
padding: 0.688rem 1.2rem;
display: inline-block;
text-align: center;
position: relative;
width: 7.9rem;
background-color: #4d2600cc; /*background color lightened dd*/
border: .5px solid white;
}

.navbutton a{
color: #fff;
font-weight: bold;
}

.navbutton:hover{
background-color: #b36b00ee;
transition-duration: .75s;
}

.navbutton a:hover{
color: #000;
}
.dropdown-box{
display: none;
position: absolute;
padding-top: 1.25rem;
margin-left: -1.25rem;
z-index: 99;
}

.dropdown-box a:hover{
color: #000;
font-weight: bold;
}

.navbutton:hover .dropdown-box{
display: block;
}

.dropdown-box .navbutton:hover{
background-color: #b36b00ee;
transition-duration: .75s;
margin-top: 0.313rem;
margin-bottom: 0.313rem;
}

.topcard{
padding-bottom: 0.625rem;
}

.topcard img{
border-radius: 8px;
}

main{
padding: .625rem 1rem;
}

h1{
font-size: 2.813rem;
font-family: "PT Serif", serif;
color: white;
padding-bottom: 1rem;
}

p{
line-height: 2rem;
color: white;
font-family: "Roboto", sans-serif;
font-weight: 300; /* set at 400 */
margin-bottom: 1rem;
}

.herobox1 img{
float: right;
margin-top: 0.5rem;
margin-bottom: 1rem;
margin-left: 1rem;
box-shadow: 5px 5px 5px #1a1a1a;
}

.quote-background{
background-color: rgb(20, 20, 20, 0.3);
border-radius: 0.75rem;
padding: 1rem;
}

.quote p{
font-size: 1.875rem;
font-family: "Oswald", sans-serif; 
margin-right: 0;
margin-left: 0;  
margin-top: -3.438rem;
line-height: 1.3;
}

.quote img{
width: 100px;
height: 100px;
padding-bottom: 1rem;  
padding-left: 0.5rem;  
margin-left: -2.5rem;  
}

.button-link{
display: inline-block;
padding: 0.425rem 0.625rem;
background-color: #6a040fcc;
color: #fff;
text-align: center;
cursor: pointer;
border-radius: 5px;
border: 1px solid #fff;
margin-top: 0.625rem;
font-size: 1rem;
}

.button-link:hover{
background-color: #b36b00ee;
transition-duration: .75s;
}

.social img{
width: 40px;
height: 40px;
margin-top: 0.625rem;
}

.email img{
width: 40px;
height: 40px;
}

.card{
padding-top: 0.625rem;
}

.card img{
border-radius: 8px;
}

footer{
min-height: 4.688rem;
text-align: center;
padding-top: 0.625rem;
}

footer p{
font-family: "Bodoni Moda", serif;
font-size: 0.625rem;
color: white;
}

footer img{
width: 50px;
height: 50px;
}

.off-screen-menu{
display: none;
}
	
.hamburger{
display: none;
}

/* RESPONSIVE */

/* 1024 */

@media screen and (max-width: 1024px){
.navbutton{
display: none;	
}	

.hamburger{
display: block;
padding: 1.563rem;
}
	
.off-screen-menu{
background-color: #b36b00;
height: 100vh;
width: 50%;
max-width: 450px;
position: fixed;
top: 0;
right: -450px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
transition: .3s ease;
}
			
.ham-menu{
height: 50px;
width: 40px;
margin-left: auto;
position: relative;
}
	 
.ham-menu span{
height: 5px;
width: 100%;
background-color: #000;
border-radius: 25px;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
transition: .3s ease;
cursor: pointer;
}
	
.ham-menu span:nth-child(1){
top: 25%;
}
	
.ham-menu span:nth-child(3){
top: 75%;
}
		
.ham-menu.active span{
background-color: #FF0307;
}
	
.ham-menu.active span:nth-child(1){
top: 50%;
transform: translate(-50%, -50%) rotate(45deg);
}
	
.ham-menu.active span:nth-child(2){
opacity: 0;
}
		
.ham-menu.active span:nth-child(3){
top: 50%;
transform: translate(-50%, -50%) rotate(-45deg);
}

.off-screen-menu ul{
display: block;
}
			
.off-screen-menu ul li{
font-size: 1.125rem;	
padding: 0.625rem 0.313rem;
}
		
.off-screen-menu a{
color: white;
}
			
.off-screen-menu a:hover{
color: #FFC107;
}
	
.off-screen-menu.active{
right: 0;
}
	
.container{
margin: 0.313rem;
}
	
.topcard img{
height: 100%;
width: 100%;
}

.card img{
height: 100%;
width: 100%;
}
	
.herobox1 img{
box-shadow: 3px 3px 3px #1a1a1a;
}
	
header{
margin-bottom: -3.75rem;		
}	
	} 

/* 768 */

@media screen and (max-width: 768px){
.herobox1 img{
margin: 0.625rem 0 0.625rem 0.938rem;
}
	} 

/* 480 */

@media screen and (max-width: 480px){
.logo{
padding: 0.5rem;
}

.logo img{
width: 200px;
height: 100px;
}	
	
.hamburger{
padding: 0.938rem;
}
	
.off-screen-menu{
width: 70%;
}
	
.off-screen-menu ul li{
font-size: 1rem;
padding: 0.625rem 0.438rem;
}

.herobox1 img{
height: 50%;
width: 50%;
margin: 0.313rem 0 0.313rem 0.625rem;
border-radius: none;
}
	
.topcard img{
border-radius: 4px;
}
	
.topcard{
padding-bottom: 0.313rem;
}
	
.card img{
border-radius: 4px;
}
	
h1{
font-size: 2.063rem;
line-height: 1.4;
padding-top: 0.625rem;	
}

p{
line-height: 1.7;	
font-size: 1rem;
}
	
.quote p{
font-size: 1.5rem;
margin-top: -2.188rem;
}
	
.quote img{
width: 75px;
height: 75px;
padding-bottom: 0.125rem;
margin-left: -1.875rem; 
}

footer p{
color: azure;
}
	
header{
margin-bottom: -4.375rem;		
}

main{
padding: 0 0.5rem;		
}
	
.main-background{
padding: 0.5rem;
border-radius: 5px;
background-color: rgb(40, 40, 40, 0.9);
}


.button-link{
margin-right: 0.313rem;
}
	}
	
/* 420 */
@media screen and (max-width: 420px){
.main-background{
border-radius: 3px;
}	

.topcard img{
border-radius: 2px;
}
	
.card img{
border-radius: 2px;
}	

main{
padding: 0 0.313rem;
}
	
.herobox1 img{
box-shadow: none;
margin: 0.313rem 0 0.625rem 0.625rem;
}

h1{
line-height: 1.3;
}
	
.quote p{
font-size: 1.125rem;
}
	
.quote-background{
padding: 0.5rem; /* change */
}
	}


/* 375 */

@media screen and (max-width: 375px){
.logo{
padding: 0.375rem;
}
	
.logo img{
width: 180px;
height: 80px;
}
	
.hamburger{
padding: 0.625rem;
}

.off-screen-menu ul li{
font-size: 0.875rem;	
padding: 0.625rem 0.438rem;
}
	
.herobox1 img{
height: 50%;
width: 50%;
margin: 0 0 0.313rem 0.438rem;
}

header{
margin-bottom: -3.75rem;		
}
	
h1{
font-size: 1.938rem;
}

p{
margin-top: -0.313rem;
font-size: 0.875rem;
line-height: 1.7;
}
	
main{
padding: 0 0.375rem;
}	

.quote-background{
padding: 0.5rem;
}
	}

/* 320 */
@media screen and (max-width: 320px){
.logo img{
width: 160px;
height: 60px;
}
	
.off-screen-menu{
width: 90%;
}
	
h1{
font-size: 1.563rem;
}

.button-link{
padding: 0.25rem 0.625rem;
border-radius: 5px;
border: 1px solid #fff;
margin-top: 0.625rem;
font-size: 0.75rem;
}
	
.quote p{
font-size: 1rem;
margin-top: -2.188rem;
}	
	
.quote img{
width: 50px;
height: 50px;
padding-bottom: 0.625rem; 
margin-left: -1.5rem; 
}
	}

