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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #42434b;
    line-height: 1.6;
}

section {
    padding: 50px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

article {
    width: 100%;
    max-width: 1200px;
}

h1 {
    font-family: Oswald, sans-serif;
    font-size: 1.7em;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 300;
    color: #808080;
}

h2 {
    font-family: Oswald, sans-serif;
    font-size: 1.4em;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 1px;
    font-weight: 500;
    margin: 10px 20px;
}

a {
    font-size: 1em;
    text-decoration: none;
    color: #fe7ec9;
}

a:hover {
    color: #fe58b9;
}

li {
    list-style: none;
}

img {
    max-width: 100%;
    border: 0;
    display: block;
}

svg {
    max-width: 100px;
}


header {
    position: sticky;
    top: 0px;
    left: 0px;
    z-index: 20;
    height: 80px;
    background-color: rgba(240, 240, 240, 0.9);
    display: flex;
    justify-content: center;
}

header nav {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

header figure.logo {
    width: 200px;
    display: flex;
    align-items: center;
    margin-left: 10px
}

header figure.toggle {
    width: 30px;
    margin-right: 20px;
}

header ul.hide {
    display: none;
}

header ul {
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color:rgba(240, 240, 240, 0.9);
    border-bottom: 1px solid lightgray;
}

header li {
    border-top: 1px solid lightgray;
    text-align: center;
    padding: 10px 15px;
}

header li a,
header li a:active
header li a:visited {
    display: block;
    color: #42434b;
    font-size: 1em;
    text-transform: uppercase;
    width: 100%;
    height: 100%;
    user-select: none;
}

header li a:hover {
    color: #030303
}

footer {
    background-color: #333333;
    padding: 30px 0px;
}

footer ul {
    display: flex;
    justify-content: center;
}

footer li {
    margin: 10px 5px;
}

footer figure.icon {
    fill: white;
    width: 25px;
}

footer p {
    width: 100%;
    font-size: 0.8em;
    text-align: center;
    color: white;
}

#home article {
    position: relative;
}

#home figure.shape {
    height: 20px;
    background-image: linear-gradient(45deg, #feca02, #fe7ec9);
}

#home figure.image {
    height: 100vw;
    max-height: 500px;
    background-size: cover;
    background-position: 50%;
}

#home h3 {
    position: absolute;
    top: 100px;
    width: 100%;
    color: #28a54a;
    text-align: center;
    font-size: 2em;
    line-height: 2em;
    text-shadow: -1px -1px 2px white, 1px 1px 2px black;
    text-transform: uppercase;
    font-weight: 700;
    padding: 5px 0px;
    background-color: rgba(0, 0, 0, 0.5);
    font-family: Oswald,sans-serif;
}

#home h4 {
    position: absolute;
    top: 300px;
    width: 100%;
    text-align: center;
    color: white;
    padding: 5px 0px;
    background-color: rgba(0, 0, 0, 0.5);
}

#home ul {
    display: flex;
    flex-wrap: wrap;
}

#home li {
    flex-grow: 1;
    min-width: 150px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#home figure.icon {
    width: 70px;
    height: 70px;
    fill: white;
}

#home h5 {
    text-align: center;
    color: white;
    font-weight: 700;
    line-height: 1.5;
    font-size: 1.5em;
    font-family: Oswald,sans-serif;
}

#quote h3 {
    font-family: Oswald, sans-serif;
    font-size: 1.5em;
    width: 100%;
    color:white;
    margin-bottom: 20px;
    text-align: center;
}

#quote figure.line {
    margin: 20px;
}

#quote figure.line div {
    background-color: white;
    height: 3px;
}

#quote p {
    color:white;
    text-align: justify;
    padding: 0px 20px;
}

#about ul li:first-child h3,
#about ul li:first-child p {
    text-align: right;    
}

#about h3 {
    font-family: Oswald, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    font-size: 1.25em;
    margin: 30px 20px 10px 20px;
}

#about p {
    font-style: italic;
    margin: 10px 20px;
}

#about figure.image {
    display: none;
}

#courses h1 {
    color: white;
}

#courses h2 {
    color: white;
}

#courses ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    /* flex-grow: 1; */
}

#courses li {
    flex-grow: 1;
    max-width: 300px;
    margin: 20px 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
}

#courses h3 {
    text-transform: uppercase;
    font-weight: 500;
    font-family: Oswald,sans-serif;
}

#courses p {
    margin-top: 10px;
    font-style: italic;
    text-align: justify;
}

#courses figure.icon {
    margin: 10px;
    width: 100px;
}

