@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;700;800&display=swap');

:root {
    --banner-color: #403D42;
}

body {
    background: #f7f4f4;
    color: var(--banner-color);
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6em;
    margin: 0;
}

.container, .navigation {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

#main-header {
    background: var(--banner-color);
    color: #fff;
}

#navbar {
    min-height: 50px;
    background: var(--banner-color);
    color: #fff;
}

#navbar ul {
    padding: 0;
    list-style: none;
}

#navbar li {
    display: inline;
}

#navbar a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    padding-right: 15px;
    transition-property: all;
    transition-duration: 0.25s;
}

#navbar a:hover {
    font-size: 21px;
}

#showcase {
    background: url('../images/night_sky.jpg') no-repeat center center/cover;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    font-size: 35px;
    line-height: 1.8em;
}

#main-extras {
    float: left;
    width: 50%;
    padding: 0 20px;
    box-sizing: border-box;
}

#main h1, #main-about h1 {
    font-size: 2rem;
}

#main {
    padding: 0 20px;
}

#main ul {
    margin: 10px 0 30px 0;
    padding: 0;
    list-style: none;
}

#main ul li {
    margin: 15px 20px;
}

#main-contact ul.contact {
    margin: 40px;
    padding: 0;
    line-height: 1.6;
    list-style: none;
}

#main-contact ul.contact li {
    font-size: 1.6rem;
    margin: 20px 0;  
}

#main a,
#main-extras a {
    background: var(--banner-color);
    color: #fff;
    text-decoration: none;
    padding: 5px 20px;
    border-radius: 8px;
    transition: all 0.05s;
}

#main a:hover,
#main-extras a:hover {
    padding: 6px 21px;
    background: #ddd;
    color: var(--banner-color);
    border: var(--banner-color) 1px solid;
}

.bullets {
    list-style: disc;
    margin-left: 30px;
}

#main a {
    font-size: 1.2rem;
}

#main pre {
    margin: 0;
}

#main h4 {
    padding: 10px 0;
    margin: 0;
    font-size: 1.2rem;
}

#sidebar,
#sidebar-extras,
#sidebar-contact {
    float: right;
    width: 30%;
    padding: 10px;
    box-sizing: border-box;
}

#sidebar-extras {
    width: 50%;
}

#sidebar img,
#sidebar-contact img {
    width: 100%;
}

.contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.contact-info a {
    color: var(--banner-color);
    text-decoration: none;
    display: inline-flex;
    padding: 20px 20px 0 0;
}

.contact-info a p {
    margin-top: 0;
    font-size: 18px;
    font-weight: 700;
}

.contact-info a img {
    height: 45px;
}

.contact-info .logo i {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info .logo .image {
    display: flex;
    justify-content: center;
    transform: scale(1.15);
    padding-bottom: 7px;
}

.images {
    display: flex;
    flex-wrap: wrap;
}

.images .screenshot img {
    height: 350px;
    padding: 10px;
}

.image {
    padding: 10px;
}

#sidebar-extras .image {
    padding: 0 5px;
}

#sidebar-extras .image img {  
    width: 200px;
}

#main-footer {
    background: var(--banner-color);
    color: #fff;
    text-align: center;
    margin-top: 20px;
}

#main-footer p {
    padding: 10px;
}


@media(max-width: 798px) {
    .container, .navigation {
        width: 95%;
        margin: auto;
        overflow: hidden;
    }

    #navbar.active li {
        display: list-item;
    }

    #navbar.active li a {
        font-size: 2rem;
        font-weight: 700;
        line-height: 2.2em;
    }

    #navbar.active li a:hover {
        font-size: 3.2rem;
    }

    .navigation {
        display: none;
    }

    .navigation.active {
        display: list-item;
    }

    .toggle {
        left: 0;
        width: 60px;
        height: 60px;
        background: url('../images/menu.png');
        z-index: 20;
        background-size: 30px;
        background-repeat: no-repeat;
        background-position: center;
        transform: scale(2.0);
        cursor: pointer;
    }
    
    .toggle.active {
        background: url('../images/close.png');
        background-size: 25px;
        margin-bottom: 60px;
        z-index: 20;
        background-repeat: no-repeat;
        background-position: center;
        transform: scale(1.5);
        cursor: pointer;
    }

    #main-extras iframe,
    #main iframe {
        width: 352px;
        height: 198px;
    }

    #main-extras {
        width: 90%;
        float: none;
        padding: 0;
    }
    
    #sidebar-extras {
        width: 90%;
        float: none;
    }

    #main-contact ul.contact li {
        font-size: 0.9rem;
        margin: 20px 0;  
    }

}