@charset "utf-8";

@font-face {
  font-family: 'Alegreya Sans SC';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/AlegreyaSansSC-Regular.woff');
  src: url('../fonts/AlegreyaSansSC-Regular.woff2') format('woff2'), url('../fonts/AlegreyaSansSC-Regular.woff') format('woff');
}

* {
    box-sizing: border-box;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    hyphens: auto;
}

body {
    margin: 0;
    padding: 0;
}

.background {
    background: url("../img/background.jpg");
    background-size: cover;
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: -50;
}

main {
    background-color: rgba(255,255,255,0.93);
    color: #282828;
    height: 100%;
    margin: auto;
    padding: 2vh 4vw;
    width: 88%;
}

a {
    color: #2F2F2F;
    text-decoration: none;
}

table {
    border-spacing: 2vw 1vh;
    margin: auto;
    margin-top: -1vh;
}

h1 {
    text-align: center;
}

header {
    background-attachment: fixed;
    background-image: url("../img/background.jpg");
    background-size: cover;
    height: 14vh;
    position: sticky;
    top: 0;
    z-index: 50;
}

footer {
    background-color: #DB0014;
    bottom: 0;
    height: 6vh;
    left: 0;
    position: fixed;
    width: 100%;
    z-index: 50;
}

footer ul {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: space-evenly;
    list-style: none;
    margin: auto;
    padding: 0;
    width: 60%;
}

footer ul li a {
    color: #F2F2F2;
    font-family: 'Alegreya Sans SC', sans-serif;
    font-size: 120%;
}

footer ul li a:hover::after {
    content: "\00BB";
    margin: 0 0.5vw;
    position: absolute;
}

.social-bar {
    background-color: rgba(248,248,248,0.85);
    border-radius: 3px;
    position: fixed;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
}

.social-bar a {
    color: #DB0014;
    display: block;
    font-size: 25px;
    margin: 32px 16px;
    text-align: center;
}

.social-bar a:hover {
    color: #DB0014;
    transform: scale(1.7);
    transition: 0.8s;
}

.spacer {
    height: 10vh;
}

.nav-main {
    height: 100%;
    width: 100%;
    position: absolute;
}

.nav-main-background {
    background-color: #DB0014;
    bottom: 30%;
    position: absolute;
    top: 30%;
    width: 100%;
    z-index: -50;
}

.nav-main ul {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: space-evenly;
    list-style: none;
    margin: auto;
    padding: 0;
    width: 80%;
}

.nav-main ul li a {
    color: #FFFFFF;
    font-family: 'Alegreya Sans SC', sans-serif;
    font-size: 145%;
}

.nav-main ul li a:hover::after {
    content: "\00BB";
    margin: 0 0.5vw;
    position: absolute;
}

.nav-main li.nav-main-logo a img {
    height: 12vh;
    transition: 0.8s;
}

.nav-main li.nav-main-logo a img:hover {
    border-bottom: none;
    transform: scale(1.1);
}

.nav-main li.nav-main-logo a:hover::after {
    content: none;
}

.nav-responsive {
    display: none;
    height: 100%;
    width: 100%;
}

.nav-responsive-button {
    height: 100%;
    width: 35%;
}

.nav-responsive-logo {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    width: 30%;
}

.nav-responsive-social {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: right;
    width: 35%;
}

#nav-responsive-button-input {
    display: none;
}

.nav-responsive-button-symbol {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: left;

}

.nav-responsive-button-symbol::before {
    color: #FFFFFF;
    cursor: pointer;
    font-size: 4vh;
    margin: 0vw 2vw 0vw 3vw;
}

.nav-responsive-logo a {
    height: 90%;
}

.nav-responsive-logo a img {
    height: 100%;
}

.nav-responsive-social a {
    color: #FFFFFF;
    font-size: 3vh;
    margin: 0vw 4vw 0vw 2vw;
}

.nav-responsive-menu {
    background-color: #DB0014;
    display: none;
    height: 100%;
    left: -100%;
    position: fixed;
    top: 0;
    transition: 0.4s;
    visibility: hidden;
    width: 100%;
    z-index: -50;
}

.nav-responsive-menu ul {
    height: 100%;
    margin-top: 8vh;
    padding: 1vh 0vw;
    text-align: center;
}

.nav-responsive-menu ul li a {
    color: #FFFFFF;
    display: block;
    font-size: 3vh;
    padding: 2.5vh 0vw;
}

@media screen and (max-width: 960px) {
    .background {
        background: linear-gradient(rgba(255,255,255,0.93) 100%, rgba(255,255,255,0.93) 100%), url("../img/background.jpg");
        background-size: cover;
    }

    main {
        background: none;
        width: 100%;
    }

    header {
        background-color: #DB0014;
        background-image: none;
        height: 8vh;
    }

    footer {
        display: none;
    }

    .nav-main {
        display: none;
    }

    .social-bar {
        display: none;
    }

    .spacer {
        display: none;
    }

    .nav-responsive {
        display: inline-flex;
    }

    .nav-responsive-menu {
        display: block;
    }

    #nav-responsive-button-input:checked ~ .nav-responsive-menu {
        visibility: visible;
        left: 0;
    }
}
