
/*
        PORTFOLIO
*/


img {
    width: auto;
    height: auto;
}

h1 {
    font-family: "Montserrat", sans-serif;
    font-size: 76px;
    font-weight: 700;
    font-style: normal;
    margin-bottom: 0px;
    color: #2d17ff;
}

h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 67px;
    font-weight: 700;
    font-style: normal;
    margin-bottom: 0px;
    color: #2d17ff;
}

h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 33px;
    font-weight: 700;
    font-style: normal;
    margin-bottom: 0px;
    color: #2d17ff;
}

h4 {
    font-family: "Montserrat", sans-serif;
    font-size: 30px;
    font-weight: 500;
    font-style: italic;
    margin-bottom: 0px;
    color: #2d17ff;
}

img.desktop {
    display: block;
}

img.mobile {
    display: none;
}

/* 1 - HEADER */

.content-wrap {
    display: block;
}

.mobile-msg {
    display: none;
    background-color: #ccb085;
    width: 100vw;
    height: 100vh;
}

.mobile-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: auto;
    height: 100%;
    padding: 0 20%;
    line-height: 40px;

    h4 {
        margin: 40px 0 40px 0;
    }
}

a#rvaise-header-link{
    display: block;
    position: absolute;
    top: 20px;
    left: 34%;
    color: #f5f5f500 !important;
    background-color: #ffe204 !important;
    font-size: 16px !important;
}

.section-header {
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: none;
    transform: translateX(-50%);
    background-color: #dfc29a;    
}

.head-text {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    line-height: 55px;
    transition: transform 0.5s ease;  /* Optional for animation */
}

.head_draw {
    display: block;
    position: absolute;
    top: 54%;
    left: 48%;
    transform: translate(-50%, -50%);
    text-align: center;
    line-height: 55px;
    transition: transform 0.5s ease;  /* Optional for animation */
}

.head-secondary {
    margin-top: 30px;
}

.head-secondary h4{
    color: white
}


/* 2 - SERVICES  */


.section-services {
    background-color: #cdbb9e;        
}

.service-content-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: auto;
    width: 100%;  /* Base width */
    transform: scale(1);  /* Base scale */
    transition: width 0.5s ease, transform 0.5s ease;  /* Animate width and scale */

    img {        
        width: 100%;
        height: 100%;
    }
}

.illu-img {
    display: block;
}

.type-img {
    display: block;
}

.service-1 {
    position: relative;
    margin-right: -6px;
    z-index: 0;
}

.illu-text-wrap {

    position: absolute;
    top: 10%;
    left: -120px;

    h1 {
        color: white;
        padding-bottom: 45px;
    }

    h3 {
        color: white;
        padding-bottom: 10px;
    }
}

.service-2 {

    transform: translateY(-30px);

    h1 {
            position: relative;
            font-family: "Eczar", sans-serif;
            font-size: 150px;
            font-weight: 800;
            font-style: normal;            
            color: #2d17ff;
            z-index: 1;
    }
}

.service-3 {
    position: relative;
    margin-left: -6px;
    z-index: 0;
}

.type-text-wrap {

    position: absolute;
    top: 60%;
    right: -85px;

    h1 {       
        font-size: 95px;
        padding-bottom: 65px;
    }

    h3 {
        margin-left: 120px;
        padding-bottom: 10px;
    }
}



/* 3 - CARTOGRAPHY  */


.section-cartography {
    background-color: #b8a692;        
}

.cartography-content-wrap {
    position: relative;    
    margin: 0 auto;  /* Add this to center horizontally */    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;  /* Base width */
    transform: scale(1);  /* Base scale */
    transform: translateY(-300px);
    margin-bottom: -250px;
    transition: width 0.5s ease, transform 0.5s ease;  /* Animate width and scale */

    h2 {
        margin-bottom: 120px;
    }
}

.carto-city {
    height:auto;
    width: auto;
    margin-top: 50px;    
}

