.roof .workspace .element {
    align-self: center;
    justify-self: center;
}

.roof .workspace .element .element h1,
.roof .workspace .element .element h3,
.roof .workspace .element .element p {
    justify-self: center;
    text-align: center;
}

@media(max-width: 768px) {
    .roof .workspace .element {
        align-self: left;
        justify-self: left;
    }

    .roof .workspace .element .element h1,
    .roof .workspace .element .element h3,
    .roof .workspace .element .element p {
        justify-self: left;
        text-align: left;
    }
}




hr {
    background: url("../img/hr.png") no-repeat top center;

    background-size: contain;
    display: block;
    height: 50px;
    border: 0;
    position: relative;
}

hr:before,
hr:after {
    content: '';
    display: block;
    position: absolute;
    background: #cd0305;
    height: 2px;
    top: 22px;
}

hr:before {
    left: 0;
    right: 60%;
    margin-right: 10px;
    margin-left: 70px;
}

hr:after {
    right: 0;
    left: 60%;
    margin-left: 10px;
    margin-right: 70px;
}

.zoom {
    transition: transform .2s;
}

.zoom:hover {
    transform: scale(1.05);
}




.cardyc {
    animation: 0.5s ease;
    box-shadow: 4px 5px 17px -4px #111;
    background-color: #000000;
    padding: 50px;
    /*    backdrop-filter: blur(12px);*/
    /*    border: 2px solid #c9a78a;*/
    /*    max-height: 300px;*/
    border-radius: 15px;
    /*    background-color: transparent;*/
    /*    box-shadow: 4px 5px 17px -4px #333132;*/




}


.cardyc:hover {
    transform: translateY(-10px);
}

.cardyc p,

.cardyc li {

    /*
    text-align: center;
    justify-self: center;
*/








    color: white !important;




}

.cardyc b {

    color: #fff;
    font-size: 20px;
}

.cardyc h1 {

    /*    font-size: 20px !important;*/
    color: #fff !important;
    /**/
    font-family: "nexa-text", sans-serif;
    font-weight: 600;
    font-style: normal;



    /*
    text-align: center;
    justify-self: center;
*/







    /*
font-family: "poppins",
sans-serif;
font-weight: 700;*/

    /*    font-size: 24px;*/
}

.cardyc h3 {
    /*
    font-family: "forma-djr-deck",
    sans-serif;
    font-weight: 400;
    font-style: normal;
*/
    /*    font-size: 16px;*/
    color: #cd0305 !important;

    /*
    text-align: center;
    justify-self: center;
*/



}


.cardyc a {
    color: #e1cf83;
}



.cardyd {
    box-shadow: 4px 5px 17px -4px #042654;

    /*    border: 3px double #042654;*/
    background-color: #08263e;
    /*
    border-width: 3px;
    border-style: solid;
*/
    /*
    border-image:
        linear-gradient(to bottom,
            #b5923b,
            rgba(0, 0, 0, 0)) 1 100%;
*/
    backdrop-filter: blur(5px);
    /*            border: 3px solid #fff;*/
    padding: 32px;
    border-radius: 15px;
}





.cardyd h1 {

    color: #2c96b8;
    font-size: 22px !important;

    font-size: 27px;
    text-align: center;
    justify-self: center;

}

.cardyd h3 {

    color: #1cacb2;
    /*    text-align: center;*/
    text-align: center;
    justify-self: center;

}

.cardyd p,
.cardyd li {
    text-align: center;
    justify-self: center;


    color: #ffff;

}

.cardye {
    background-color: #fff;
    box-shadow: 4px 5px 17px -4px #111;

    /*    border: 3px double #111;*/
    /*    backdrop-filter: blur(18px);*/
    /*            border: 3px solid #fff;*/
    padding: 32px;
    border-radius: 15px;
}




.cardye h1 {
    justify-self: center;
    color: #a987da;
    text-align: center;




    /*
    font-family: "pacifico",
    sans-serif;
    font-weight: 400;
    font-style: normal;
*/
    /*    font-size: 28px;*/

}

.cardye h3 {
    justify-self: center;
    color: #fff;
    text-align: center;
}

.cardye p,
.cardye li {
    justify-self: center;
    color: #111;
    text-align: center;
    /*    font-size: 22px;*/




}


@media (min-width: 1200px) {
    .cardyc {
        /*        height: 223px;*/
    }
}



