@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
@font-face {
    font-family: 'Batuphat Script';
    src: url('./Fonts/Batuphat Script.otf') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Neue Regrade Medium';
    src: url('./Fonts/Neue Regrade Medium.otf') format('woff2');
}

/* Define color variables */
:root {
    --primary-color: #7CBB53;
    --secondary-color: #E32F32;
    --success-color: #28a745;
    --danger-color: #F4AD21;
    --warning-color: #FCFECF;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

h1 {
    font-family: "Batuphat Script", "Lobster";
    font-style: normal;
    font-size: 4.4rem;
    line-height: 4.6rem;
}

p {
    font-family: "Neue Regrade Medium";
    font-style: normal;
    line-height: 2rem;
}

body, html {
    height: 100%;
    margin: 0;
    font-size: 16px;
    overflow-y: hidden;
}

body {
    background-image: url("./Images/Yago-Background-Desktop.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
}
.yago-header {
    display: flex;
    justify-content: start;
}

.yago-hero {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    max-width: 90%;
}

.yago-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

header {
    flex-shrink: 0;
}

.yago-image {
    width: auto;
    height: 75px;
    object-fit: contain;
}

.yago-image2 {
    
    height: 15vh;
    object-fit: contain;
    
}

.yago-button {
    width: 35px;
    height: 35px;
    background-color: var(--secondary-color);
    color: var(--warning-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color .3s ease-in-out;
}

.yago-button:hover, .yago-button:focus, a:hover, a:focus {
    background-color: var(--danger-color);
    transform: scale(1.1);
    transition: transform .3s ease-in-out;
    
    &:hover {
        transform: scale(1.2);
    }
    
    &:active {
        transform: scale(1.05);
    }
}

a:hover {
    text-decoration: none;
}

@media  screen and (max-width: 992px) {
    body {
        background-image: url("./Images/Yago-Background-Tablet.webp");
        
    }   
    .yago-section {
        text-align: center;
    }

    .yago-social
    {
        justify-content: center;
    }
    .yago-button {
        width: 50px;
        height: 50px;
    
    }
    .button-section {
        display: flex;
        justify-content: center;
    }

    h1{
        font-size: 2.6rem;
        line-height: 2.8rem;
    }
    p
    {
        font-size: 1rem;
        line-height: 1.2rem;
    }

}

@media screen and (max-width: 768px ) {

    /* h1{
        font-size: 3.6rem;
        line-height: 3.8rem;
    } */


.yago-button {
    width: 50px;
    height: 50px;

}
}
@media screen and (max-width: 440px ) {
       body {
        background-image: url("./Images/Yago-Background-Mobile.webp");
        background-size: cover;
    } 
} 