
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue-text: #477eff;
    --dark-blue: #002b8f;
    --mid-blue: #3ba0ff; 
    --med-blue: #003dcc;
}

html {
    font-family: 'Raleway', sans-serif;
}

a {
    text-decoration: none;
}

/*NAVBAR SECTION*/
#mobile-nav {
    display: none;
}

.nav-bar {
    position: absolute;
    z-index: 2;
    width: 100%;
}

ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    list-style: none;
    height: 10vh;
    background-color: rgba(100, 100, 100, 0.2);
}

li a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
}

#name {
    color: /*#c49e85 #ede8e8 #53554b*/ #aeedde;
    font-family: 'Great Vibes', cursive;
    font-size: 35px;
    font-weight: bold;
}

/*HERO SECTION*/
.container {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.image-container {
    position: relative;
    background-image: url(./images/hero1.jpeg);
    background-size: cover;
    background-position: center;
    height: 100%;
    width: 100%;
    margin-top: 0vh;
    animation: scale 15s;
}
@keyframes scale {
    0% {
       transform: scale(1.5); 
    }
    100% {
        transform: scale(1);
    }
}

.overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-text {
    display: flex;
    justify-content: center;
    align-items: left;
    flex-direction: column;
    position: absolute;
    top: 35%;
    left: 10%;
    font-size: 25px;
    color: #fff;
    text-transform: uppercase;
    z-index: 2;
}

.firstWord {
    color: #aeedde;
}

/*PROJECTS SECTION*/
.project-container {
    width: 100%;
    height: auto;
}

.project-header {
    font-size: 4rem;
    color: #002b8f;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px;
}

.projects {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: wrap;
}

.teacozy-project {
    width: 400px;
    height: 400px;
    background: #fff;
    position: relative;
    box-shadow: -15px 7px 30px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin: 50px;
    background-image: url(./images/rooibostea2.jpg);
    background-size: cover;
    background-position: center;
}

.fotomatic-project {
    width: 400px;
    height: 400px;
    background: #fff;
    position: relative;
    box-shadow: -15px 7px 30px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin: 50px;
    background-image: url(./images/cameragear.jpg);
    background-size: cover;
    background-position: center;
}

.guessnumber-project {
    width: 400px;
    height: 400px;
    background: #fff;
    position: relative;
    box-shadow: -15px 7px 30px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin: 50px;
    background-image: url(./images/copyguessnumber.jpg);
    background-size: cover;
    background-position: center;
}

.text-container {
    position: absolute;
    height: 75px;
    width: 100%;
    z-index: 2;
    left: 0;
    bottom: 0;
    background-color: #fff;
    overflow: hidden;
}

.text-container:hover {
    height: 215px;
}

.name {
    margin-top: 10px;
    margin-left: 5px;
    color: var(--dark-blue);
    font-size: 2rem;
}

.content {
    padding: 25px 0;
    margin-top: 5px;
    margin-left: 5px;
    color: var(--med-blue);
}

.button-tea {
    border: 3px solid var(--blue-text);
    width: 160px;
    box-shadow: -15px 7px 30px rgba(0, 0, 0, 0.2);
    padding: 15px;
    margin-bottom: 50px;
    margin-left: 5px;
}

.button-foto {
    border: 3px solid var(--blue-text);
    width: 160px;
    box-shadow: -15px 7px 30px rgba(0, 0, 0, 0.2);
    padding: 15px;
    margin-bottom: 50px;
    margin-left: 5px;
}

.button-guessnumber {
    border: 3px solid var(--blue-text);
    width: 160px;
    box-shadow: -15px 7px 30px rgba(0, 0, 0, 0.2);
    padding: 15px;
    margin-bottom: 50px;
}

/*ABOUT SECTION*/
.about-container {
    margin: 10%;
    width: 80%;
    height: auto;
    background-color: #f8f8f8;
    box-shadow: 25px 7px 20px -10px rgba(0, 0, 0, 0.2);
}

.about-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: wrap;
}

