@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #273D55;
    scroll-behavior: smooth;
}

.project-section {
        width: 100%;
        height: 120vh;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        background-size: cover;
        background-repeat: no-repeat;
}


.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}


.orient-component-projects {
    width: 930px;
    height: 500px;
    /* background-color: rgba(0, 0, 0, 0.5); */
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #F9ECB4;
    /* backdrop-filter: blur(px);
    -webkit-backdrop-filter: blur(10px); */
    margin-left: -2%;
    padding: 20px;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); */
    margin-top: -80px;
}

.orient-component-projects button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: transparent;
    border: 2px solid #FFF8DA;
    color: #FFF8DA;
    font-size: 1.2em;
    font-family: 'EB Garamond', serif;
    cursor: pointer;
    font-weight: 400;
    transition: background-color 0.3s ease;
    border-radius: 35px;
    text-align: center;
    width: 300px;
}

button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.logo-silkroad{
    width: 20vw;
    height: 25vh;
}

button span {
    margin-left: 10px;
    display: flex;
    align-items: center;
}

.content-project h2 {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 400;
    width: 80%;
    color: #F9ECB4;
    font-size: 3em;
    margin: 10px 0;
    line-height: 1.2;

}

.content-project p {
    margin: 0 auto;
    color: #F9ECB4;
    font-family: 'Garamond', sans-serif;
    font-weight: 400;
    font-size: 25px;
    width: 40%;
    text-align: center;
    line-height: 1.7;
}



@media only screen and (max-width: 768px) {
    .project-section{
        background-position: right;
        background-size: cover;
    }

     .contact-button {
        font-size: 1em;
        padding: 8px 10px;
    }

    .orient-component-projects h2 {
        width: 100%;
        font-size: 1em;
    }

    .orient-component-projects {
        width: 90%;
        height: auto;
        margin: auto;
        margin-top: 0%;
    }
    .orient-component-projects img {
        width: 50%;
        height: auto;
    }
    .orient-component-projects h2 {
        margin: 0px auto;
        width: 100%;
        font-size: 1.9em;
    }
    .orient-component-projects p {
        margin: 0px auto;
        width: 100%;
        font-size: 1.3em;
    }
    .Voltre{
        width: 20%;
    }
    

}

@media only screen and (max-width: 480px) {
    .project-section{
        margin-top: -15% ;
    }
     .contact-button {
        width: 100%;
        text-align: center;
        font-size: 0.8em;
        padding: 6px 8px;
    }
    .orient-component-projects {
        width: 84%;
        margin: auto;
        margin-top: 24%;
    }
    .content-project h2 {
        margin: 10px auto;
        width: 94%;
        font-size: 1.6em;
    }
    
    .logo-silkroad{
        width: 60%;
    }
    .content-project p {
        margin: 0px auto;
        width: 100%;
        font-size: 1.4em;
    }
    


}