.cardyb {
    background-color: #BA9977;
    transform: translate(800px, 142px);
    width: 464px;
    /*    backdrop-filter: blur(10px);*/
    border: 3px solid #505243;
    padding: 32px;
    border-radius: 15px;
    /*    background-color: transparent;*/
    /*    box-shadow: 4px 5px 17px -4px #f26a68;*/

}


.cardyy {
    background-color: transparent;
    /*    backdrop-filter: blur(10px);*/
    border: 3px solid #BA9977;
    padding: 32px;
    border-radius: 15px;
    /*    background-color: transparent;*/
    /*    box-shadow: 4px 5px 17px -4px #f26a68;*/

}

.cardyb h3 {
    /*    font-size: 28px;*/
    text-align: center;
    justify-self: center;
    color: #fff !important;
}

.cardyb h1 {
    /*
    font-family: "widescreen-uex",
    sans-serif;
    font-weight: 800;
    font-style: normal;
    text-transform: uppercase;
*/
    text-align: center;
    justify-self: center;
    color: #505243 !important;


    /*
    font-family: "pacifico",
    sans-serif;
    font-weight: 400;
    font-style: normal;
*/
    /*    font-size: 28px;*/

}

.cardyb p,
.cardyb li {
    text-align: center;
    justify-self: center;
    color: #fff;




}

.cardya {
    background-color: transparent;
    /*    backdrop-filter: blur(10px);*/
    /*        border: 3px solid #000000;*/
    padding: 23px;
    border-radius: 15px;
    /*    background-color: transparent;*/
    box-shadow: 4px 5px 17px -4px #3a3a3aa5;

}


.cardya h1 {
    /*
    font-family: "widescreen-uex",
    sans-serif;
    font-weight: 800;
    font-style: normal;
    text-transform: uppercase;
*/
    text-align: center;
    justify-self: center;
    color: #000;


    /*
    font-family: "pacifico",
    sans-serif;
    font-weight: 400;
    font-style: normal;
*/
    /*    font-size: 28px;*/

}

.cardya h3 {
    /*    font-size: 28px;*/
    letter-spacing: 1px;
    text-align: center;
    justify-self: center;
    color: #2d4432;
}

.cardya p,
.cardya li {
    text-align: center;
    justify-self: center;
    color: #000;




}

@media (min-width: 1200px) {
    .cardyd {
        /*        height: 223px;*/
    }
}



.colorback {
    padding: 100px 0px;
    background-color: #4EBBB6;
    /*    background: linear-gradient(64deg, rgba(17, 17, 17, 1) 1%, rgba(37, 37, 37, 1) 47%, rgba(68, 68, 68, 1) 99%);*/
    color: #fff;
    /*    border-bottom: 3px solid #cb7365;*/
}

.colorback p,
.colorback li {
    color: #fdfbf5;
    /*    fontffweight: 800;
    */
}

.colorback a {
    color: #da1c5b;
    /*    font-weight: 900;*/


}



.colorback h3 {
    color: #efefef;
    /*    border-bottom: 2px solid white;*/
}

.colorback h1 {

    color: #000;
    /*    -webkit-text-stroke: 1px white;*/

    /*    -webkit-text-stroke: 1px white;*/
    /*    font-size: 30px;*/
}

.colorback heading {
    font-weight: 300;
    width: 100%;
    border-bottom: 1px solid #fff !important;
    padding-bottom: 16px;
}


.colorback2 {
    padding: 80px 0px;
    background-color: #f7d9e1;
    color: #fff;
    /*    border-bottom: 3px solid #cb7365;*/
}

.colorback2 p,
.colorback2 li {
    color: #4f1021;
    font-weight: 500;
}

.colorback2 a {
    color: #fff;
    /*    font-weight: 900;*/


}

.colorback2 b {
    color: #f2e9e4;
    font-weight: bold;
}


.colorback2 h3 {
    color: #fff;
}

.colorback2 h1 {

    color: #fa8672;
    /*    -webkit-text-stroke: 1px white;*/

    /*    -webkit-text-stroke: 1px white;*/
    /*    font-size: 30px;*/
}



.imageback {
    padding: 120px 0px;
    /*    min-height:500px;*/
    background-image: url("../img/imageback.png");
    /*    background-attachment: fixed;*/
    background-position: bottom center;
    /*    background-repeat: repeat-x;*/
    background-size: cover;
    /*    color: white;*/
}


