@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@500&family=Source+Sans+Pro&display=swap');

:root {
	--backgroundColor: #fffffe;
	--headFootColor: #133633;
	--headingFont: 'Inconsolata', monospace;
	--paragraph-font: 'Source Sans Pro', sans-serif;
	--navLinkColor: #fffffe;
	--buttonHover: #ABD9B1;
	--textOnDark: #fff;
    --textOnLight: #000
}

*,
*:before,
*:after {
	box-sizing: border-box;
}

html {
	padding: 0px;
	margin: 0px;
	height: 100%;
	font-size: 62.5%;
}

body {
    height: 100%;
	display: flex;
	flex-direction: column;
	padding: 0px;
	margin: 0px;
    font-size: 1.3rem;
    text-align: center;
	background-color: var(--backgroundColor);
	font-family: var(--paragraph-font);
	overflow-x: hidden;
}

body h1,
body h2,
body h3,
body h4,
body h5 {
	font-family: var(--headingFont);
}

body header {
	height: auto;
	background-color: var(--headFootColor);
	display: block;
	text-align: center;
}

body header .logo {
	margin-top: 20px;
	max-height: 50px;
	width: auto;
    border-radius: 5px;
}

body header .logo:hover {
    transform: scale(1.05, 1.05);
    transition: 2s;
}

body header nav {
	display: flex;
	align-items: center;
	justify-content: space-around;
	width: 100%;
}

body header nav a {
	font-family: var(--headingFont);
	font-size: 1.8rem;
	font-weight: lighter;
	color: var(--navLinkColor);
	text-decoration: none;
	padding: 10px;
	margin: 10px;
}

body header nav a.currentPage {
    border-radius: 5px;
    background-color: var(--buttonHover);
    color: var(--textOnLight);
}

body header nav a:hover {
    transition: .5s;
	border-radius: 5px;
	background-color: var(--buttonHover);
    color: var(--textOnLight);
}

main{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

main section.hero{
    width: 100%;
    margin-top: 40px;
}

main section.hero div{
    margin: 0 auto;
    margin-top: 40px;
    width: 100%;
    max-width: 400px;
    height: 200px;
    background-image: url(../media/contact/cookie-the-pom-siNDDi9RpVY-unsplash.webp);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    border-radius: 3px;
}

.content{
    text-align: center;
}

.content h1{
    max-width: 600px;
    flex: 1;
    margin: 0 auto
}

.fillContent{
    width: 100%;
    align-items: center;
}

article{
    justify-content: center;
    max-width: 600px;
    text-align: justify;
    margin: 5%;
    margin-top: 0px;
}

article p{
    font-size: 1.6rem;
    font-weight: bold;
}

article h1{
    text-align: center;
    font-size: 2.0rem;
}

li{
    font-size: 1.6rem;
    padding: 5px;
    padding-top: 0px;
    text-align: justify;
}

form{
    display:flex;
    flex-wrap: wrap ;
    column-gap: 8%;
    padding: 5px;
}

input{
   width: 45%;
   border: none; 
   border-radius: 5px;
   padding: 5px;
}

input:focus, textarea:focus{
    border-color: rgb(245, 240, 240);
}

textarea{
    margin-top: 20px;
    width: 100%;
    height: 100px;
    padding: 8px;
    margin-bottom: 20px;
    border-radius: 5px;
}

button{
    color: rgb(99, 99, 99);
    border: none;
    background-color: #ffffff;
    border-radius: 2px;
    padding: 5px;
}

body main section.contactInfo{
	display: grid;
	grid-template-rows: auto auto auto;
    gap: 20px;
    max-width: 400px;
}

body main section.contactInfo h2{
    margin: 0px;
}

body main section.contactInfo div#formBackImage {
	grid-row: 3/4;
    max-width: 100%;
}

body main section.contactInfo div#formBackImage img {
	max-width: 80%;
    border-radius: 5px;
}

body main section.contactInfo div#feedback {
	grid-row: 2/3;
	background-color: var(--headFootColor);
	border-radius: 2.5px;
	padding: .5em;
	color: var(--textOnDark);
	box-shadow: 1px 1px 3px black;
	max-width: 400px;
}

body footer {
    color: var(--textOnDark);
	display: flex;
	background-color: var(--headFootColor);
	justify-content: space-around;
	align-items: center;
	margin-top: 30px;
	padding: 15px;
}

body footer .contactInfo {
	margin: 0px;
	padding: 10px;
    font-size: 1.4rem;
    font-weight: lighter;
}

body footer a {
	text-decoration: underline;
	color: var(--navLinkColor);
}

@media screen and (min-width: 600px){

    body header{
        min-height: 75px;
        display: flex;
        align-items: center;
        justify-content: left;
    }

    body header .logo{
        margin: 5px 20px;
    }

    body header nav{
        width: auto;
        margin-left: 20px;
    }

    body header nav a{
        margin: 0px 20px;
    }

    .logo{
        margin: 5px 20px;
    }
    .hero{
        margin: 20px;
        width:100%;
    }
    .heroImage{
        border-radius: 2.5px;

    }

    main{
        flex-direction: row;
        flex-wrap: wrap;
        justify-content:center;
        gap: 40px;
    }
}