/*CSS page for Anthony Lum's Web 2 Project*/

/*CSS RESET*/
* {
    margin: 0;
    padding: 0;
    /* border: 1px solid red; */
    box-sizing: border-box; /* include border inside width calculation */
}

/* 
███    ███  █████  ██ ███    ██     ███████ ████████ ██    ██ ██      ███████ ███████ 
████  ████ ██   ██ ██ ████   ██     ██         ██     ██  ██  ██      ██      ██      
██ ████ ██ ███████ ██ ██ ██  ██     ███████    ██      ████   ██      █████   ███████ 
██  ██  ██ ██   ██ ██ ██  ██ ██          ██    ██       ██    ██      ██           ██ 
██      ██ ██   ██ ██ ██   ████     ███████    ██       ██    ███████ ███████ ███████ 
                                                                               
*/

/* FONTS */
.bebas {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
}

main {
    font-family: Arial, Helvetica, sans-serif;
    padding: 10px;
}

nav {
    position: fixed;
    width: 100%;
    height: 80px;
    padding: 15px;
    margin-bottom: 80px;
    background-color: lightgrey;
    box-shadow: 0px 2px rgba(136, 136, 136, 0.15);
}

.imgwidth {
    width: 100%;
}

/* Content */
body {
    background-color: #fcf7ee;
}

.flex-container {
    display: flex;
}

.flex-container-nav {
    display: flex;
    align-items: center;
}

.nav-item {
    display: flex;
}

.nav-item img {
    width: 30%;
}

#nav-logo {
    justify-content: flex-start;
}

#nav-name {
    justify-content: center;
}

#nav-name a {
    color: black;
    text-decoration: none;
    font-weight: bolder;
}

#nav-menu {
    justify-content: flex-end;
}

#menu-links {
    display: none; /* initial state of none or hide or gone */
    flex-direction: column;
    align-items: flex-end;
}

#menu-links ul {
    display: flex;
    list-style: none;
    background-color: lightgrey;
}

#menu-links li {
    border: 1px solid black;
    width: 200px;
}

#menu-links ul li a {
    display: inline-block;
    width: 100%;
    padding: 20px;
    color: black;
    text-align: center;
    text-decoration: none;
}

.button {
    width: 100px;
    margin: 10px;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    background-color: #2c2e33;
    color: white;
}

.underline-link {
    color: #2c2c2c;
}

.flex-container-cards-parent {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flex-container-cards {
    display: flex;
    flex-direction: column;
    width: 50%;
    margin: 20px 0px;
    padding: 20px;
    text-align: center;
}

#hero-image {
    width: 100%;
}

.imgwidth img {
    width: 100%;
}

#hero-text {
    margin-top: 20px;
}

#hero-text p {
    margin: 15px 0px;
}

.section-hero {
    padding: 15px 0px;
}

form .searchbar{
    background-color: #fcf7ee;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 3px solid black;
    height: 30px;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .flex-container-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #menu-links ul {
        flex-direction: column;
    }

    .col-xs-1 {
        width: 8.33%;
    }
    .col-xs-2 {
        width: 16.66%;
    }
    .col-xs-3 {
        width: 25%;
    }
    .col-xs-4 {
        width: 33.33%;
    }
    .col-xs-5 {
        width: 41.66%;
    }
    .col-xs-6 {
        width: 50%;
    }
    .col-xs-7 {
        width: 58.33%;
    }
    .col-xs-8 {
        width: 66.66%;
    }
    .col-xs-9 {
        width: 75%;
    }
    .col-xs-10 {
        width: 83.33%;
    }
    .col-xs-11 {
        width: 91.66%;
    }
    .col-xs-12 {
        width: 100%;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .flex-container-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #menu-links ul {
        flex-direction: column;
    }

    .col-sm-1 {
        width: 8.33%;
    }
    .col-sm-2 {
        width: 16.66%;
    }
    .col-sm-3 {
        width: 25%;
    }
    .col-sm-4 {
        width: 33.33%;
    }
    .col-sm-5 {
        width: 41.66%;
    }
    .col-sm-6 {
        width: 50%;
    }
    .col-sm-7 {
        width: 58.33%;
    }
    .col-sm-8 {
        width: 66.66%;
    }
    .col-sm-9 {
        width: 75%;
    }
    .col-sm-10 {
        width: 83.33%;
    }
    .col-sm-11 {
        width: 91.66%;
    }
    .col-sm-12 {
        width: 100%;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .flex-container-buttons {
        flex-direction: row;
        align-items: center;
    }

    .flex-container-buttons a {
        margin-right: 40px;
    }
    .col-md-1 {
        width: 8.33%;
    }
    .col-md-2 {
        width: 16.66%;
    }
    .col-md-3 {
        width: 25%;
    }
    .col-md-4 {
        width: 33.33%;
    }
    .col-md-5 {
        width: 41.66%;
    }
    .col-md-6 {
        width: 50%;
    }
    .col-md-7 {
        width: 58.33%;
    }
    .col-md-8 {
        width: 66.66%;
    }
    .col-md-9 {
        width: 75%;
    }
    .col-md-10 {
        width: 83.33%;
    }
    .col-md-11 {
        width: 91.66%;
    }
    .col-md-12 {
        width: 100%;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    #menu-links {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
    }

    #menu-links ul {
        flex-direction: row;
    }

    #nav-menu {
        display: none; /* remove hamburger from the menu */
    }
    .section-hero {
        display: flex;
        flex-direction: row-reverse;
    }

    #hero-text-container {
        padding: 70px;
    }

    .flex-container-cards-parent {
        flex-direction: row;
        align-items: center;
        width: 60%;
        margin: 0 auto;
    }

    .flex-container-cards {
        margin: 0px 60px;
    }

    .col-lg-1 {
        width: 8.33%;
    }
    .col-lg-2 {
        width: 16.66%;
    }
    .col-lg-3 {
        width: 25%;
    }
    .col-lg-4 {
        width: 33.33%;
    }
    .col-lg-5 {
        width: 41.66%;
    }
    .col-lg-6 {
        width: 50%;
    }
    .col-lg-7 {
        width: 58.33%;
    }
    .col-lg-8 {
        width: 66.66%;
    }
    .col-lg-9 {
        width: 75%;
    }
    .col-lg-10 {
        width: 83.33%;
    }
    .col-lg-11 {
        width: 91.66%;
    }
    .col-lg-12 {
        width: 100%;
    }
}
