/* ====== TOP BAR ====== */
:root{
    --intro-internal-gradient-color : #519da1;
    --intro-external-gradient-color : #2e7d7d;
    --topbar-text-color: #fff;
    --intro-name-color: #e5e3d6;
    --intro-foreground-color: #fff;
}



.topbar-container{
    position: relative;
}
@media (max-width: 800px) {
    .topbar{
        transform: scale(0);
    }
}

.topbar {
    opacity: 1;
    position: absolute;
    display: flex; 
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    align-items: center;
    z-index: 1000;
}

.topbar .content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0 auto;
    color: var(--topbar-text-color);
    width: 80%;
}

.topbar-links{
    display: flex;
    gap: 40px;
}

.topbar-button {
    border:none;
    text-decoration: none;
    font-weight: 400;
    color: var(--topbar-text-color);
}

/* .topbar-button.active{
    color: #fff;
    font-family: "Urbanist";
    font-weight: 500;
} */


.topbar-indicator{
    height: 5px;
    width: 0px;
    border-radius: 10%;
    background-color: var(--primary-color-light);
    margin-left: 0px;
}


/* ====== INTRO ====== */

.section#intro {
    /* margin-top: 60px; */
    height: 100vh;
    /* background: radial-gradient(circle, #F5F5F5, #FAFAFA); */
    background: radial-gradient(circle, var(--intro-internal-gradient-color), var(--intro-external-gradient-color));
    color: var(--intro-foreground-color);
    
}

#intro .content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 0 auto;
    flex-direction: row;
    width: 100%;    
}

#intro .intro-container{
    position : relative;
    width: 100%;
    height: 100vh;
}

#intro .intro-container .my-image-container{
    overflow: hidden; 
    width: 100%;
    height: 100%;
    transform-origin: 80% 50%;
    animation: my-image-welcome-animation 1200ms cubic-bezier( 1.00,0.26, 0.44,0.90 );
}

@keyframes my-image-welcome-animation{
    from{
        transform: scale(2);
    }
    to{
        transform: scale(1);
    }
}

#intro .intro-container img{
    position: relative;
}

@media (orientation: landscape) {
    #intro .intro-container img{
        height: 90vh;
        left: 100%;
        top:100%;
        transform: translate(-100%,-100%);
        
    }

    #intro .intro-container p{
        left: 10%;
        top:none;
        bottom: 60%;
    }
}

@media (min-width: 720px) and (orientation: portrait) {
    #intro .intro-container img{
        height: 90%;
        left: 100%;
        top:100%;
        transform: translate(-100%,-100%);
    }

    #intro .intro-container p{
        right: 10%;
        top:5%;
        bottom: none;
    }
    
}

@media (max-width: 720px) and (orientation: portrait) {
    #intro .intro-container img{       
        height: 90%;
        left: 50%;
        top:100%;
        transform: translate(-50%,-100%);
    }

    #intro .intro-container p{
        right: 10%;
        left: 10%;
        text-align: center;
        top:5%;
        bottom: none;
    }
}


#intro .intro-container .intro-overlay{
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 6000;
    background-color: var(--primary-color);
    animation: overlay-welcome-animation 1000ms cubic-bezier( 1.00,0.26, 0.44,0.90 );
    animation-fill-mode: forwards;
}

@keyframes overlay-welcome-animation{
    from{
        transform: translateY(0);
    }
    to{
        transform: translateY(-100%);
    }
}

#intro .intro-container h1{
    position : absolute;
    text-align: left;
    font-family: 'Urbanist';
    margin:0px;
    color: var(--intro-name-color);
}

#intro .intro-container .name{
    bottom: 10%;
    left: 10%;
    line-height: 0.9;
}


#intro .intro-container p{
    position : absolute;
    text-align: left;
    margin:0px;
    font-size: 25px;
}


