@charset "utf-8";

/* CSS Document */

html, body {
	height: 100%;
	width: 100%;
	margin: 0;
    padding: 0;
    font-family: 'Quicksand', sans-serif;
}

div {
    margin:10% auto;
    padding: 5%;
    max-width: 70%;
    background-color: azure;
    border: solid 0.1rem teal;
}

h1 {
    margin: 2rem 0rem;
    font-size: 1.6rem;
    text-decoration: underline;
    text-transform: uppercase;
    text-align: center;
    color: lightslategrey;
}

label {
    font-size:1.2rem;
    font-weight: 600;
    color: teal;
    margin-top: 2rem;
}

input {
    background-color: paleturquoise;
    border: solid 0.1rem teal;
    min-width: 70%;;
    max-width: 90%;
    height: 2rem;
    color: teal;
    padding-left: 0.5rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
}

h2 {
    font-size: 1.1rem;
    font-weight: 500;
    font-style: italic;
    text-decoration: underline;
    text-align: center;
    color: lightseagreen;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.1rem;
    font-weight: 400;
    margin: 1.5rem 0 0.5rem 0;
    padding-left: .5rem;
    color: lightslategrey;
}

section .buttons {
    display:flex;
}

button {
    flex-grow: 1;
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    background-color: teal;
    color: paleturquoise;
    border: none;
    height: 2.5rem;
    margin: 0.2rem;
    outline: none;
}

button:hover {
    background-color: paleturquoise;
    color: teal;
    border: solid 0.1rem teal;
    outline: none;
}

footer {
	font-size: 0.8em;
    color: teal;
    text-align: center;
	background-color: paleturquoise;
    padding: 0.3rem;
    margin-top: 1rem;
}

@media (orientation: landscape) {
    section .buttons {
        flex-direction: row;
    }
}

@media (orientation: portrait) {
    section .buttons {
        flex-direction: column;
    }
}