@font-face {
    font-family: Proxima Nova Semibold;
    src: url("fonts/Proxima-Nova-Sbold.otf");
}

@font-face {
    font-family: Proxima Nova Regular;
    src: url("fonts/ProximaNova-Regular.otf");
}

html, body {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

#content-container {
    width: 100vw;
    min-height: 100vh;
    max-height: fit-content;
    background-image: url("img/bkg.jpg");
    background-size: cover;
    background-position: center;
    position: fixed;
    overflow: scroll;
}

#content-tint {
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    display: block;
    position: absolute;
    z-index: 1;
    position: fixed;
}

#content {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#text-content {
    margin-top: 60px;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1, p {
    text-align: center;
}

h1 {
    font-family: "Proxima Nova Regular", sans-serif;
    font-size: 45px;
    margin-bottom: 20px;
}

p {
    font-family: "Proxima Nova Regular", sans-serif;
    font-size: 19px;
    margin-top: 20px;
}

#separator {
    width: 75px;
    border-bottom: 3px white solid;
}

#box-content {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.box {
    width: 400px;
    height: 200px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.88);
    cursor: pointer;
    border-radius: 6px;
    box-shadow: 0px 0px 59px 0px rgba(0, 0, 0, 0.5);
    position: relative;
}

#scl-box img {
    width: 80%;
}

#jsf-box img {
    width: 68%;
}

.hidden-content {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgb(0, 19, 51);
    box-sizing: border-box; 
    padding: 20px;
    opacity: 0;
    transition: opacity 0.6s;
}

.hidden-content p {
    color: white;
    font-size: 18px;
}

.hidden-content a, .hidden-content a:visited {
    color: white;
}

@media only screen and (max-width: 1000px) {
    #box-content {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .box {
        width: 70vw;
        height: 150px;
        margin-bottom: 30px;
    }

    #jsf-box {
        margin-bottom: 80px;
    }
}

@media only screen and (min-width: 600px) and (max-width: 1000px) {
    .box {
        width: 50vw;
    }

    .box img {
        width: 60%;
    }
}

@media only screen and (max-width: 600px) {
    .box {
        height: 220px;
    }

    .hidden-content p {
        font-size: 16px;
    }
}