.carto-img-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: auto;    
    width: 100%;  /* Base width */
    transform: scale(1);  /* Base scale */
    transition: width 0.5s ease, transform 0.5s ease;  /* Animate width and scale */

    img {
        width: auto;
        height: auto;
    }
}

.carto-img-wrap {
    position: relative;
}

.symbols-img-wrap {
    position: relative;
}

.carto-img {
    z-index: 1;
}

.carto-link-button {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 2;
    cursor: pointer;
    display: block;
    width: 50px;  /* Set width and height to match your image */
    height: 46px;
    background-image: url('../portfolio/link-button.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-image 0.3s ease;    
}

.carto-link-button::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    background-image: url('../portfolio/link-button-hover.png');
}

.carto-link-button:hover {
    background-image: url('../portfolio/link-button-hover.png');
}

.click-note {
    position: absolute;
    top: 7px;
    right: -100px;
    z-index: 2;
}



/* 4 - SYMBOLS  */


.section-symbols {
    background-color: #d6d2cb;
    margin-top: -275px;
    margin-bottom: 0;
    padding-bottom: 450px;
}

.symbols-content-wrap {
    position: relative;    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 0;
    margin: 0 auto;
    width: 100%;  /* Base width */    

    h2 {
        margin-bottom: 120px;
    }
}

.symbol-link-button {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    cursor: pointer;
    display: block;
    width: 50px;  /* Set width and height to match your image */
    height: 46px;
    background-image: url('../portfolio/link-button.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-image 0.3s ease;    
}

.symbol-link-button::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    background-image: url('../portfolio/link-button-hover.png');
}

.symbol-link-button:hover {
    background-image: url('../portfolio/link-button-hover.png');
}


.symbols-text {
    margin-bottom: 50px;
}

.glyph1 {
    margin: 50px 0 0 0;
    position: relative;
    z-index: 2;
}

.statue {
    position: relative;
    transform: translateY(-50px);
    z-index: 1;
}

.glyph2 {
    margin: 0;
    transform: translateY(-120px);
    position: relative;
    z-index: 2;
}

.symbolscard {
    margin-bottom: 100px;
}

.compass {
    position: relative;
    z-index: 1;    
    width: auto;  /* Base width */
    transform: scale(1);  /* Base scale */
    transition: width 0.5s ease, transform 0.5s ease;  /* Animate width and scale */
}

.castle {
    display: block;
    position: absolute;
    bottom: -200px;
    right: 15%;
    z-index: 0;
}



/* 5 - LAYOUT  */


.section-layout {
    position: relative;    
    margin-top: -440px;
    margin-bottom: 200px;
    background-color: #000f10;
}

.layout-content-wrap {    
    background-color: #000f10;    
    position: relative;    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    margin: auto;
    width: 100%;  /* Base width */    

    h2 {
        padding-top: 75px;
        margin-bottom: 70px;
        color: #d6d2cb;
    }
}

.fourfiveborder {
    position: relative;
    z-index: 2;    
}

.bridgelogo {
    margin-bottom: 70px;
}

.text1 {
    display: block;
    position: absolute;
    opacity: 0.09;
    right: 0;
    top: 37%    
}

.text2 {
    display: block;
    position: absolute;
    opacity: 0.1;
    left: 10%;
    top: 57%;
}

.bridge2 {
    margin-top: 70px;;
}




/* 6 - WORDMARK  */


.section-wordmark {
    position: relative;    
    margin-top: -440px;
    margin-bottom: 400px;
    background-color: #0c1217;
}

.wordmark-content-wrap {          
    position: relative;    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    margin: auto;
    width: 100%;  /* Base width */    
}

.wordmark-text {
    margin-top: 70px;
}

.words {
    margin: 70px 0;
}

.sigilanim {
    width: auto;  /* Base width */
    transform: scale(1);  /* Base scale */
    transition: width 0.5s ease, transform 0.5s ease;  /* Animate width and scale */
}

.section-footer {
    position: relative;
    margin-top: -440px;
    margin-bottom: 0;   
}

.footer-content-wrap {          
    position: relative;    
}

