HTML,body,*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

@font-face{
    font-family: Oswald;
    src: url(fonts/Oswald-Regular.ttf);
}

body{
    font-family: 'Roboto', sans-serif;
}

header{
    height: 130px;
    width: 100%;
    background-image: url(../images/headerbg-1.jpg);
    background-size: cover;
    display: flex;
    justify-content: space-between;
}

#logo{
    width: 40%;
    height: 100%;
    padding: 10px;
}

#logo img{
    width: auto;
    height: 100%;
}

.slider img{
    width: 100%;
    height: auto;
}

main{
    width: 100%;
    padding: 10px;
}

#welcome{
    width: 100%;
    height: auto;
    color: #ed1c24;
    font-family: Oswald;
    font-size: 32px;
    line-height: 36px;
    padding: 10px 0 0 5px;
    border-left: #ed1c24 5px solid;
}

.description{
    padding-top: 10px;
    color: #000000;
    font-size: 16px;
    text-align: justify;
}

#mainback{
    display: none;
}

#bestedu{
    width: 100%;
    height: auto;
    background-color: #000000;
    color: #ffffff;
    padding: 20px 0 20px 0;
}

#bestedu h2{
    font-family: Oswald;
    font-size: 26px;
}

.photo, .info{
    width: 100%;
    height: auto;
}

.photo img{
    width: 100%;
    height: auto;
}

#wrapper{
    margin-top: 12px;
    display: flex;
    flex-direction: column;
}

.info a{
    text-decoration: none;
    font-size: 20px;
    color: #ed1c24;
    font-family: Oswald;
}

.info a:hover{
    text-decoration: underline;
    cursor: pointer;
}

#fact{
    padding: 30px 10px 30px 10px;
    width: 100%;
    color: #000000;
    font-family: Oswald;
    font-size: 20px;
}

#fact a{
    text-decoration: none;
    font-size: 22px;
    font-weight: 200;
    color: #ed1c24;
}

#fact a:hover{
    text-decoration: underline;
    cursor: pointer;
}

#locations{
    padding: 50px 0 50px 0;
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
}

#locations h3{
    color: #ed1c24;
    font-family: Oswald;
    font-size: 18px;
}

#locations img{
    width: 20px;
    height: 20px;
    margin: 10px 0 -3px 0;
}

footer{
    height:auto;
    background-color: #2e2d2d;
    color: #ffffff;
    padding: 12px 12px 14px 12px;
    display: flex;
    justify-content: center;
    flex-direction: column-reverse;
    font-size: 12px;
    text-align: center;
}

footer p{
    text-align: center;
    margin-top: 0;
}

#socialMedia{
    width: 80%;
    margin: 8px auto;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

#socialMedia img{
    width: 30px;
    height: 30px;
}

#recent a{
    color: black;
}

#recent a:hover{
    color: #ed1c24;
}

#recent ul{
    margin-left: 30px;
}

#scrolltop{
    position: fixed;
    bottom: 3%;
    right: 2%;
    background-color: #ed1c24;
    color: #ffffff;
    width: 30px;
    height: 30px;
    font-size: 20px;
    text-align: center;
    border-radius: 5px;
    box-shadow: #2e2d2d 2px 2px 2px;
    z-index: 999999;
}

#scrolltop a{
    text-decoration: none;
    color: #ffffff;
}

#prizes{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
}

.medals{
    text-align: center;
}

@media screen and (min-width: 728px) {
    header{
        height: 185px;
        padding: 0.2% 5% 0.2% 5%;
    }

    #logo{
        width: 30%;
    }

    #welcome{
        font-size: 36px;
    }

    main{
        width: 80%;
        line-height: 1.5;
        margin: 0 auto 40px auto;
    }

    #mainback{
        width: 24%;
        height: auto;
        display: block;
        position: absolute;
        top: 80%;
        right: 6%;
        z-index: -1;
        opacity: .7;
    }

    #wrapper{
        width: 80%;
        margin: 0 auto;
        flex-direction: row;
        justify-content: space-between;
    }

    .photo{
        width: 38%;
        height: auto;
    }

    .info{
        width: 60%;
        height: auto;
    }

    .info{
        line-height: 1.5;
    }

    .location{
        width: 33%;
    }

    #locations{
        flex-direction: row;
        justify-content: space-around;
    }

    #fact{
        text-align: center;
        width: 80%;
        margin: 0 auto;
    }

    footer p{
        text-align: left;
        margin-top: -28px;
    }

    #socialMedia{
        width: 20%;
    }

    #prizes{
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }

}