:root {
	color-scheme: light dark;	
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  padding-left: calc(100vw - 100%);
}

body {
  	font-family: 'Poppins', sans-serif;
  	background-color: light-dark(#f8f8f8, #222);
  	color: light-dark(#444, #f8f8f8);
  	margin: 0 auto;
  	max-width: 1100px;
	  flex-direction: column; 

}

h1 {
	font-size: 1.5em;
}

p {
	font-size: 1.1em;
}

a:link {
	color: light-dark(#000, #f8f8f8);
	text-decoration: underline dotted;
}

a:hover {
	color: light-dark(#222, #fffa93);
	text-decoration: none;
}

a:visted {
  	color: light-dark(#222, #f8f8f8);
  	text-decoration: underline dotted;
}

.page h1 {
	font-size: 2em;
}

.page a:link {
	color: light-dark(#000, #f8f8f8);
	text-decoration: underline dotted;
}

.page a:hover {
  	color: light-dark(#222, #fffa93);
  	text-decoration: none;
}

.page a:visited {
  	color: light-dark(#222, #f8f8f8);
  	text-decoration: none;
}

.blog {
	display: flex;
	flex-direction: column;
	max-width: 1000px; 
	padding: 20px 200px 60px;
}

.blog div {
	padding-top: 10px;
}

.page {
	display: flex;
	max-width: 1000px;
	flex-direction: column; 
	padding: 20px 200px 60px;
}

mark {
	background-color: #fffa93;
}

footer {
    position: fixed;
    display: flex;
    flex-direction: row;
    background-color: light-dark(#f8f8f8, #222);
    color: light-dark(#222, #f8f8f8);    
    bottom: 0;
    width: 100%;
    height: 50px;
    padding: 0px 10px 10px 10px;
}

.nav a:link {
	color: light-dark(#000, #f8f8f8);
	text-decoration: none;
}

.nav a:hover {
  	color: light-dark(#222, #fffa93);
  	text-decoration: none;
}

.nav a:visited {
  	color: light-dark(#222, #f8f8f8);
  	text-decoration: none;
}

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

.nav {
  display: flex;
  flex-direction: row;
  align-items: baseline;
}

.nav-item {
	padding: 10px 10px 0px 0px;
}

.icon {
	align-self: center;
}

.contact-section {
	display: flex;
	max-width: 1000px;
	flex-direction: column; 
	padding: 20px 200px 60px;
}

.contact-section .group {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-section .group form {
  font-size: 1.1em;
  display: flex;
  flex-direction: column;
}

.contact-section .group form input,
.contact-section .group form textarea {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1em;
  border: 2px solid light-dark(#222, #f8f8f8); ;
  background-color: transparent;
  padding: 10px;
  margin-bottom: 15px;
  outline: none;
  resize: none;
}

.contact-section .group form button {
  font-size: 1.1em;
  font-family: 'Poppins', sans-serif;
  color: light-dark(#fff, #000);
  background-color: light-dark(#222, #f8f8f8); ;
  border: none;
  height: 50px;
  cursor: pointer;
  transition: .1s;
}

.contact-section .group form button:hover {
  filter: brightness(.7);
}


@media (max-width: 768px) {
  .blog, .page, .contact-section {
	    display: flex;
	    flex-direction: column;
	    padding: 20px 50px 60px 50px;
  }  
  footer {
  		justify-content: flex-start;
  }
  
  footer h2 {
    	font-size: 1.5em;
  }
    
  .nav img {
    	width: 40px;
		height: 40px;
		padding: 0px 0px 0px 0px;
  }

  .contact-section {
  	font-size: 1.5em;
  	padding: 20px 15px 60px 15px;
  }
}

@media (max-width: 480px) {
  .page {
  	padding: 10px 20px 60px;
  }
  
  .blog {
    padding: 10px 20px 60px;
  }

  .blog h1 {
    font-size: 1.5em;
  }
  
  .blog p {
  	font-size: 1em;
  }

  footer h2 {
    padding: 0px 0px 10px 0px;
    font-size: 1.2em;
  }
 
  footer h3 {
  	font-size: 1em;
  }
 
  .contact-section {
  	font-size: 1.1em;
  	padding: 20px 15px 60px 15px;
  }
  
  .contact-section h1 {
  	font-size: 1.5em;
  }  
}