.footer {
    z-index: 0;
}

.foot-text {
    position: absolute;
    top: 24%;
    left: 29%;
    z-index: 1;
    width: 740px;
    transform-origin: top left;
    transition: transform 0.5s ease;
    display: flex;
    flex-direction: column;
    
    h3 {
        font-size: 40px;
        line-height: 40px;
    }
}


.foot_draw {
    display: block;
    position: absolute;
    top: 24%;
    left: 29%;
    z-index: 1;
    transform: translate(-50%, -50%);
    transform-origin: top left;
    transition: transform 0.5s ease;  /* Optional for animation */
}

.contact-button {
    margin-top: 50px;
    z-index: 2;
    cursor: pointer;
    display: block;
    width: 267px;  /* Set width and height to match your image */
    height: 80px;
    background-image: url('../portfolio/contact.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-image 0.3s ease;    
}

.contact-button::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    background-image: url('../portfolio/contact-hover.png');
}

.contact-button:hover {
    background-image: url('../portfolio/contact-hover.png');
}















@media (max-width: 2000px) {
 

    /* 1 - HEADER */

    .head-text {
        width: 80%;
        transform: translate(-50%, -50%) scale(0.8);
    }
    
    .head_draw {
        width: 50%;
        transform: translate(-50%, -50%) scale(0.8);
        display: block;
    }

    /* 2 - SERVICES  */

    .service-content-wrap {
        width: 80%;
        transform: scale(0.8);  /* Scales all content down to 80% */
        transform-origin: center;  /* Scales from the center */

    }

        /* 3 - CARTOGRAPHY  */

    .cartography-content-wrap {        
        transform: translateY(-200px);
    }

    /* 4 - SYMBOLS  */

    .section-symbols {        
        margin-top: -175px;        
    }

    .symbolscard {
        margin-bottom: 40px;
    }

    .compass {        
        transform: scale(0.8);  /* Scales all content down to 80% */
        transform-origin: center;  /* Scales from the center */

    }

    .text1 {
        display: none;
    }

    .text2 {
        display: none;
    }

     .section-layout {        
        margin-bottom: 250px;    
    }   

    .foot-text {
        transform: scale(0.85);
        left: 22%;
    }

}


@media (max-width: 1450px) {

       
    .foot-text {
        transform: scale(0.75);
        left: 23%;
    }

    .head_draw {
        display: block;
    }
}


@media (max-width: 1280px) {
 
   
    /* 1 - HEADER */

    .head-text {
        width: 70%;
        transform: translate(-50%, -50%) scale(0.7);
    }

    .head_draw {
        display: none;
    }

    /* 2 - SERVICES  */

    .service-content-wrap {
        width: 70%;
        transform: scale(0.7);  /* Scales all content down to 80% */
        transform-origin: center;  /* Scales from the center */

    }

    /* 3 - CARTOGRAPHY  */

    .cartography-content-wrap {
        transform: translateY(-200px) scale(0.93);        
        width: 93%;        
        transform-origin: center;  /* Scales from the center */
    }

    .carto-img-wrapper {
        transform: translateY(-150px) scale(0.83);
        width: 83%;        
        transform-origin: center;  /* Scales from the center */
    }
    
    /* 4 - SYMBOLS  */

    .symbols-content-wrap {
        width: 83%;
    }

    .section-symbols {        
        margin-top: -150px;        
    }

    .glyph1,
    .glyph2,
    .statue,
    .compass {
        transform: none;
    }

    .castle {
        display: none;
    }

    .layout-content-wrap {
        width: 83%;
    }

    .section-layout {    
        margin-bottom: 300px;    
    }


    .wordmark-content-wrap {          
    
        width: 83%;
    }

    
    .foot-text {
        transform: scale(0.65);
        left: 20%;
    }


}


