/****************************************************

    Main styles for desktop view

****************************************************/

body::before {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url(/images/rp-selfie2-filter.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 0.7;
}

img {
    width: 100%;
    height: 100%;
}

.w3-grid {
    grid-template-rows: auto;
    width: 100vw;
    height: 100vh;
}

#site-logo,
#about,
#links,
#footer {
    align-content: center;
    width: 33.33vw;
    text-align: center;
    font-size: large;
    padding: 1em 2em;
}

#about,
#footer {
    font-weight: bold;
}

#about {
    font-size: x-large;
    line-height: 1;
}

#links {
    background-color: rgb(255, 255, 255, 0.4);
    border-radius: 2em;
}

#links a {
    margin: 0 1em;
    font-size: xx-large;
    color: #800080;
}

#links a:hover {
    filter: drop-shadow(2px 4px 6px rgb(250, 133, 229));
}

#links img {
    width: 1em;
    height: 1em;
}

#footer h3 {
    font-weight: bold;
}

#footer i {
    margin-right: 0.5em;
    color: #800080;
}

/****************************************************

    Responsive for different screen sizes

****************************************************/

@media screen and (max-width:1500px) {

    #site-logo,
    #about,
    #links,
    #footer {
        width: 50vw;
    }
}

@media screen and (max-width:1340px) {

    #links a {
        margin: 0 0.5em;
    }
}

@media screen and (max-width: 935px) {

    #site-logo,
    #about,
    #links,
    #footer {
        padding: 1em;
        width: 60vw;
    }
}

@media screen and (max-width:900px) {

    #links a {
        font-size: x-large;
    }
}

@media screen and (max-width:750px) {

    #site-logo,
    #about,
    #links,
    #footer {
        width: 100vw;
        padding: 1em;
    }
}

@media screen and (max-height: 775px) {

    #site-logo,
    #about,
    #links,
    #footer {
        padding: 0.5em;
    }

    #site-logo img {
        width: 50vw;
        height: auto;
    }

    #links a {
        font-size: x-large;
    }
}

@media screen and (max-height: 700px) {

    #site-logo,
    #about,
    #links,
    #footer {
        padding: 0.2em;
    }

    #links a {
        font-size: x-large;
    }
}

@media screen and (max-height: 650px) {

    #site-logo,
    #about,
    #links,
    #footer {
        padding: 0.1em;
    }

    #site-logo img {
        width: 30vw;
        height: auto;
    }

    #about {
        line-height: 0.5;
    }
}

@media screen and (max-height: 425px) {

    #site-logo,
    #about,
    #links,
    #footer {
        padding: 1px;
    }

    #site-logo img {
        width: 20vw;
        height: auto;
    }

    #about {
        line-height: 0.5;
    }

    #footer h3 {
        font-size: large;
    }
}