/* <<< --- Style --- >>> */


*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}

b {
    font-size: inherit;
    font-weight: 600;
}

a span {
    cursor: inherit;
}

span, .title, .subtitle, h1, h2, h3, h4 {
    cursor: default;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

img {
    user-select: none;
}

div {
    position: relative;
    overflow: hidden;
}

::selection {
    color: var(--color);
    background: rgb(15, 22, 30, 0.9);
}

::-moz-selection {
    color: var(--color);
    background: rgb(15, 22, 30, 0.9);
}

::-webkit-scrollbar {
    display: none;
}

:root {
    --black: #0F161E;
    --black-1: #18222F;
    --black-2: #3C454D;
    --white: #FFF;
    --white-1: #EFEFEF;
    --white-2: #CCC;
    --grey: #878A8E;
    --color: #FFD500;
    --filter-black: invert(6%) sepia(7%) saturate(3855%) hue-rotate(172deg) brightness(97%) contrast(94%);
    --filter-black-1: invert(24%) sepia(6%) saturate(1287%) hue-rotate(167deg) brightness(97%) contrast(87%);
    --filter-white: invert(1);
    --filter-white-1: invert(100%) sepia(1%) saturate(2446%) hue-rotate(237deg) brightness(111%) contrast(87%);
    --filter-white-2: invert(81%) sepia(0%) saturate(0%) hue-rotate(239deg) brightness(102%) contrast(94%);
    --filter-grey: invert(61%) sepia(3%) saturate(377%) hue-rotate(175deg) brightness(88%) contrast(92%);
    --filter-color: invert(89%) sepia(28%) saturate(5076%) hue-rotate(359deg) brightness(104%) contrast(105%);

    --max-width: calc(1160px + calc(var(--padding)*2));
    --min-width: 350px;
    --padding: 50px;
    --padding-section: 150px;
    --header: 100px;
    --number-slide: 5;
    --presentation-bg-height: 100%;
}

@media screen and (max-width: 900px) {
    :root {
        --padding-section: 100px;
        --presentation-bg-height: 500px;
    }
}
@media screen and (max-width: 720px) {
    :root {
        --presentation-bg-height: 400px;
    }
}
@media screen and (max-width: 500px) {
    :root {
        --padding-section: 60px;
        --presentation-bg-height: 300px;
    }
}
@media screen and (max-width: 400px) {
    :root {
        --padding: 30px;
    }
}

body {
    position: relative;
    width: 100%;
    min-width: var(--min-width);
    height: auto;
    opacity: 0;
    overflow-x: hidden;
    overflow-y: scroll;
    transition: .2s ease;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    height: 100%;
    margin: auto;
    padding: 0 var(--padding);
}


/* <<< --- Sroll top --- >>> */


#scroll-top {
    display: none;
    position: fixed;
    bottom: 70px;
    right: 10dvw;
    overflow: hidden;
}

#scroll-top.-active {
    display: flex;
}

#scroll-top .icon, #scroll-top::before {
    background-image: url(../imgs/icons/big-arrow.svg);
    background-size: auto 20px;
    background-position: right;
    background-repeat: no-repeat;
    filter: var(--filter-black);
}

#scroll-top .icon {
    position: relative;
    height: 20px;
    width: 20px;
    transform: rotate(-90deg);
    overflow: visible;
}

#scroll-top::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(50px) rotate(-90deg);
    width: 20px;
    height: 20px;
}

@media screen and (min-width : 980px) {
    #scroll-top:hover .icon {
        animation: scrollTopHover 1s ease;
        transform: rotate(-90deg) translateX(-60px);
    }
    @keyframes scrollTopHover {
        0% {
            transform: rotate(-90deg);
        }
        20% {
            transform: rotate(-90deg) translateX(60px);
        }
        40% {
            opacity: 0;
        }
        80% {
            transform: rotate(-90deg) translateX(-60px);
            opacity: 0;
        }
        100% {
            opacity: 1;
        }
    }
    #scroll-top:hover::before {
        animation: scrollTopHoverBefore .2s ease;
        transform: translateX(-50%) translateY(-50%) rotate(-90deg);
    }
    @keyframes scrollTopHoverBefore {
        0% {
            transform: translateX(-50%) translateY(50px) rotate(-90deg);
        }
        100% {
            transform: translateX(-50%) translateY(-50%) rotate(-90deg);
        }
    }
}
@media screen and (max-width : 1560px) {
    #scroll-top {
        right: var(--padding);
    }
}
@media screen and (max-width : 1360px) {
    #scroll-top {
        right: calc(var(--padding) / 2);
    }
}
@media screen and (max-width : 900px) {
    #scroll-top {
        bottom: 25px;
    }
}
@media screen and (max-width: 600px) {
    #scroll-top {
        width: 100px;
        height: 40px;
        bottom: 0;
        right: 50%;
        transform: translateX(50%);
        border-radius: 10px 10px 0 0;
    }
}


/* <<< --- BTN --- >>> */


.interface-btn {
    position: absolute;
    z-index: 150;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: var(--color);
    border-radius: 10px;
    cursor: pointer;
}

