@import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans:wght@100;300;400;500;900&family=Montserrat:wght@100;200;300;400;500;600;700&display=swap');

html {
    font-family: "Montserrat", "Alegreya", "sans-serif";
    font-size: 16px;
}

@media(min-width: 1919px) {
    html {
        font-size: 18px;
    }  
}
@media(min-width: 2559px) {
    html {
        font-size: 20px;
    }  
}

body {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    background-image: url("images/Dark_Sand_Waves.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #08090aff;
    background-attachment: fixed;
    height: 100%;
}



/* Menu ------------------------------------------------------------------- */

nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 80px;
    background-color: rgba(26, 26, 26, 0.452);
    backdrop-filter: blur(5px);
    box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, 0.5);
    z-index: 9;
    position: fixed;
    top: 0;
    width: 100%;
}

.menu {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    /* position: fixed;
    z-index: 10; */
}

nav a {
    height: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #DFE2E5;
    font-weight: 300;
    font-size: 1.3rem;
    text-transform: uppercase;
}

nav a:hover {
    background-color: rgba(19, 19, 19, 0.75);
    color: #ffffff;
}

nav .home-link {
    margin-right: auto;
}

#sidebar-active {
    display: none;
}

.open-sidebar-button, .close-sidebar-button {
    display: none;
}

@media(max-width: 700px) {
    .menu{
        flex-direction: column;
        align-items: flex-start;

        position: fixed;
        z-index: 10;
        top: 0;
        right: -300px;
        overflow: hidden;
        width: 300px;
        height: fit-content;
        background-color: rgba(26, 26, 26, 0.8);
        backdrop-filter: blur(5px);
        box-sizing: -5px 0 5px black;

        transition: 0.3s ease-out;
    }

    nav a{
        box-sizing: border-box;
        height: auto;
        width: 100%;
        padding: 20px 30px;
        justify-content: flex-start;
    }

    /* nav a::selection {
        background-color: rgba(19, 19, 19, 0.75);
        color: #ffffff;
    } */

    .open-sidebar-button, .close-sidebar-button {
        display: block;
        padding: 20px;
    }

    #sidebar-active:checked ~ .menu {
        right: 0;
    }
}


/* Contact Form ---------------------------- */


.contact {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 150px;
    margin-bottom: 100px;
    border-radius: 1rem;
    box-shadow: 0px 0px 15px 10px rgba(0, 0, 0,);
    background-color: rgba(26, 26, 26, 0.452);
    backdrop-filter: blur(20px);
    box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.35);
    font-family: "Alegreya Sans", "sans-serif";
    font-weight: 100;
    font-size: 20px;
    color: #DFE2E5;
    text-decoration: none;
    gap: 1.5rem;
}

.email {
    font-style: oblique;
}

.contact-inputs {
    color: rgb(0, 0, 0);
}

h1 {
    font-family: "Alegreya Sans", "sans-serif";
    font-weight: 200;
    margin-bottom: 5px;
}

hr {
    border: none;
    height: 1px;
    width: 50%;
    background-color: rgba(255, 255, 255, 0.582);
}
.hr-bottom {
    border: none;
    height: 1px;
    width: 25%;
    background-color: rgba(255, 255, 255, 0.582);
    margin-bottom: 0;
    margin-top: 0;
}

.contact-container input {
    background-color: white;
    opacity: 90%;
    width: 80%;
    font-size: 20px;
    font-weight: 300;
    font-family: "Alegreya Sans", "sans-serif";
    border-radius: 0.5rem;
    padding-left: 0.5rem;
    border-width: 3px
}

textarea {
    background-color: white;
    opacity: 90%;
    width: 80%;
    font-size: 20px;
    font-weight: 300;
    font-family: "Alegreya Sans", "sans-serif";
    border-radius: 0.5rem;
    padding-left: 0.5rem;
    border-width: 3px
}

.contact input:focus-within {
    outline: none;
    background-color: white;
    opacity: 100%;
    border-color: rgb(110, 154, 215);
    border-width: 3px

}

textarea:focus-within {
    outline: none;
    background-color: white;
    opacity: 100%;
    border-color: rgb(110, 154, 215);
    border-width: 3px
}

.contact button {
    background-color:rgb(255, 255, 255);
    display: flex;
    text-align: center;
    margin: auto;
    font-size: 22px;
    font-family: "Alegreya Sans", "sans-serif";
    font-weight: 300;
    border-radius: 0.5rem;
    border-width: 0px;
    padding: 5px 10px;
    margin-bottom: 2rem;
}

button:hover {
    cursor: pointer;
    opacity: 80%;
}

@media(max-width: 700px) {

   

    button:active {
        opacity: 70%;
    }
}

.alt-contact {
    font-family: "Montserrat", "Alegreya", "sans-serif";
    font-weight: 100;
    font-size: 1rem;
    text-decoration: none;
    width: 80%;
    display: flex;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 1.5rem;
    border-width: 1px 0 1px 0;
    border-style: solid;
    border-color: rgba(64, 64, 64, 0.5);
}

.alt-contact p{
    margin-left: 3rem;
    margin-right: 3rem;
    color: #DFE2E5;
    font-weight: 200;
}