.about-image {
    height: 450px;
    width: 400px;
    background-image: url(./images/aboutpic2.jpeg);
    background-size: cover;
    background-position: center;
    border: 1px solid #002b8f;
    border-radius: 10px;
}

.about-text {
    color: #002b8f;
    height: auto;
    width: 40%;
    font-size: 1.5rem;
    margin-left: 100px;
}

.social-icons {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    font-size: 2rem;
    width: 30%;
    margin: 25% 35%;
    padding-top: 30px;
}

/*FOOTER*/
#ending {
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-size: 1.1rem;
    font-weight: 300;
    margin: 10%;
}

.end {
    padding-bottom: 15px;
    font-family: 'Baskerville', sans-serif;
}


/*MOBILE VIEW*/
@media (max-width: 768px) {
    #nav {
        display: none;
    }

    #mobile-nav {
        display: block;
    }

    .mobile-nav-bar {
        width: 100%;
        position: fixed;
        bottom: 0;
        z-index: 5;
    }
    
    ul {
        background-color: rgba(0, 0, 0, 0.625);
    }

    .teacozy-project {
        width: 250px;
        height: 400px;
        background: #fff;
        position: relative;
        box-shadow: -15px 7px 30px rgba(0, 0, 0, 0.2);
        border-radius: 10px;
        margin: 50px;
        background-image: url(./images/rooibostea2.jpg);
        background-size: cover;
        background-position: center;
    }
    
    .fotomatic-project {
        width: 250px;
        height: 400px;
        background: #fff;
        position: relative;
        box-shadow: -15px 7px 30px rgba(0, 0, 0, 0.2);
        border-radius: 10px;
        margin: 50px;
        background-image: url(./images/cameragear.jpg);
        background-size: cover;
        background-position: center;
    }

    .text-container {
        position: absolute;
        height: 75px;
        width: 100%;
        z-index: 2;
        left: 0;
        bottom: 0;
        padding-left: 3%;
        background-color: #fff;
        overflow: hidden;
    }

    .name {
        margin: 5px 3px;
        padding-bottom: 2px;
        color: var(--dark-blue);
        font-size: 2rem;
    }

    .content {
        padding: 5px;
        color: var(--med-blue);
    }

    .button-tea {
        border: 3px solid var(--blue-text);
        width: 160px;
        box-shadow: -15px 7px 30px rgba(0, 0, 0, 0.2);
        padding: 7px;
        margin-bottom: 50px;
    
    }
    
    .button-foto {
        border: 3px solid var(--blue-text);
        width: 160px;
        box-shadow: -15px 7px 30px rgba(0, 0, 0, 0.2);
        padding: 7px;
        margin: 0 10px 0 3px;
    }

    .button-guessnumber {
        border: 3px solid var(--blue-text);
        width: 160px;
        box-shadow: -15px 7px 30px rgba(0, 0, 0, 0.2);
        padding: 7px;
        margin: 0 10px 0 3px;
    }

    .guessnumber-project {
        width: 250px;
        height: 400px;
        background: #fff;
        position: relative;
        box-shadow: -15px 7px 30px rgba(0, 0, 0, 0.2);
        border-radius: 10px;
        margin: 50px;
        background-image: url(./images/copyguessnumber.jpg);
        background-size: cover;
        background-position: center;
    }

    .about-container {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #f8f8f8;
        box-shadow: 25px 7px 20px -10px rgba(0, 0, 0, 0.2); 
    }

    .about-image {
        margin-top: 20px;
        height: 300px;
        width: 225px;
        background-image: url(./images/aboutpic2.jpeg);
        background-size: cover;
        background-position: center;
        border: 1px solid #002b8f;
        border-radius: 10px;
    }

    .about-text {
        margin-left: 20px;
        width: 100%;
        font-size: 0.75rem;
        padding: 10px;
    }

    .social-icons i {
        font-size: 2rem;
        padding: 10px;
        margin-left: -10px;
    }

}