.btn {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: auto;
    height: 40px;
    padding: 0 20px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    text-align: center;
    text-wrap: nowrap;
    text-transform: uppercase;
    line-height: 20px;
    background-color: var(--color);
    overflow: hidden;
    transition: .2s ease;
    user-select: none;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    border-radius: 2px;
    transform: translateY(101%);
    transition: .2s ease;
}

.btn img {
    width: auto;
    max-width: 12px;
    height: auto;
    max-height: 12px;
    filter: var(--filter-black);
    transition: .2s ease;
}

@media screen and (min-width: 980px) {
    .btn:hover::after {
        transform: translateY(0);
    }
    .btn:hover img {
        transform: translateX(2px);
    }
}


/* <<< --- Icons --- >>> */


.icon-plus {
    position: relative;
    transform: translateY(8px) ;
    width: 14px;
    height: 14px;
}

.icon-plus::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--grey);
    transition: .2s ease;
}

.icon-plus::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 6px;
    width: 2px;
    height: 100%;
    background-color: var(--grey);
    transition: .2s ease;
}


/* <<< --- Section --- >>> */


.section {
    width: 100%;
    height: auto;
    background-color: var(--white);
    padding: var(--padding-section) 0;
}

.section-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 80px;
    width: 100%;
    height: auto;
}

.section-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    overflow: visible;
}

.section-title .title {
    font-family: 'rift';
    font-size: 72px;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    line-height: 100px;
    text-align: center;
    text-wrap: wrap;
    color: var(--black);
    cursor: pointer;
}

.section-title .subtitle {
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 30px;
    text-align: center;
    text-wrap: wrap;
    color: var(--grey);
}

@media screen and (max-width: 900px) {
    .section-title .title {
        font-size: 64px;
        line-height: 80px;
    }
    .section-title .subtitle {
        font-size: 16px;
    }
}

@media screen and (max-width: 600px) {
    .section-content {
        gap: 60px;
    }
    .section-title .title {
        font-size: 48px;
        line-height: 60px;
    }
    .section-title .subtitle {
        font-size: 14px;
        line-height: 20px;
    }
}

@media screen and (max-width: 400px) {
    .section-content {
        gap: 40px;
    }
    .section-title .title {
        font-size: 38px;
        line-height: 50px;
    }
    .section-title .subtitle {
        font-size: 12px;
    }
}


/* <<< --- Input --- >>> */

.input-wrap {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 500px;
    height: 60px;
}

.input-wrap input {
    width: calc(100% - 70px);
    height: 100%;
    border-top: 1px var(--white-2) solid;
    border-left: 1px var(--white-2) solid;
    border-bottom: 1px var(--white-2) solid;
    border-right: none;
    border-radius: 5px 0 0 5px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 400;
    color: var(--black-2);
    line-height: 30px;
    text-align: left;
    text-wrap: nowrap;
}

.input-wrap input:focus {
    outline: none;
    border-top: 1px var(--color) solid;
    border-left: 1px var(--color) solid;
    border-bottom: 1px var(--color) solid;
    border-right: none;
}

.input-wrap input:-webkit-autofill {
    background-color: rgb(255, 213, 0, 0.05) !important;
    -webkit-box-shadow: 0 0 0px 1000px rgb(255, 213, 0, 0.05) inset;
    transition: background-color 5000s;
}

.input-wrap input::-webkit-search-cancel-button{
    -webkit-appearance: none;
    background-image: url(../imgs/icons/close.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
    height: 20px;
    width: 12px;
    filter: var(--filter-black);
    cursor: pointer;
}

.input-wrap .input-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 100%;
    border-radius: 0px 5px 5px 0px;
    background-color: var(--color);
    cursor: pointer;
}

.input-wrap .input-btn img {
    width: auto;
    max-width: 18px;
    height: auto;
    max-height: 18px;
    transition: .2s ease;
}

@keyframes iconBtnSearch {
    0% {
        transform: rotate(0deg);
    }
    50%{
        transform: rotate(-10deg) scale(1.1);
    }
    0% {
        transform: rotate(0deg);
    }
}

.input-wrap .input-btn .icon {
    width: 20px;
    height: 20px;
    background-image: url(../imgs/icons/big-arrow.svg);
    background-size: auto 20px;
    background-position: right;
    background-repeat: no-repeat;
    filter: var(--filter-black);
    transition: .2s ease;
}

@media screen and (min-width: 980px) {
    .input-wrap .input-btn:hover img {
        animation: iconBtnSearch 1s ease-in-out;
    }
    .input-wrap .input-btn:hover .icon {
        width: 30px;
    }
}

@media screen and (max-width: 500px) {
    .input-wrap {
        height: 50px;
    }
    .input-wrap input {
        width: calc(100% - 60px);
        padding: 15px 20px;
    }
    .input-wrap .input-btn {
        width: 60px;
    }
    .input-wrap .input-btn .icon {
        width: 15px;
        height: 15px;
        background-size: auto 15px;
    }
}