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

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

body{
font-size: 1.125rem;
background: url("../images/sample-chapter-background.jpg");
min-height: 100vh;
background-position: top center;
background-size: contain;
line-height: 1.5;
}

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

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

.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; 
border: .5px solid #607D8B;
}

.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;
}

.herobox1 img{
float: right;
margin-left: 1.875rem;
margin-bottom: 1.25rem;
box-shadow: 3px 3px 3px #181818;
}

.herobox2 img{
width: 500px;
height: 360px;
border-radius: 5px;
float: right;
margin-left: 1.875rem;
margin-bottom: 1.25rem;
box-shadow: 2px 2px 2px #181818;;
}

.herobox3 img{
width: 500px;
height: 360px;
border-radius: 5px;
float: left;
margin-right: 2.5rem;
margin-top: 0.625rem;
margin-bottom: 0.625rem;
box-shadow: 2px 2px 2px #181818;
}

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

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

.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: #37474F;
}

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

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

.quote{
font-style: italic; 
}


/* 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{
width: 100%;
height: 100%;
}

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

header{
margin-bottom: -3.75rem;		
}
	
.herobox2 img{
margin: 0.313rem 0 0.313rem 1.25rem;		
}
	
.herobox3 img{
margin: 0.313rem 1.25rem 0.313rem 0;		
}
	} 
	
/* 768 */

@media screen and (max-width: 768px){
.herobox1 img{
margin: 0.625rem 0 0.625rem 0.938rem;	
}
	
.herobox2 img{
width: 65%;
height: 65%;
margin: 0.313rem 0 0.313rem 1rem;		
}

.herobox3 img{
width: 65%;
height: 65%;
margin: 0.313rem 1rem 0.313rem 0;		
}
	} 
	
/* 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;
}

.topcard img{
border-radius: 4px;
}
	
.topcard{
padding-bottom: 0.313rem;
}
	
.card img{
border-radius: 4px;
}

.herobox1 img{
height: 50%;
width: 50%;
margin: 0.313rem 0 0.313rem 0.625rem;
border-radius: none;
}

.herobox2 img{
height: 100%;
width: 100%;
border-radius: 4px;
margin: 0 0 0.625rem 0;
box-shadow: none;
float: none;
}

.herobox3 img{
width: 100%;
height: 100%;
margin: 0 0 0.625rem 0;
border-radius: 4px;
box-shadow: none;
float: none;
}

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

header{
margin-bottom: -4.375rem;		
}
	
main{
padding: 0 0.625rem;
}
	
h1{
font-size: 2.063rem;
line-height: 1.4;
padding-top: 0.625rem;	
}
	
p{
font-size: 1rem;
line-height: 1.7;
}
	
main{
padding: 0 0.5rem;	
}
	
.main-background{
padding: 0.5rem;
border-radius: 5px;
background-color: rgb(40, 40, 40, 0.9);
}
	}

/* 420 */

@media screen and (max-width: 420px){
.main-background{
border-radius: 3px;
}
	
.topcard img{
border-radius: 3px;
}
	
.card{
border-radius: 3px;
}
	
main{
padding: 0 0.313rem;
}
	
.herobox1 img{
box-shadow: none;
margin: 0.313rem 0 0.625rem 0.625rem;
}
	
.herobox2 img{
border-radius: none;
}	

.herobox3 img{
border-radius: none;
}

h1{
line-height: 1.3;
}
	}	

/* 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;
}
	}

/* 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;
}
	}