#curriculum ul {
    margin: 20px;
}

#curriculum li {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 20px;
}

#curriculum figure.icon {
    border-radius: 50%;
    width: 70px;
    height: 70px;
    padding: 15px;
    fill: white;
}

#curriculum h3 {
    color: #808080;
    line-height: 1.2;
    font-size: 1.5em;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 300;
    font-family: Oswald,sans-serif;
    margin: 10px;
}

#curriculum p {
    color: #808080;
    font-style: italic;
    text-align: justify;
    margin: 10px 0px;
}

#curriculum figure.image-1 {
    width: 100%;
}

#curriculum figure.image-2 {
    display: none;
}

#info figure.image-1 {
    display: none;
}

#info figure.image-2 {
    display: none;
}

#info h3 {
    font-size: 1.7em;
    color: white;
    text-align: center;
    margin: 20px;
}

#info p {
    margin: 20px 40px;
    color: white;
    text-align: justify;
}

#activity figure.image {
    margin: 20px 0px;
}

#activity h3 {
    margin: 20px;
    text-align: center;
}

#activity p {
    margin: 0px 20px;
    text-align: justify;
}

#contact article {
    display: flex;
    flex-wrap: wrap;
}

#contact h3 {
    width: 100%;
    font-family: Oswald, sans-serif;
    font-size: 1.7em;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: 1px;
    font-weight: 300;
    color: white;
}

#contact p {
    color: white;
    padding: 20px;
    text-align: justify;
}

#contact a {
    color: #feca02;
}

#contact h4 {
    width: 100%;
    margin: 20px;
    font-size: 1em;
    text-align: justify;
    color: white;
}

#link ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

#link li {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding: 20px;
}

#link a {
    font-family: Oswald, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    color: #488df4;
}

#link a:hover {
    color: #69a0f1;
}

#link figure.icon {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    padding: 10px;
    fill: white;
    margin: 0px 20px;
}

.palette-1 {
    color: #fe7ec9;
}

.palette-2 {
    color: #38c4c1;
}

.palette-3 {
    color: #feca02;
}

.palette-4 {
    color: #488df4;
}

.background-1 {
    background-color: #fe7ec9;
}

.background-2 {
    background-color: #38c4c1;
}

.background-3 {
    background-color: #feca02;
}

.background-4 {
    background-color: #488df4;
}


@media (min-width: 1000px) {

    body {
        font-size: 18px;
    }

    header figure.toggle {
        display: none;
    }

    header nav {
        flex-wrap: nowrap;
    }

    header ul.hide {
        display: flex;
    }

    header ul {
        flex-direction: row;
        width: auto;
        margin-right: 10px;
        background: none;
        border: none;
    }

    header li {
        width: auto;
        border: none;
    }

    #courses ul {
        flex-wrap: nowrap;
    }
    #courses li {
        width: 20%;
    }

    #quote figure.line {
        width: 150px;
    }

    #quote p {
        margin-top: -30px;
        margin-left: 170px;
    }

    #about ul {
        display: flex;
        justify-content: space-between;
    }

    #about li{
        width: 33%;
    }

    #about figure.image {
        margin: 20px;
        display: block;
        height: 100%;
        background-size: cover;
    }

    #curriculum article {
        display: flex;
        justify-content: space-evenly;
    }

    #curriculum div {
        padding-top: 20px;
        width: 45%;
    }

    #curriculum figure.image-2 {
        height: 100%;
        display: block;
    }

    #curriculum ul {
        margin: 0px;
    }

    #curriculum li {
        margin: 0px 0px 20px 0px;
    }

    #info ul {
        display: flex;
        justify-content: space-evenly;
    }

    #info li{
        width: 33%;
    }

    #info figure.image {
        display: block;
        height: 100%;
        background-size: cover;
    }

    #contact p {
        width: 50%;
    }

}

@media (min-width: 1300px) {

    #home {
        height: 700px;
    }

    #home figure.shape {
        position: absolute;
        width: 50%;
        height: 500px;
        left: 50px;
        top: 100px;
    }

    #home figure.image {
        position: absolute;
        width: 50%;
        height: 500px;
    }

    #home h3 {
        right: 0px;
        width: 40%;
        top: 50px;
        background: none;
        font-size: 3em;
        line-height: 1.5;
        white-space: nowrap;
    }
    
    #home h4 {
        right: 0px;
        top: 250px;
        width: 40%;
    }

    #home ul {
        position: absolute;
        right: 50px;
        top: 350px
    }

    #home li {
        width: 200px;
    }



}