@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Play:wght@400;700&display=swap');

header{
	background-color: #00195C;
	color: #FFFFFF;
	text-align: center;
	padding: 20px;
	background: rgb(255,0,107);
	background: linear-gradient(90deg, rgba(255,0,107,1) 0%, rgba(0,212,255,1) 100%);
}

header h1{
	line-height: 200%;
	margin: 0;
	color: white;
}

nav{
	font-weight: bold;
	background: rgb(128,0,153);
	background: linear-gradient(90deg, rgba(128,0,153,1) 33%, rgba(255,184,29,1) 100%);
	text-align: center;
	line-height: 200%;
	border-top: 5px solid black;
	border-bottom: 2.5px solid yellow;
}

nav a{
	text-decoration: none;
}

nav ul{
	list-style-type: none;
	margin: 0;
	padding: 10px;
}

nav li{
	display: inline;
	padding: 10px;
}

nav a:link{
	color: white;
}
nav a:visited{
	color: white;
}
nav a:hover{
	color: blue;
}
nav a:active{
	color: blue;
}

a.button-design{
	color: black;
	border-radius: 5px;
	text-decoration: none;
	padding: 8px 25px;
	font-weight: bold;
}
a.button-design:link{
	background-color: pink;
}
a.button-design:hover{
	background-color: purple;
}

body{
	background-color: #FFFFFF;
	Font-family: "Open Sans", sans-serif;
	margin: 0;
}

main{
	max-width: 1000px;
	margin: 20px auto;
	padding: 10px;
}

footer{
	max-width: 1000px;
	margin: 20px auto;
	padding: 10px;
	font-style: italic;
	text-align: center;
}

h1,h2,h3{
	font-family: "Play", sans-serif;
	color: black;
}

h1{
	font-size: 3.5em;
	margin: 0;
}

h2{
	border-bottom: 2px solid #1c2995;
	display: flex;
	padding: 5px;
	font-size: 2em;
	font-weight: 100;
}

text-box h2{
	color: white;
	font-size: 1.5em;
}

h3{
	font-size: 1.7em;
	color: blue;
}

.logo{
	max-width: 100%;
	height: auto;
	padding-top: 15px;
}
.logo:hover{
	opacity: 0.8;
}

.home-hero{
	background-image: url(images/hero-image.jpg);
	height: 300px;
	background-size: cover;
	background-position: top center;
}

.home-hero h1{
	color: white;
	text-shadow: 2px 2px 2px black;
	text-align: center;
	padding-top: 115px;
	font-size: 3em;
	font-weight: normal;
	margin: 0;
}

.float-right{
	float: right;
	max-width: 40%;
	height: auto;
	border: 10px solid brown;
	border-corner-shape: scoop;
	border-radius: 25%;
	margin-left: 30px;
	margin-bottom: 150px;
}

.float-left{
	float: left;
	max-width: 40%;
	height: auto;
	border: 10px solid blue;
	border-corner-shape: scoop;
	border-radius: 25%;
	margin-right: 30px;
	margin-bottom: 10px;
}

.text-box{
	float: right;
	max-width: 40%;
	margin-left: 20px;
	margin-right: 20px;
	margin-top: 10px;
	margin-bottom: 10px;
	background: #66FFFF;
	border: 10px solid blue;
	border-corner-shape: scoop;
	border-radius: 20%;
	padding: 15px;
}

/*The CSS will work ONLY IF the screen size is less than 1024px (tablets and smartphones) */
@media only screen and (max-width: 1024px){
	 h1{
	 	font-size: 2.5em;
	 }
	 h2{
	 	font-size: 1.5em;
	 }
	 h3{
	 	font-size: 1.3em;
	 }
	main,
	footer{
		width: 90%;
	}
}

/*The CSS will work ONLY IF the screen size is less than 768px (smartphones only) */
@media only screen and (max-width: 768px){
	h1{
		font-size: 2em;
	}
	.home-hero{
		height: 125px;
	}
	.home-hero h1{
		height: 125px;
		font-size: 1.5em;
		padding-top: 45px;
	}
	.float-right,
	.float-left{
		display: none;
	}
	.text-box{
		float: none;
		max-width: 100%;
		display: block;
	}
	nav ul{
		padding: 0px;
		margin: 0px;
	}
	nav li{
		display: block;
		padding-top: 0.5em;
		padding-bottom: 0.5em;
		padding-left: 1em;
		padding-right: 1em;
		border-bottom: gray 1px solid;
	}
}