/*
 Theme Name:   PRIORISE
 Theme URI:    https://priorise.com
 Description:  Thème PRIORISE
 Author:       STUDIO WBM
 Author URI:   https://priorise.com
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light
 Text Domain:  priorise_theme
*/


section.block-home-top{
    padding-bottom: clamp(18vh, 20vh, 24vh);
    padding-top: clamp(20vh, 24vh, 26vh);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}
.row-home-top{
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.home-top-content{
    display: flex;
    flex-direction: column;
    max-width: 60%;
    gap: 100px;
    justify-content: space-between;
    align-items: flex-start;
    flex-shrink: 0;
}
.home-top-thumbnail{
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 32%;
}

/* SIDE CONTENT */
.home-top-content-title{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
}
.home-top-content-title h1{
    opacity: 0;
    transform: translateY(-25px);
    background: linear-gradient(223deg, #FFF 66.99%, rgba(255, 255, 255, 0.60) 83.98%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 42px;
    font-style: normal;
    font-weight: 500;
    line-height: 125%;
    margin-bottom: 0;
}
.home-top-content-title h1>span {
    position: relative;
    display: inline-block;
    height: 60px;
    overflow: hidden;
    vertical-align: top;
}
.home-top-content-title h1>span>span {
    display: block;
    text-align: left;
    -webkit-animation: title 7s cubic-bezier(0.3, 0, 0.32, 1.27) infinite;
    animation: title 7s cubic-bezier(0.3, 0, 0.32, 1.27) infinite;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.home-top-content-title h1>span>span>span {
    background: linear-gradient(223deg, #FFF 66.99%, rgba(255, 255, 255, 0.60) 83.98%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    text-align: left;
}

@media only screen and (max-width: 578px) {
    .home-top-content-title h1>span { 
        height: 38px;
    }
}

@keyframes title {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    20% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    25% {
        -webkit-transform: translateY(-25%);
        transform: translateY(-25%);
    }
    45% {
        -webkit-transform: translateY(-25%);
        transform: translateY(-25%);
    }
    50% {
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }
    70% {
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }
    75% {
        -webkit-transform: translateY(-75%);
        transform: translateY(-75%);
    }
    95% {
        -webkit-transform: translateY(-75%);
        transform: translateY(-75%);
    }
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

.home-top-content-title h1.animate{
    opacity: 1;
    transform: translateY(0px);
    -webkit-transition: opacity 500ms ease, transform 500ms ease;
    -moz-transition: opacity 500ms ease, transform 500ms ease;
    -ms-transition: opacity 500ms ease, transform 500ms ease;
    -o-transition: opacity 500ms ease, transform 500ms ease;
    transition: opacity 500ms ease, transform 500ms ease;
}
.home-top-subcontent{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
    color: #FFFFFF;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 150%;
    max-width: 70%;
}
.home-top-subcontent button{
    width: fit-content;
}
.reassurance-list{
    display: flex;
    align-items: center;
    gap: 30px;
}

.reassurance-item{
    display: flex;
    align-items: center;
    gap: 5px;
    color: #FFFFFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 150%;
}

.reassurance-icon {
    font-size: 30px;
}

.google-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
    margin-top: 50px;
}

.google-rating .google-rating-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.google-rating .google-rating-content .google-rating-stars {
    display: flex;
    color: #ffd400;
}

.google-rating .google-rating-content .google-rating-text {
    display: flex;
    color: #ffffff;
}
/* SIDE THUMBNAIL */

.employee-tag{
    display: flex;
    padding: 1px 40px 1px 1px;
    align-items: center;
    gap: 10px;
    border-radius: 60px;
    background: linear-gradient(220deg, #FFF 17.78%, rgba(255, 255, 255, 0.80) 47.69%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0px 6px 8px 0px rgba(55, 5, 131, 0.10);
    width: fit-content;
}
.employee-tag .employee-thumbnail{
    display: flex;
    width: 75px;
    height: 75px;
    overflow: hidden;
    border-radius: 228.31px;
    background: linear-gradient(161deg, #6A32FB 0%, #3D0089 100%);
    box-shadow: 0px 2px 5px 0px rgba(55, 5, 131, 0.15);
    border: solid 2px rgba(255, 255, 255, 0.80);
}
.employee-tag .employee-thumbnail img{
    object-position: bottom;
    object-fit: contain;
}
.employee-tag h3{
    color: var(--themeMarine);
    font-size: 21px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    margin: 0;
}
.employee-tag-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.employee-tag .employee-cat{
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--themePurple);
    font-size: 14px;
}
.employee-tag .employee-cat img{
    height: 20px;
    object-fit: contain;
}
.employee-tag-row{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 70%;
}
.employee-tag:first-of-type{
    position: absolute;
    top: 12%;
    right: -30%;
    transform: translateX(30px);
    opacity: 0;
}
.employee-tag:last-of-type {
    position: absolute;
    bottom: 15%;
    left: -10%;
    transform: translateX(-30px);
    opacity: 0;
}
.employee-tag:last-of-type.animate {
    opacity: 1;
    transform: translateX(0px);
    -webkit-transition: opacity 500ms ease, transform 500ms ease;
    -moz-transition: opacity 500ms ease, transform 500ms ease;
    -ms-transition: opacity 500ms ease, transform 500ms ease;
    -o-transition: opacity 500ms ease, transform 500ms ease;
    transition: opacity 500ms ease, transform 500ms ease;
}
.employee-tag:first-of-type.animate {
    opacity: 1;
    transform: translateX(0px);
    -webkit-transition: opacity 500ms ease, transform 500ms ease;
    -moz-transition: opacity 500ms ease, transform 500ms ease;
    -ms-transition: opacity 500ms ease, transform 500ms ease;
    -o-transition: opacity 500ms ease, transform 500ms ease;
    transition: opacity 500ms ease, transform 500ms ease;
}





/***********************
       RESPONSIVE
***********************/


@media only screen and (max-width: 1600px) {
    section.block-home-top {
        padding-top: clamp(20vh, 22vh, 24vh);
    }
    .home-top-content-title h1 {
        font-size: 46px;
    }
    .home-top-content {
        gap: 80px;
    }
    .home-top-content-title {
        gap: 40px;
    }
    .home-top-subcontent {
        gap: 30px;
        font-size: 18px;
    }
    .home-top-thumbnail {
        max-width: 35%;
    }
    .employee-tag:last-of-type {
        left: -20%;
    }
}
@media only screen and (max-width: 1280px) {
    section.block-home-top {
        padding-top: clamp(20vh, 26vh, 30vh);
        padding-bottom: clamp(25vh, 30vh, 33vh);
    }
    .home-top-content-title h1 {
        font-size: 42px;
    }
    .home-top-thumbnail {
        max-width: 33%;
    }
    .employee-tag:first-of-type {
        position: absolute;
        top: 35%;
        left: -33%;
        right: auto;
    }
    .employee-tag{
        gap: 6px;
        padding: 1px 30px 1px 1px;
    }
    .employee-tag:last-of-type {
        left: 40%;
        bottom: -5%;
    }
    .employee-tag .employee-thumbnail {
        display: flex;
        width: 65px;
        height: 65px;
    }
    .employee-tag .employee-cat {
        font-size: 12px;
    }
    .employee-tag h3 {
        font-size: 18px;
    }
}
@media only screen and (max-width: 1200px) {
    .home-top-content {
        max-width: 80%;
    }
    .home-top-thumbnail{
        position: absolute;
        max-width: 30%;
        top: clamp(20vh, 26vh, 30vh);
        right: 30px;
        opacity: 0.6;
    }
}   
@media only screen and (max-width: 992px) {
    section.block-home-top {
        padding-top: clamp(15vh, 20vh, 25vh);
        padding-bottom: clamp(15vh, 20vh, 25vh);
    }
    .home-top-content {
        max-width: 100%;
    }
    .employee-tag{
        display: none;
    }
    .home-top-content {
        z-index: 1;
    }
    .home-top-thumbnail {
        max-width: 50%;
        z-index: 0;
        top: 20vh;
        right: -10%;
        opacity: 0.3;
    }
}   
@media only screen and (max-width: 768px) {
    .home-top-content {
        gap: 60px;
    }

    .home-top-content-title {
        width: 100%;
    }

    .home-top-content-title form {
        flex-direction: column;
        border-radius: 20px;
        width: 100%;
    }

    .home-top-content-title form .input-container {
        flex-direction: column;
        width: 100%;
    }

    .home-top-content-title form .input-container .input-row {
        width: 100%;
    }

    .home-top-content-title form .input-container .input-row:first-of-type {
        border-bottom: 1px solid rgba(100, 53, 241, 0.12);
    }

    .home-top-content-title form .input-container input {
        width: 100%;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .home-top-content-title form button {
        width: 100%;
    }

    .reassurance-list {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .google-rating {
        margin-top: 30px;
        justify-content: center;
    }

    .google-rating img {
        width: 30px;
    }
}   
@media only screen and (max-width: 575px) {
    .home-top-content-title h1 {
        font-size: 28px;
    }
    .home-top-thumbnail {
        opacity: 0.3;
        max-width: 60%;
        filter: blur(10px);
        -webkit-filter: blur(6px);
    }
    .home-top-subcontent {
        max-width: 90%;
        font-size: 17px;
    }
}   
@media only screen and (max-width: 420px) {
    section.block-home-top {
        padding-top: clamp(15vh, 20vh, 25vh);
        padding-bottom: clamp(10vh, 15vh, 20vh);
    }
    .home-top-thumbnail {
        max-width: 80%;
        right: -25%;
        top: 20vh;
    }
    .home-top-subcontent {
        max-width: 100%;
    }
}   