@import url('https://fonts.googleapis.com/css2?family=TimesNewRoman:wght@200;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;700&family=Lora&family=Merriweather:wght@300&family=Raleway:wght@200;400&display=swap');

* {
    box-sizing: border-box;
}

body {
    font-family: 'TimesNewRoman', sans-serif;
    color: #333;
    background-color: #f5f1ee;
    margin: 0;
    padding: 0;
}

.main-container {
    padding-top: 20px;
    padding-bottom: 15px;
    padding-left: 40px;
    width: max-content;
    flex-direction: column;
    font-family: 'Cormorant Garamond', serif; 
 } 

.logo {
    height: 1.5em;
    vertical-align: middle;
    margin-top: -0.25em;
}

.menu {    
    font-family: 'Raleway', sans-serif;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.menu a {
    font-family: 'Raleway', sans-serif;
    font-size: 1.2em;
    font-weight: 200;
    text-decoration: none;
    color: #333;
    margin: 0 20px;
}

.menu a:hover {
    font-weight: bold;
}

.navbar-light .navbar-toggler {
    padding-top: 20px;
    color: #f5f1ee;
    border-color: transparent;
    padding-left: 15px;
}

.navbar-toggler {
    margin-left: 2px;
    padding: unset;
    font-size: 1.7rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.navbar {
    position: relative;
    display: flex;
    -ms-flex-wrap: none;
    flex-wrap: none;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: none;
    justify-content: center;
    padding: 0em;
    color: #b5a18d;
    background-color: #f5f1ee;
}

.navbar-brand {
    display: inline-block;
    padding-top: 0.3125rem;
    padding-bottom: 0.3125rem;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;
}

.main-container-desk {
    grid-column: 1;
    background-color: #f5f1ee;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    font-family: 'Cormorant Garamond', serif;
}

.logo-desk {
    height: 1.5em;
    vertical-align: middle;
    margin-top: -0.25em;
}

.menu-desk {    
    font-family: 'Raleway', sans-serif;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.menu-desk a {
    font-family: 'Raleway', sans-serif;
    font-size: 1.2em;
    font-weight: 200;
    text-decoration: none;
    color: #333;
    margin: 0 20px;
}

.menu-desk a:hover {
    font-weight: bold;
}


/* DESKTOP VIEW */
@media only screen and (min-width: 768px) {
    .navbar {
        display: none;
    }

    .main-container {
        display: none;
    }

    .main-container-desk {
        background-color: #f8f9fa;
    }
    
    .menu {
        display: none;
    }

    .content {
        font-family: 'Raleway', sans-serif;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #contact-image {
        margin-bottom: 0.25em;
        width: 100%;
        height: auto;
        max-height: 500px;
        object-fit: cover;
        
    }

    .contact-section {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: larger;
    }

    #contact-form {
        width: 100%;
        max-width: 500px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px;
        box-sizing: border-box;
    }

    #name, #email, #message {
        flex: 1 1 calc(50% - 10px);
        box-sizing: border-box;
        padding: 15px;
        border-radius: 5px;
        border: none;
        background: #f0f0f0;
        font-size: 1em;
        font-family: 'Raleway', sans-serif;
    }

    #message {
        width: 100%;
        flex: 1 0 100%; /* this will take the full width of the container */
    }

    button {
        max-width: 165px;
        margin-top: 10px;
        width: 100%;
        padding: 10px 20px;
        border-radius: 5px;
        border: none;
        background: #333;
        color: #fff;
        font-size: 1em;
        cursor: pointer;
        transition: background 0.3s ease;
        font-family: 'Raleway', sans-serif;
    }
}


/* MOBILE VIEW */
@media only screen and (max-width: 768px) {
    .main-container-desk {
        display: none;
    }
    
    .menu-desk {
        display: none;
    }

    .navbar-nav {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
        padding-left: 15px;
        margin-bottom: 0;
        list-style: none;
    }

    #contact-image {
        width: 100%;
        max-width: 800px;
        display: block;
        margin: 1rem auto;
    }

    .contact-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1rem 0.5rem;
        background-color: #f5f1ee;
        font-family: 'Raleway', sans-serif;
    }

    #contact-form {
        width: 100%;
        max-width: 600px;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        background-color: #f5f1ee;
    }

    input, textarea {
        width: 100%;
        padding: 0.5rem;
        margin-bottom: 1rem;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    .send-button {
        width: 100%;
        padding: 0.5rem;
        margin-bottom: 1rem;
        border: 1px solid #ccc;
        border-radius: 5px;
        cursor: pointer;
        background-color: #333;
        color: #fff;
        border: none;
    } 
}
