/*FONT*/
@font-face {
    font-family: 'Lato';
    src: url(font/Lato/Lato-Regular.ttf);
}

/*GENERAL LAYOUT*/
body
{
    font-family: 'Lato';
    background-color: #FEF9E1;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
}

/*NAV BAR*/
ul
{
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: right;
}

li
{
    display: inline-block;
    padding: 20px 20px;
}

.navbar
{
    background-color: #75C043;
    color: #FEF9E1;
    display: flex;
    height: 75px;
    width: 100%;
    position: sticky;
    top: 0;
}

.logo
{
    display: flex;
    justify-content: left;
    align-items: center;
    width: 100%;
    padding: 20px 0px 20px 0px;
}

.logo img
{
    max-width: 50px;
    width: 100%;
    height: auto;
    padding-left: 20px;
}

.logo p
{
    padding-left: 15px;
}

.nav
{
    display: flex;
    justify-content: right;
    align-items: center;
    width: 100%;
    padding: 20px 0px 20px 0px;
}

.nav a
{
    color: #FEF9E1;
    text-decoration: none;
    font-size: 10;
}

/*WELCOME*/
h1
{
    color: #75C043;
    text-align: center;
    height: 100%;
    margin: 250px 20px 250px 20px;
    font-size: 300%;
}

.welcome
{
    display: flex;
    width: 100%;
    height: fit-content;
    background-image: url(assets/Banner.png);
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: center;
    align-items: center;
}

/*CONTENT*/
.title
{
    width: 100%;
    text-align: center;
    color: #75C043;
    padding: 10px 0px 10px 0px;
}

hr
{
    height: 1px;
    border: none;
    background-color: #75C043;
    width: 85%;
}

h3
{
    flex-direction: column;
    color: #75C043;
}

a
{
    text-decoration: none;
    color: #75C043;
}

.rows
{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

img
{
    margin: 20px;
    max-width: 300px;
    height: auto;
}

.text
{
    margin: 0px 60px 0px 60px;
    width: 50%;
    object-fit: contain;
}

.resume
{
    background-color: #75C043;
    border: 7px solid #75C043;
    color: #FEF9E1;
    border-radius: 30px;
    padding: 0px 10px 0px 10px;
}

/*CONTACT*/
.contacttext
{
    display: flex;
    align-items: center;
    justify-content: center;
    color: #75C043;
}

.contacttext img
{
    width: 14px;
    margin: 0px 5px;
}

.bottom
{
    margin-bottom: 50px;
}

/*CAROUSELS*/

.carousel 
{
    display: flex;
    overflow-x: auto;
    gap: 10px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    max-width: 300px;
    width: 100%;
    margin: 20px;
}

.carousel img
{
    margin: 0px;
}

.slide 
{
    flex: 0 0 100%; /* Shows 1 slide at a time; use 50% for 2 slides */
    scroll-snap-align: start;
}

.branding
{
    max-width: 400px;
}

.branding img
{
    max-width: 400px;
}

.book
{
    max-width: 600px;
}

.book img
{
    max-width: 600px;
    width: 100%;
}

/*MOBILE*/
@media screen and (max-width: 768px)
{
    /*NAV BAR*/
    .navbar
    {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: fit-content;
    }

    .logo
    {
        align-items: center ;
        justify-content: center;
        padding-bottom: 0px;
        padding: 0px;
        width: 100%;
    }

    .logo img
    {
        padding: 0px;
        margin: 20px 0px 0px 0px;
    }

    .nav
    {
        width: 100%;
        align-items: center;
        justify-content: center;
        padding-top: 0px;
        padding-bottom: 0px;
    }

    /*CONTENT*/
    .rows
    {
        flex-direction: column;
        width: 100%;
        align-items: center;
        padding: 0px;
    }

    img
    {
        width: 80%;
        height: auto;
    }

    .text
    {
        width: 80%;
    }

    /*CAROUSEL*/
    .carousel
    {
       max-width: 300px;
    }

    .carousel img
    {
        width: 100%;
    }

}