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

:root {
    --main-font: "Caveat";
    --title-font: "Poppins";
    --text-font: "Merriweather";

    --font-size: 16px;

    --main-color: #FFEDA6;
    --highlight-color: #FFD83C;
    --softened-color: #FFF6D2;

    --font-color: #707070;

}

header {
    width: 100%;
    border-bottom: 2px solid var(--highlight-color);
    font-family: var(--title-font);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin: 30px;
}

header nav svg {
    width: 32px;
    height: 32px;

    border-radius: 5px;
}

header nav a {
    margin: 0 20px 0;
	font-weight: 700;
}

section {
    width: 100%;
    display: flex;
    min-height: 80vh;
}

section#banner > div:first-child {
    display: flex;
    justify-content: center;
    align-content: center;
}

section#banner > div:last-child {
    display: flex;
    flex-direction: column;
    /*align-items: center;*/
	justify-content: space-evenly;
}

section#banner > div:last-child > div {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
}

section#banner > div:last-child > div:nth-child(2) p {
    margin: 15px 0;
}

section#banner > div:last-child > div:nth-child(3) {
    align-items: center;
}

section#classes {
    background-image: url('../images/world.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

section#classes > div:first-child {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

section#classes > div:first-child div {
    margin-left: 50px;
}

section#classes > div:last-child {
    display: flex;
    flex-direction: column;
    /*align-content: center;*/
    justify-content: space-evenly;
}

section#classes > div:last-child div {
    display: flex;
    justify-content: center;
    align-content: center;
}

section#classes p {
    font-size: 3rem;
}

section#about > div:first-child {
    display: flex;
    flex-direction: column;
    /*align-items: center;*/
	justify-content: space-evenly;
}

section#about > div:first-child > div {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
}

section#about > div:first-child > div h2, section#about > div:first-child > div p {
    margin-left: 50px;
}

section#about > div:first-child > div p {
    margin-top: 15px;
    margin-bottom: 15px;
}

section#comments {
    flex-direction: column;
    justify-content: space-evenly;
    background-color: var(--softened-color);
}

section#comments img {
    width: 100px;
    height: 100px;
}

section#comments > div:last-child {
    display: flex;
    justify-content: space-evenly;
}

section#comments > div:first-child h3 {
    margin-left: 50px;
}

section#comments > div:last-child > div {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 25%;
}

section#about > div:last-child {
    /*text-align: center;*/
    display: flex;
    justify-content: center;
    align-items: center;
}

section#contact > div:first-child {
    display: flex;
    flex-direction: column;
	justify-content: space-evenly;
}

section#contact > div:first-child > div {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: start;
}

section#contact > div:first-child > div h2, section#contact > div:first-child > div p {
    margin-left: 50px;
}

section#contact > div:last-child {
    display: flex;
    justify-content: start;
    align-items: center;
}

h1, h2, p, a {
    color: var(--font-color);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-family: var(--title-font);
    font-weight: 300;
    font-size: 2rem;
}

p {
    font-family: var(--text-font);
    line-height: 1.5;
}

span {
    font-weight: 700;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

table {
    font-family: var(--text-font);
    border-spacing: 0;
}

th, td {
    text-align: center;
    vertical-align: middle;
}

th:first-child, td:first-child {
    padding: 15px 30px 15px 0;
}

th:not(:first-child), td:not(:first-child) {
    padding: 15px 30px;
}

blockquote {
    margin-top: 50px;
    margin-bottom: 20px;

    font-style: italic;
}

blockquote p::before {
    content: '\201C';
  }
  
blockquote p::after {
    content: '\201D';
}

label {
    display: block;
    margin-bottom: 25px;

    font-family: var(--text-font);
    font-size: 1rem;
    font-weight: 300;
    color: var(--font-color);
}

input[type="text"], input[type="email"], textarea {
    width: 400px;
}

textarea {
    resize: none;
}

.width {
    width: 50%;
}

.input-style {
    background-color: var(--softened-color);
    border: none;
    border-bottom: 1px solid var(--font-color);
    outline: none;
    padding: 5px;

    font-family: var(--text-font);
    font-size: 1rem;
    color: var(--font-color);
  }

.main-font {
    font-family: var(--main-font);
}

.button, input[type="button"] {
    background-color: var(--main-color);
    padding: 10px 15px;

    border-radius: 5px;
    border: 2px solid var(--highlight-color);

    font-family: var(--title-font);
    font-weight: 700;

    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.button:hover, input[type="button"]:hover {
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.form-group {
    margin-bottom: 50px;
}

@media only screen and (max-width: 375px) {

    header nav {
        font-size: 0.75rem;
    }
}

@media only screen and (max-width: 500px) {

    header nav {
        flex-direction: column-reverse;
    }

    header nav div:first-child {
        margin-top: 30px;
    }

    header nav a {
        margin: 0 10px 0;
	    font-weight: 700;
    }

    table {
        font-size: 0.75rem;
    }

    input[type="text"] {
        size: 20;
    }

}

@media only screen and (max-width: 520px) {

    header nav {
        justify-content: center;
    }

    section#banner {
        padding-bottom: 50px;
    }

    section#classes {
        padding-bottom: 50px;
    }

    section#classes p {
        font-size: 2rem;
    }

    section#about {
        margin: 50px 0;
    }

    section#contact {
        padding-top: 25px;
    }

    h2 {
        font-size: 1.25rem;
    }

    th:first-child, td:first-child {
        padding: 10px 20px 10px 0;
    }
    
    th:not(:first-child), td:not(:first-child) {
        padding: 10px 20px;
    }

    input[type="text"], input[type="email"], textarea {
        width: 250px;
    }

}

@media only screen and (max-width: 860px) {

    section#comments > div:last-child {
        flex-direction: column;
        align-items: center;
        
        margin-top: 75px;
    }

    section#comments > div:last-child > div {
        width: 75%;
        margin-bottom: 75px;
    }

    blockquote {
        margin-top: 20px;
    }
}

@media only screen and (max-width: 1200px) {
    
    img {
        max-width: 25%;
        height: auto;
        display: block;
    }

    .width {
        width: 100%;
    }

    section {
        flex-direction: column;
        align-content: center;
        justify-content: space-evenly;
        min-height: 60vh;
    }
    
    section#banner > div:last-child {
        align-items: center;
    }
    
    section#banner > div:last-child > div {
        width: 80%;
        margin: 15px 0;
    }

    section#classes > div > div {
        margin: 15px 0;
    }

    section#classes > div:first-child > div:last-child {
        margin-left: 0;
        display: flex;
        justify-content: center;
    }

    section#about > div:first-child > div:first-child {
        margin: 15px 0;
    }

    section#about > div:first-child > div:last-child p {
        margin-right: 50px;
    }

    section#comments img {
        height: auto;
    }

    section#contact {
        padding-bottom: 50px;
    }

    section#contact > div:first-child > div {
        margin: 15px 0;
    }

    section#contact > div:last-child {
        justify-content: center;
    }

}