.imageback h1 {
    color: #fdf7f0;
}

.imageback h3 {
    color: #fff;
}


.imageback p,
.imageback li {
    color: #fdf7f0;
}

.imageback b {
    text-transform: uppercase;
    font-family: "montserrat", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: white;
}

.imageback a {
    color: #eeeeee;
    font-weight: 700;
}



.imageback2 {
    padding: 100px 0px;
    /*    min-height:500px;*/
    background-image: url("../img/imageback2.jpg");
    /*    background-attachment: fixed;*/
    background-position: center center;
    /*    background-repeat: repeat-x;*/
    background-size: cover;
    /*    color: white;*/
}

.imageback2 h1 {
    color: #e2feff;
}

.imageback2 p {
    color: #fff;
    /*    font-size: 50px;*/
}

/* From Uiverse.io by Creatlydev */
.button2 {
    line-height: 1;
    text-decoration: none;
    display: inline-flex;
    border: none;
    cursor: pointer;
    align-items: center;
    gap: 0.75rem;
    background-color: #cd0305;
    /*    background: linear-gradient(64deg, rgba(154, 108, 49, 1) 0%, rgba(181, 144, 83, 1) 54%, rgba(225, 207, 131, 1) 87%);*/
    /*    color: #fff;*/
    border-radius: 10rem;
    padding: 0.75rem 1.5rem;
    font-family: "nexa-text", sans-serif;
    font-weight: 600;
    font-style: normal;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #fdfbf5;
    /*    font-size: 20px;*/
    padding-left: 20px;
    line-height: 9px;
    /*    letter-spacing: 2px;*/
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: 0.3s;
    /*    border: 2px solid #10342a;*/

}

.button2__icon-wrapper {
    flex-shrink: 0;
    width: 25px;
    height: 25px;
    position: relative;
    color: #cd0305;
    background-color: #fdfbf5;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.button2:hover {
    /*    border: 2px solid #347563;*/
    /*    color: #FFCD01;*/
    background-color: #000;
}

.button2:hover .button2__icon-wrapper {
    /*    background-color: #FFCD01;*/
    color: #000;

}

.button2__icon-svg--copy {
    position: absolute;
    transform: translate(-150%, 150%);
}

.button2:hover .button2__icon-svg:first-child {
    transition: transform 0.3s ease-in-out;
    transform: translate(150%, -150%);
}

.button2:hover .button2__icon-svg--copy {
    transition: transform 0.3s ease-in-out 0.1s;
    transform: translate(0);
}


.mobishow {
    display: none !important;
}

.mobihide {
    display: grid !important;
}

@media (max-width: 768px) {
    .mobishow {
        display: grid !important
    }

    .mobihide {
        display: none !important;
    }
}


.block-content {
    min-height: 100vh;
}

block-content p {
    font-size: 1.1em;
    line-height: 1.5;
    text-align: left;
    justify-self: left;
    -webkit-font-smoothing: antialiased;
    margin: 0 auto 1em auto;
}

.block-content h2 {

    text-align: left;
    margin: 1em 0 0 0;
    font-size: 19px;
    line-height: 1;
    letter-spacing: 0.02em;

    @media all and (min-width:40em) {

        font-size: 4.75em;

    }
}

.subtitle {

    /*            font-family: $fontstack_heading;*/
    /*            font-weight: 300;*/
    text-transform: uppercase;
    text-align: center;
    font-size: 19px;
    margin: 0.5em 0;
}

.heading-group {
    margin: 0 0 3em 0;
}

.content h3 {
    text-align: left;

    font-size: 1.2em;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #fff;

    @media all and (min-width:40em) {

        font-size: 2.5em;

    }
}




.l-block-spacing {


    min-height: 80vh;
    padding: 2em 0 4em 0;

}

.l-contained {

    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;

    padding-left: 1em;
    padding-right: 1em;

    @media all and (min-width:40em) {

        padding-left: 2em;
        padding-right: 2em;


    }
}

.timeline-list {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    list-style: none;
    margin: 60px auto;
    padding: 0;
    position: relative;
    max-width: 1200px;
}