@media (max-width: 1024px) {

    .head-text {
        width: 60%;
        transform: translate(-50%, -50%) scale(0.6);
    }

    .cartography-content-wrap {
        transform: translateY(-140px) scale(0.8);        
        width: 80%;        
        transform-origin: center;  /* Scales from the center */
    }

    .carto-img-wrapper {
        transform: translateY(-70px) scale(0.83);
        width: 83%;        
        transform-origin: center;  /* Scales from the center */
    }

    .section-symbols {        
        margin-top: -70px;        
    }

    .foot-text {
        transform: scale(0.55);
        left: 20%;
    }


}

@media (max-width: 790px) {

    img.desktop {
        display: none;
    }

    img.mobile {
        display: block;
    }

    .head-text {
        width: 70%;
        transform: translate(-50%, -60%) scale(0.7);
    }
    
}

@media (max-width: 500px) {

    h3 {    
        font-size: 25px;    
    }

    h4 {
        font-size: 23px;    
    }


    img.desktop {
        display: none;
    }

    img.mobile {
        display: block;
    }

    a#rvaise-header-link{
        display: none;
    }

    .section-header {
        position: relative;        
        width: 100vw;
        max-width: none;
        transform: translateX(-50%);        
    }

    .head-text {
        position: relative;        
        transform: translate(-50%, 0);
        text-align: center;
        transition: transform 0.5s ease;  /* Optional for animation */
        padding: 35px 0;
        line-height: 35px;
    }

    .illu-img {
        display: none;
    }

    .type-img {
        display: none;
    }

    .service-content-wrap {

        flex-direction: column;
        width: 80%;
        transform: scale(0.8);
        transform-origin: center;

        img {        
            width: 100%;
            height: 100%;
        }
    }

    .illu-text-wrap {
        position: relative;
        top: auto;
        left: auto; 
    }

    .illustration-text {
        margin-bottom: 20px;
    }

    .service-2 {        
        padding: 10px 0;
        width: 50%;
        transform: translateY(0) scale(0.5);
    }

    .type-text-wrap {
        position: relative;
        top: auto;
        right: auto; 

        img {
            width: 80%;
            transform: scale(0.8);
            transform-origin: center;
        }
    }

    .cartography-content-wrap {
        transform: translateY(-70px) scale(0.8);        
        width: 80%;        
        transform-origin: center;  /* Scales from the center */
    }

    .carto-img-wrapper {
        transform: translateY(90px) scale(0.83);
        width: 83%;        
        transform-origin: center;  /* Scales from the center */
        padding-bottom: 100px;
    }

    .click-note {
        display: none;
    }

    .carto-link-button {        
        top: 10px;
        right: 10px;           
    }

    .symbol-link-button {        
        top: 2px;
        right: 2px;
    }

    .section-symbols {        
        padding-bottom: 360px;
    }

    .symbols-content-wrap {
        transform: translateY(50px)
    }

    .glyph1 {
        width: 74%;
        transform: translateY(25px) scale(0.74);
        margin-top: 0;
    }

    .glyph2 {
        width: 70%;
        transform: translateY(-85px) scale(0.7);
        margin-bottom: 0;
    }

    .symbols-img-wrap {
        transform: translateY(-85px);
    }

    .compass {        
        width: 80%;
        transform: translateY(-125px) scale(0.8);
    }

    .section-layout {    
        margin-bottom: 250px;
    }

    .section-wordmark {
        margin-top: -250px;
    }

    .sigilanim {
        width: 80%;
        transform: scale(0.8);
        margin-top: -25px;
    }

    .footer-content-wrap {          
        background-color: #ddc49c;
    }

    .foot_draw {
        display: none;
    }

    .foot-text {
        position: relative;
        top: auto;
        left: auto;
        width: auto;
        
        transform: translate(-50%, 0);
        text-align: center;
        transition: transform 0.5s ease;  /* Optional for animation */
        padding: 35px 0;
        line-height: 35px;
    
        transform: scale(1);        
        margin: 0 auto;
        padding: 40px 20px 0 20px;


        h3 {
            font-size: 25px;
            line-height: 30px;
        }
    }

    .contact-button {
        padding: 50px 0;        
        width: 167px;
        margin: 0 auto;   
    }

}