@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&family=Poppins:wght@400;600;700&display=swap');

body 
{
color: #000;
background-color: #2c3e50;
font-family: Merriweather, Arial, Verdana, Helvetica, sans-serif; 
font-size: 12px;
}


a {color: #e74c3c; font-family: Merriweather, Verdana, Arial, Helvetica, sans-serif; text-decoration: none}
a:visited {color: #cccccc; text-decoration: none}
a:active {color: #e74c3c; text-decoration: none}
a:hover {color: #e74c3c; text-decoration: underline}


h1 
{
font-family: Poppins, Arial, Verdana, Helvetica, sans-serif; 
font-size: 30px; 
font-style: normal; 
font-weight: bold;
text-decoration: none;
padding-left: 10px;
text-align: left;
}



h2 
{  
font-family: Poppins, Arial, Verdana, Helvetica, sans-serif; 
font-size: 24px;
font-weight: 600;
text-decoration: none;
padding-left: 10px;
text-align: left;
}


/* If you'd like to use h3, h4, h5, etc., use the code below, and describe them accordingly. Should contain the same properties as h1 or h2 */
h3
{
font-family: Poppins, Arial, Verdana, Helvetica, sans-serif; 
font-size: 20px;
font-weight: 500;
text-decoration: none;
padding-left: 10px;
text-align: left;
}


p  
{
font-family: Merriweather, Arial, Verdana, Helvetica, sans-serif; 
font-size: 12px;
font-style: normal; 
font-weight: normal; 
text-decoration: none;
margin-top: 0px;
padding: 0 10px;
text-align: left;
}

table {
margin-bottom: 25px;
margin-left: 2%;
margin-right: 2%;
font-family: Poppins, Arial, Verdana, Helvetica, sans-serif;
font-size: 1.2em;
text-align: left;
max-width: 1150px;
width: 100%;
}

table, td, th {
	padding: 10px;
	border-collapse: collapse;
	border: 7px #000;
	border-style: hidden;
}

th {
    color: #2c3e50;
    algin: left;
    background-color: #fff68f;
    font-size: 17px;
}

table thead {
	background-color: #fff68f;
}

table tbody tr {
	background-color: #fff;
}


/* Tell the browser to render HTML 5 elements as block */  
header, footer, aside, nav, article {  
        display: block;  
    }  

#header {
position: relative;
margin-left: auto;
margin-right: auto;
width: 90%;
height: auto;
max-width: 1200px;
background-color: #e74c3c;
}


#nav {
position: relative;
width: 90%; 
height: 40px;
max-width: 1200px;
margin-left: auto;
margin-right: auto;
background-color: #2c3e50;
border-top: 3px solid white;
}

#nav ul {
padding-top: 10px;
padding-left: 5%;
margin: 0px;
list-style-type: none;
}  

#nav li {  
padding-right: 10%;
display: inline;
}  
 
            

#nav a {color: white; font-family: Merriweather, Verdana, Arial, Helvetica, sans-serif;  font-size: 15px; font-weight: bold; text-decoration: none}
#nav a:visited {color: e74c3c; text-decoration: none}
#nav a:active {color: #e74c3c; text-decoration: none}
#nav a:hover {color: #fff68f; text-decoration: none}


            
#section {
position: relative;
width: 90%;
height: auto;
max-width: 1200px;
min-height: 400px;
background-color: white; 
margin-left: auto;
margin-right: auto;
border-top: 2px solid white;
padding: 20px 0;
}

#footer {
position: relative;
width: 90%;
height: auto;
max-width: 1200px;
background-color: #ccc; 
margin-left: auto;
margin-right: auto;
font-size: 10px;
color: #000;
padding: 20px 0;
}

.sidebar {
	float: right;
	min-width: 30%;
	height: auto;
	margin-left: auto;
	margin-right: 2%;
}

.sidebar-bottom {
	display: none;
}

.phone {
	margin: 2%;
	max-width: 100px;
	width: 100%;
}

.write {
	margin: 2%;
	max-width: 150px;
	width: 50%;
	max-height: 120px;
}

.me {
	margin: 2%;
	width: 25%;
}

.grad {
	margin: 2%;
	max-width: 175px;
	width: 100%;
}

@media screen and (max-width: 828px) {
	.sidebar {display: none;}
	.sidebar-bottom {
		display: block;
		position: relative;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 20px;
		width: 100%;
		max-width: 1200px;
		width: 90%;
		background: white;
	}
	#nav li {display: list-item; padding-bottom: 10px}
	#nav {height: auto}

	img {
		width: 100%;
		display: block;
		margin-left: auto;
		margin-right: auto;
	}

	.me {
		width: 50%;
	}

	.write {
		width: 40%;
	}

	.grad {
		width: 25%;
	}

	.phone {
		width: 20%;
	}
}