.timeline-list::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 10%;
    right: 10%;
    height: 5px;
    background: #cd0305;
    transform: scaleX(0);
    transform-origin: left;
    animation: growLine 1s ease forwards;
}

.timeline-list li {
    position: relative;
    list-style-type: none;
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 15px;

    opacity: 0;
    transform: translateY(40px);
    animation: revealItem 0.6s ease forwards;
}

/* Stagger the animations */
.timeline-list li:nth-child(1) {
    animation-delay: 0.3s;
}

.timeline-list li:nth-child(2) {
    animation-delay: 0.8s;
}

.timeline-list li:nth-child(3) {
    animation-delay: 1.3s;
}

.timeline-list li:nth-child(4) {
    animation-delay: 1.8s;
}

.timeline-list li:nth-child(5) {
    animation-delay: 2.3s;
}

.timeline-list .dot {
    width: 30px;
    height: 30px;
    background: #fff;
    border: 5px solid #cd0305;
    border-radius: 50%;
    margin: 0 auto 25px;
    position: relative;
    z-index: 2;

    transform: scale(0);
    animation: popDot 0.5s ease forwards;
}

.timeline-list li:nth-child(1) .dot {
    animation-delay: 0.3s;
}

.timeline-list li:nth-child(2) .dot {
    animation-delay: 0.8s;
}

.timeline-list li:nth-child(3) .dot {
    animation-delay: 1.3s;
}

.timeline-list li:nth-child(4) .dot {
    animation-delay: 1.8s;
}

.timeline-list li:nth-child(5) .dot {
    animation-delay: 2.3s;
}

.timeline-list .content {
    animation: fadeUp 0.6s ease forwards;
}

.timeline-list h3 {
    text-align: left;
    color: #cd0305;
    margin-bottom: 10px;
    font-size: 20px;
}

.timeline-list p {
    text-align: left;

    color: #111;
    font-size: 16px;
    line-height: 1.5;
}

/* Mobile */
@media (max-width: 900px) {

    .timeline-list {
        flex-direction: column;
        gap: 40px;
    }

    .timeline-list::before {
        display: none;
    }

    .timeline-list li {
        width: 100%;
    }
}

@keyframes revealItem {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popDot {
    0% {
        transform: scale(0);
    }

    60% {
        transform: scale(1.25);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes growLine {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

/* =========================
   MOBILE TIMELINE
========================= */

@media (max-width: 900px) {

    .timeline-list {
        display: block;
        margin: 50px auto;
        padding: 0 0 0 40px;
        position: relative;
    }

    /* Vertical line */
    .timeline-list::before {
        display: block;
        left: 14px;
        right: auto;
        top: 0;
        bottom: 0;
        width: 5px;
        height: 100%;
        transform: scaleY(0);
        transform-origin: top;
        animation: growVertical 1s ease forwards;
    }

    .timeline-list li {
        width: 100%;
        text-align: left;
        padding: 0 0 40px 25px;
        position: relative;

        opacity: 0;
        transform: translateX(-30px);
        animation: revealMobile 0.6s ease forwards;
    }

    /* Put the dot on the vertical line */
    .timeline-list .dot {
        position: absolute;
        left: -41px;
        top: 0;

        width: 30px;
        height: 30px;
        margin: 0;

        background: #fff;
        border: 5px solid #cd0305;
        border-radius: 50%;

        transform: scale(0);
        animation: popDot 0.5s ease forwards;
    }

    .timeline-list h3 {
        margin-top: 0;
    }

    .timeline-list p {
        margin-bottom: 0;
    }

    /* Keep the staggered animation */
    .timeline-list li:nth-child(1),
    .timeline-list li:nth-child(1) .dot {
        animation-delay: 0.3s;
    }

    .timeline-list li:nth-child(2),
    .timeline-list li:nth-child(2) .dot {
        animation-delay: 0.8s;
    }

    .timeline-list li:nth-child(3),
    .timeline-list li:nth-child(3) .dot {
        animation-delay: 1.3s;
    }

    .timeline-list li:nth-child(4),
    .timeline-list li:nth-child(4) .dot {
        animation-delay: 1.8s;
    }

    .timeline-list li:nth-child(5),
    .timeline-list li:nth-child(5) .dot {
        animation-delay: 2.3s;
    }
}


/* Mobile slide-in animation */

@keyframes revealMobile {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Mobile vertical line animation */

@keyframes growVertical {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}
