*{
    border:0; padding:0; margin:0; box-sizing: border-box;
}

nav {
    display: flex;
    justify-content: center;
    height: 5vh;
    position: sticky;
    top:0;
    background-color: slategrey;
    min-height: 70px;
}

nav a {
    display: block;
    text-decoration: none;
    margin: 0px 10px;
    font-size: 1.3em;
    padding:0px 25px;
    color: #eee;
    padding-top: 20px;
}

nav h2 {
    padding-bottom: 10px;
}

nav a:hover{
    background-color: rgb(15, 15, 15);
}

h2 {
    margin-right: 150px;
    font-family: 'Dosis', sans-serif;
}

h2 a:hover {
    background: none;
}

#desc {
    text-align: center;
    padding-top: 20px;
    width: 40vw;
    margin: 0px auto;
    font-size: 1.5em;
    font-family: 'Genos', sans-serif
}

#filter p, #filter h3{
    color: #ddd;
}

h1{
    text-align: center;
    padding-top: 20px;
    font-size: 3.5em;
    font-family: 'Dosis', sans-serif;
    border-bottom: 1px solid black;
    width:45vw;
    margin: 0px auto;
}

main{
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 50px
}

main p {
    font-family: 'Genos', sans-serif
}

main img {
    width: 30vw;
    min-width: 400px;
}

#main2 {
    margin-top: 0;
}

.main3 div {
    margin: 0;
    padding: 30px;
}

.main3 h2{
    /* text-align: center; */
    padding-bottom: 20px;
    font-size: 1.9em;
}

.mainbox {
    display: block;
    /* border: 1px solid black; */
    min-height: 40vh;
    width: 30vw;
}

.mainbox h3{
    text-align: center;
    font-size: 2em;
    border-bottom: solid 1px #ddd;
    width: 15vw;
    margin: 0px auto;
}

.mainbox p{
    font-size: 1.4em;
    text-align: center;
    padding-bottom: 20px;
    padding-top: 50px;
}

.vidwrapper {
    width: 100%;
    max-width: 8000px;
    /* border: black 5px solid; */
    margin: 3em 10px;
}

.vidcontainer{
    width: 100%;
    max-width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* border: greenyellow 5px solid; */
    position: relative;
}

.vidcontainer iframe {
    width: 100%;
    max-width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#contact {
    font-size: 2em;
}

#contact a {
    color: #ddd;
    background-color: grey;
    border-radius: 5px;
    display: block;
    width: 50%;
    margin: 0px auto;
    height: 50px;
}

#contact a:hover{
    background-color: #111;
}

footer{
    min-height: 25vh;
    background-color: slategrey;
}

#wrapper{
    display: flex;
    justify-content: center;
}

#wrapper ul{
    margin: 0px 100px;
    font-size: 1.4em;
}

#wrapper li{
    list-style-type: none;
    color: #111;
}
#wrapper a {
    text-decoration: none;
    color: #eee;
    
}
h3{
    color: #111;
}

#wrapper2{
    display: flex;
    background-color: slategrey;

}

#wrapper2 p {
    font-size: 1.2em;
}

#wrapper2 a {
    font-size: 1.2em;
    color: #eee;
    margin: 0px 20px;
}

@media screen and (max-width:1980px) {
    nav{
        height: 8vh;
        min-height: 80px;
    }

    #wrapper2 p {
        font-size: 1em;
    }
    
    #wrapper2 a {
        font-size: 1em;
    }

    #wrapper ul{
        font-size: 1.2em;
    }
    footer{
        min-height: 300px;
    }
}

@media screen and (max-width:1400px){
    nav a {
        margin: 0px 0px;
        font-size: 1em;
        padding:35px 25px;
    }

    #wrapper ul{
        margin: 0px 50px;
        font-size: 1.1em;
    }
    footer {
        height:20vh;
        min-height: 300px;
    }
}

@media screen and (max-width:1040px) {
    h2{
        margin-right:0px;
    }

    footer {
        height:30vh;
        min-height: 300px;
    }

    nav {
        height: 10vh;
    }

    main{
        display: block
    }

    .mainbox{
        width: 100vw;
    }

    #desc {
        width: 90vw;
    }

}

@media screen and (max-width:850px) {
    nav h2{
        display: none;
    }

    .mainbox h3{
        width: 60vw;
    }

    .mainbox p {
        padding: 10px;
    }
    
    footer{
        min-height:100px ;
    }

    nav a {
        margin: 0px 2px;
        padding: 0;
        padding-top: 20px;
    }

    nav{
        height:15vh;
        max-height: 70px;
    }

    h1 {
        font-size: 2.4em;
    }

    #wrapper ul{
        margin: 10px 20px;
        font-size: 1em;
    }

    #wrapper2 p {
        font-size: 1em;
    }
    
    #wrapper2 a {
        font-size: 1em;
        padding:0;
        margin:0;
        display: none;
    }

    header{
        height: 150vh;
    }

}