/* Custom Font */
@font-face {
    font-family: Futura;
    src: url(assets/fonts/Futura_Light.otf);
}
/*-------------*/

body {
    background: url(assets/images/webb-dark.png) repeat;
    transition-duration: 0.4s;
}

/*Main*/
#container {
    width: 75%;
    font-family: Futura;
    margin: 20px auto;
    background-color: #2c2c2c;
    border: 2px solid lightgray;
    border-radius: 15px;
    color: lightgray;
}

.row {
    display: flex;
}
/*----*/

/*Various Stylization*/
nav {
    font-size: 5px;
    margin: 0.6em;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #372736;
    border: 1px solid lightgray;
    border-radius: 10px;
    transition-duration: 0.4s;
}

nav ul {
    display: flex;
}

nav li {
    display: inline-block;
}

main {
    margin: 0.6em;
    padding: 0.6em;
    order: 2;
    flex: 3;
}

#sidebar_left {
    margin-left: 0.6em;
    margin-top: 1em;
    padding: 10px;
    order: 1;
    flex: 1;
}

#sidebar_right {
    margin-right: 0.6em;
    margin-top: 1em;
    order: 3;
    flex: 1;
    border-radius: 5px;
}

header {
    padding: 0.6em;
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    text-shadow: 0px 5px 5px #000000;
}

footer {
    font-size: 10px;
    padding: 0.6em;
    text-align: right;
}

img {
    border-radius: 5px;
    box-shadow: 0px 5px 5px #000000;
}
/*-------------------*/

/*Nav Buttons*/
.button {
    display: flex;
    font-size: 30px;
    font-weight: bold;
    padding: 10px 20px;
    text-decoration: none;
    background-color: #372736;
    color: lightgray;
    transition-duration: 0.4s;
    border-radius: 5px;
}

.button:hover {
    color: #2c2c2c;
    background-color: lightgray;
}

.button:focus {
    color: lightgray;
    background-color: #823180;
}

.buttonside {
    display: flex;
    margin-top: 0.4em;
    font-size: 20px;
    font-weight: bold;
    padding: 10px 20px;
    text-decoration: none;
    background-color: #372736;
    color: lightgray;
    transition-duration: 0.4s;
    border: 1px solid lightgray;
    border-radius: 5px;
}

.buttonside:hover {
    color: #2c2c2c;
    background-color: lightgray;
}

.buttonside:focus {
    color: lightgray;
    background-color: #823180;
}
/*-----------*/

/* Image Size Control and Alignment*/
.carousel {
    width: 70%;
    margin: auto;
}

.card {
    margin: auto;
}
/*-----------------------------*/

/* Media Query */
@media screen and (max-width: 768px) {
    .row {
        flex-direction: column;
    }

    .button {
        flex-direction: column;
    }

    nav {
        background-color: #3c1912;
        transition-duration: 0.4s;
    }

    .button {
        background-color: #3c1912;
    }

    .buttonside {
        background-color: #3c1912;
    }

    nav ul {
        flex-direction: column;
    }

    nav li {
        flex-direction: column;
    }

    body {
        background: url(assets/images/webb-cushion.png) repeat;
        transition-duration: 0.4s;
    }
}
/*-------------*/