section#final {
    height: -moz-fit-content;
    height: fit-content;
    min-height: 0;
}

section#final .container {
    height: 100%;
    padding: 0 0 150px 0;

    position: relative;
}

section#final .content {
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;

    grid-template-areas: 't1 .'
                         't2 b';

    /* grid-template-columns: 2fr fit-content; */
    grid-template-rows: repeat(2, 2em);
    grid-template-columns: 1fr;
    font-size: 4.6em;

    user-select: none;
}


.grid-t1 { 
    grid-area: t1; 
}
.grid-t2 { 
    grid-area: t2; 
    padding-left: 10%;
    width: 37ch;
}

.grid-b { 
    grid-area: b; 
    display: flex;
    padding-left: 50px;

    position: relative;
}

.grid-b a {
    height: -moz-fit-content;
    height: fit-content;
}


.svg-wrapper {
    max-height: 165px;

    overflow: hidden;
    cursor: pointer;    
}

section#final .svg-wrapper {
    transform: translateY(-15px);
}

.svg-wrapper svg {
    width: auto;
    height: 125px;
}

.svg-wrapper svg * {
    stroke: var(--secondary);
}

.svg-wrapper svg .arrow-body {
    stroke-dasharray: 40.5;
    stroke-dashoffset: 40.5;

    transition: 0.1s ease-out 0s;
}

.svg-wrapper svg .small-chevron {
    transition: 0.25s ease-out;
}

.svg-wrapper svg .small-chevron line {
    stroke-dasharray: 13;
    stroke-dashoffset: 0;

    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0s;
}

.svg-wrapper svg:hover  {
    cursor: pointer;
}

.svg-wrapper svg:hover .arrow-body {
    transition-delay: 0.2s;
    stroke-dashoffset: 0;
}

.svg-wrapper svg:hover .small-chevron {
    transform: translateX(60%);
}

.svg-wrapper svg:hover .small-chevron line {
    transition-delay: 0.3s;
    stroke-dasharray: 20;
}

@media only screen and (max-width: 1440px){
    section#final .content {
        font-size: 3.9em;
    }
}

@media only screen and (max-width: 1080px){ 
    .grid-t3, .grid-t2 {
        padding-left: 0;
        width: -moz-fit-content;
    width: fit-content;
    }

    section#final .container {
        padding: 0 10px 60px 10px;
    }

    section#final .content {
        grid-template-areas: "t1"
                             "t2"
                             "b ";

        grid-template-columns: 1fr;
        grid-template-rows: none;

        text-align: center;
        justify-content: center;
        justify-items: center;
    }

    .grid-t1, .grid-t2 {
        padding: 20px 0;
    }

    .grid-b {
        padding-left: 0;
    }

    section#final .svg-wrapper {
        transform: none;
    }

    section#final.hover .content .svg-wrapper svg .arrow-body {
        transition-delay: 0.2s;
        stroke-dashoffset: 0;
    }
    
    section#final.hover .content .svg-wrapper svg .small-chevron {
        transform: translateX(60%);
    }
    
    section#final.hover .content .svg-wrapper svg .small-chevron line {
        transition-delay: 0.3s;
        stroke-dasharray: 20;
    }
}

@media only screen and (max-width: 630px){
    section#final .content {
        font-size: 3.8em;
    }
}

@media only screen and (max-width: 470px){
    section#final .content .svg-wrapper svg {
        height: 100px;
    }

    section#final .content {
        font-size: 3.2em;
    }
}

@media only screen and (max-width: 380px){
    section#final .content {
        font-size: 2.7em;
    }
}

