/* 
-------------------------------------------------------------------------- 
-------------------------------------------------------------------------- 
-------------------------------------------------------------------------- 

	01.   FONTS
	02.   VARIOS
    03.   CUSTOM CLASSES
    04.   HEADER
    05.   BUTTON
	06.	  HOME PAGE
    07.   PROJECT PAGE
	08.   CONTACT PAGE
	09.   FOOTER
	10.   RESPONSIVE BETWEEN VERY SMALL AND SMALL 
    11.   RESPONSIVE SMALL SCREENS
    12.   RESPONSIVE TABLET - SMALL LAPTOPS
	13.   RESPONSIVE BIG SCREENS
	14.   RESPONSIVE MENU

-------------------------------------------------------------------------- 
-------------------------------------------------------------------------- 
-------------------------------------------------------------------------- 
*/

/* 01. FONTS */


@font-face {
    font-family: hatton;
    src: url(../fonts/HattonUltralight.otf);
}

@font-face {
    font-family: Strawford;
    src: url(../fonts/Strawford.ttf);
}


* {
    font-family: "Strawford", sans-serif;
    font-size: 18px;
    color: var(--black);
}

h1,
h1 span {
    font-family: "Hatton", sans-serif;
    font-weight: 100;
    line-height: 1;
    font-size: 18.5vw;
    user-select: none;
    z-index: 2;
}

.text-project h3 {
    font-family: "Hatton", sans-serif;
    font-weight: 100;
    line-height: 1;
    font-size: clamp(2rem, 1.436rem + 1.76vw, 3rem);
    user-select: none;
    margin-block: 2rem;
}

.page-title-xl {
    font-family: "Strawford", sans-serif;
    font-weight: bold;
    line-height: 1.2;
    font-size: 12vw;
    user-select: none;
    letter-spacing: -.5vw;
}

.page-title-l {
    font-family: "Strawford", sans-serif;
    font-weight: bold;
    line-height: 1.2;
    font-size: clamp(2.22rem, 1.2rem + 5vw, 5rem);
    user-select: none;
    letter-spacing: -.5vw;
}

.page-title {
    font-family: "Strawford", sans-serif;
    font-weight: bold;
    line-height: 1.2;
    font-size: 5vw;
    user-select: none;
    letter-spacing: -.1vw;
}

h1 span {
    display: block;
    transition: 0.3s ease-out;
}

h2,
h2 span {
    font-family: "Strawford";
    font-size: clamp(2.375rem, 1.9369rem + 1.8692vw, 4.25rem);
    padding: 0;
    text-wrap: balance;
    font-weight: bold;
}

.ser-heading {
    font-family: "Strawford";
    font-size: clamp(1.25rem, 0.1637rem + 2.6761vw, 1.75rem);
    padding: 0;
    text-wrap: balance;
    font-weight: 400;
}

.ser-heading.active {
    color: var(--black);
    transition: .5s;
}

h3,
h4 {
    font-weight: bold;
    font-size: clamp(.85rem, 0.1637rem + 2.6761vw, 1rem);
}

.ser-title,
.faq-title {
    font-family: "Strawford";
    font-size: clamp(1rem, 0.1637rem + 2.6761vw, 1.25rem);
    font-weight: 400;
}

.ser-title {
    padding: 1.5rem 2.5rem 0;
}

.action-text {
    font-size: 1rem;
}

.contact-form * {
    font-size: clamp(0.9rem, 2vw, 1.15rem);
}

.font-xl {
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.font-m {
    font-size: clamp(1rem, 2vw, 1.15rem);
}

.font-s,
.font-s span,
.ser-ul li {
    font-size: clamp(0.8rem, 2vw - 0.25rem, 0.9rem);
}

.container-intro h2 {
    line-height: 1.2;
}

.header-text-xl {
    margin: auto;
    padding: 6rem 1rem;
}

.header-text-xl .container-reveal {
    justify-content: center;
}


/* 02. VARIOS */

/* Variables */

:root {
    /* --black: #161616; */
    --black: #000;
    --white: #f3f3f3;
    --lavender: #d3c3ea;
    --blue: #c7d8ea;
    --green: #849a39;
    --red: #ff5757b7;
    --beige: #fffaf2;
    --gold: #ffe3a8;
    --background: #f6f6f0;
    /* --background: #ffd2d9; */
}

/* Globoal */

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    background-color: var(--background);
    overflow-x: hidden;
}

::selection {
    background-color: var(--lavender);
}

*:focus {
    outline: none;
}

li {
    list-style: none;
}

ul {
    padding: 0;
    margin: 0;
}


/* Scrollbar */

* {
    scrollbar-width: none;
    /*Firefox*/
}

*::-webkit-scrollbar {
    width: 0;
    /*Chrome, Edge, Safari...*/
}

/* Selector */

.select::selection {
    background: var(--blue);
}

/* Preloader */

.progressBar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70vw;
}

#progressImg {
    width: 70vw;
}

#opacObj {
    width: 70vw;
    height: 100%;
    background: var(--background);
    position: absolute;
    top: 0;
    right: 0;
    opacity: .8;
}

.block {
    position: fixed;
    width: 100vw;
    height: 100dvh;
}

.block-one {
    top: 0;
    background-color: var(--background);
    z-index: 9999;
}

.block-two {
    top: 0;
    background-color: var(--black);
    z-index: 9998;
}

.visible,
.char {
    display: inline !important;
}

.char-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
}

/* Politica de Privacidad */

.arrow::before {
    content: "";
    background: url(../img/arrow.svg) center center no-repeat;
    margin-right: 0.5rem;
    width: 1rem;
    padding: 0.5rem;
    align-self: center;
    background-size: contain;
}

.privacidad-container {
    max-width: 40rem;
    margin: auto;
    text-align: start;
}

.container-priv {
    line-height: 1.75;
    margin: 2rem auto;
}

/* Animations */

.spin::after {
    /* animation: spin 10s linear infinite; */
    user-select: none;
    margin-inline: 1rem;
}

.spin-reverse::after {
    /* animation: spin 10s linear infinite; */
    animation-direction: reverse;
    user-select: none;
    margin-inline: 1rem;
}

.rotate {
    animation: spin 20s linear infinite;
    user-select: none;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Cursor Custom */

.c-cursor,
.c-border {
    --size: .75rem;
    position: fixed;
    width: var(--size);
    height: var(--size);
    top: calc(var(--size) / -2);
    left: calc(var(--size) / -2);
    transform: translate(var(--cursor-x, -5.5rem), var(--cursor-y, -5.5rem)) translateZ(0);
    pointer-events: none;
    transition: none;
    z-index: 99;
}

.c-cursor {
    mix-blend-mode: difference;
}

.c-border {
    --size: 1.75rem !important;
    transition: all 0.2s ease-out;
}

.c-cursor__inner,
.c-cursor__border {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    pointer-events: none;
    transition: 0.3s ease-out;
}

.c-cursor__inner {
    background-color: #fff;
    transform: scale(1) translateZ(0);
}

.c-cursor__border {
    background-color: #00000000;
    border: solid 1px #000;
}

.c-cursor.is-clicked .c-cursor__inner {
    transform: scale(3) translateZ(0);
}

.c-border.is-clicked .c-cursor__border {
    transform: scale(0) translateZ(0);
}

.c-cursor.is-hidden .c-cursor__inner,
.c-border.is-hidden .c-cursor__border {
    transform: scale(0);
}

.c-cursor.is-link-hovered .c-cursor__inner {
    transform: scale(3) translateZ(0);
}

.c-border.is-link-hovered .c-cursor__border {
    transform: scale(0);
}


.has-custom-cursor, .has-custom-cursor * {
    cursor: none !important;
}


/* 03. CUSTOM CLASSES */

.none {
    display: none !important;
}

.show {
    display: block !important;
}

.flex {
    display: flex !important;
}

.fd-col {
    flex-direction: column !important;
}

.fd-row {
    flex-direction: row;
}

.center {
    justify-content: center;
}

.ai-center {
    align-items: center;
}

.auto {
    margin: auto;
}

.margin-top {
    margin-top: 3rem;
}

.margin-bottom {
    margin-bottom: 3rem;
}

.margin-top-low {
    margin-top: 1rem;
}

.margin-bottom-low {
    margin-bottom: 1rem;
}

.tw-nowrap {
    text-wrap: nowrap;
}

.ta-center {
    text-align: center;
}

.grid-center {
    display: grid;
    justify-content: center;
    align-content: center;
}

.outline-text {
    -webkit-text-stroke: 2px var(--black);
    color: transparent;
}

.bold {
    font-weight: bold;
}

.sliding {
    --speed: 18s;
}

.show-scroll {
    overflow-y: auto;
}

.lh-high {
    line-height: 3rem;
}

.lh-med {
    line-height: 2.35rem;
}

.lh-low {
    line-height: 1.5rem;
}

.p-re {
    display: block;
    line-height: 2;
}

.container-title {
    display: flex;
    position: relative;
}

.container-reveal {
    overflow: hidden;
    padding-top: 0;
}

.scaleIn {
    transform: scale(0);
}

/* .fadeIn {
    position: relative;
    opacity: 0;
    top: 100%;
} */

.sec-sticky {
    background-color: var(--background);
    position: sticky;
    top: 0;
    border-top: solid 1px var(--black);
    z-index: 1;
}

.arrow-up {
    transform: rotate(90deg);
    align-self: center;
}

.arrow-right {
    margin-right: .25rem;
}

.arrow-up,
.arrow-right {
    width: .5rem;
    height: .5rem;
    transition: transform 0.2s;
}

.arrow-up.arrow-active {
    transform: rotate(-90deg) !important;
}

/* 04. HEADER */

.menu-fade {
    position: fixed;
    width: 100%;
    background: var(--background);
    border-bottom: solid 1px var(--black);
    z-index: 98;
}

.menu {
    width: 100%;
    height: 3rem;
    justify-content: space-between;
}

.nav-mobile {
    display: none;
}

.menu-link {
    color: var(--black);
    text-decoration: none;
    position: relative;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.menu-link::before {
    position: absolute;
    transition: all 0.5s ease;
}

.menu-link::before {
    display: block;
    position: absolute;
    bottom: 100%;
    height: .5px;
    bottom: -2.5px;
    width: 0%;
    content: "";
    background-color: var(--black);
}

.menu-link:hover::before {
    width: 100%;
    position: absolute;
    display: flex;
    align-self: center;
}

.links {
    list-style-type: none;
    margin: 0 1.5em;
}

.menu-pc {
    width: 11rem;
    padding-left: .5rem;
}

.menu-logo {
    display: flex;
    justify-content: center;
    height: 2.5rem;
}

.menu-logo img {
    width: 100%;
    height: 100%;
}

.desplegable-item {
    margin: 0;
    padding: 0;
    width: 100%;
}

.desplegable-link {
    display: block;
    padding: .75rem;
    width: 100%;
    text-decoration: none;
}

.desplegable-link:hover {
    background-color: var(--black);
    color: var(--white);
}

.desplegable-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 150%;
    left: -50%;
    width: max-content;
    min-width: 11.111rem;
    box-shadow: 3px 3px var(--black);
    border: solid 1px var(--black);
    border-radius: 0;
    background-color: var(--background);
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 99;
}


/* 05. BUTTON */

.action-btn {
    position: relative;
    background-color: var(--black);
    display: inline-block;
}

.action-text {
    color: var(--black);
    padding: 0.7rem 0.8rem;
    white-space: nowrap;
    font-weight: normal;
    display: inline-block;
    border: solid 1px var(--black);
    text-transform: uppercase;
    user-select: none;
    transition: 0.1s;
    transition-delay: 0.1s;
    background: var(--white);
    transition: transform .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-custom:hover .action-text {
    transform: translate3d(-3px, -3px, 0);
}

.action-btn:active .action-text {
    transform: translate3d(0, 0, 0);
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-custom {
    width: fit-content;
}

.btn-header {
    width: 200px;
    height: 100%;
    border-left: solid 1px var(--black);
}

/* BTN Underline */

.btn-underline {
    position: relative;
    font-weight: bold;
    color: var(--black);
    text-decoration: none;
    transition: all 0.5s ease
}

.btn-underline::before {
    position: absolute;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.btn-underline::before {
    display: block;
    position: absolute;
    top: 100%;
    height: 2px;
    bottom: 0;
    width: 0%;
    content: "";
    background-color: var(--black);
}

.btn-underline:hover::before {
    width: 100%;
    position: absolute;
    display: flex;
    align-self: center;
}

/* 06. HOME */

/* Section Principal*/

.section-principal {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.ball-container {
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
}

.ball-wrapper {
    position: absolute;
}

/* Posición base (wrapper) */
.ball-wrapper:nth-child(1) {
    top: 20%;
    left: 70%;
}

.ball-wrapper:nth-child(2) {
    top: 60%;
    left: 85%;
}

.ball-wrapper:nth-child(3) {
    top: 65%;
    left: 5%;
}

.ball {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    filter: blur(2.5rem);
}

.ball-1 {
    background-color: #ff7f50;
}

.ball-2 {
    background-color: #ffff00;
}

.ball-3 {
    background-color: #5f86a0;
}

.ball-wrapper:nth-child(1) {
    width: 15rem;
    height: 15rem;
}

.ball-wrapper:nth-child(2) {
    width: 6rem;
    height: 6rem;
}

.ball-wrapper:nth-child(3) {
    width: 10rem;
    height: 10rem;
}

.img-principal {
    display: block;
    position: absolute;
    width: 10%;
    height: 10%;
    opacity: 0.5;
    z-index: -1;
    box-shadow: 0 0 2rem 2rem #ffffff3e;
    transition: all 0.2s ease;
}

/* Section About */
.section-about-home {
    padding: 6rem 0;
}

.container-column {
    max-width: 80rem;
    margin: auto;
    padding-block: 2rem;
    gap: 2rem;
}

.column {
    flex-basis: 33.33%;
    padding: 0 1.5rem;
}

.column h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.section-about-home .column .container-p {
    margin: 0 1.25rem 3.75rem 0;
}

.about-text-home,
.project-text-home {
    margin: auto;
    padding-block: 4rem 1rem;
    padding-inline: 2rem;
}

.about-text-home {
    max-width: 80rem;
}

.sticker {
    width: 2.5rem;
    height: 2.5rem;
}

.container-sticker {
    width: 5rem;
    height: 5rem;
    background: var(--black);
    border-radius: 50%;
    justify-content: center;
    align-items: center;
}

.section-about {
    max-width: 100%;
    margin-inline: 3rem;
    margin-bottom: 10rem;
}

.section-set {
    max-width: 100%;
    margin-inline: 3rem;
    margin-top: 6rem;
    margin-bottom: 10rem;
}

.container-title.about-text-home {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.container-about {
    flex: 1 1 65%;
    min-width: 280px;
}

.container-about-img {
    flex: 1 1 30%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-width: 200px;
}

.container-about-img img {
    max-width: 100%;
    height: auto;
    display: block;
    outline: solid .3rem var(--gold);
    border-radius: 25% 75% 70% 30% / 30% 30% 70% 70%;
    box-shadow: 1rem 1rem 2rem 0px #00000030;
}

.container-about-img {
    width: 30%;
    height: 100%;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.re-text {
    margin-top: 2rem;
}

.about-bg {
    flex-wrap: wrap;
    gap: 2rem;
    margin-inline: 3rem;
    margin-bottom: 10rem;
}

.ser-des {
    border: solid 1px var(--black);
    box-shadow: 3px 3px var(--black);
    max-width: 35rem;
}

.ser-service {
    border-bottom: solid 1px var(--black);
    padding-block: 1.5rem;
}

.ser-service h4 {
    margin-block: 1rem;
}

.ser-list {
    margin-bottom: 2rem;
    padding-inline: 2.5rem;
}

.ser-list li {
    margin-block: 1rem;
}

.ser-ul li {
    padding-block: .5rem;
    line-height: 1;
    display: flex;
}

.ser-profit {
    margin-bottom: 3rem;
}

.ser-data {
    padding-inline: 2.5rem;
    margin-bottom: 3rem;
}

.text-price {
    font-size: 3rem;
    margin-block: 1.5rem;
}

.faq-container {
    position: sticky;
    top: 6rem;
    display: flex;
    max-width: 30rem;
    flex-direction: column;
    align-items: center;
    height: max-content;
    margin-top: 0;
    padding: 0 1.5rem 1rem;
    border: 1.5px solid #1b1c1d;
    box-shadow: 3px 3px var(--black);
}

.faq-item {
    padding: 1.5rem;
    cursor: pointer;
    overflow: hidden;
    border-bottom: solid 1px #000000b3;
}

.faq-item:last-child {
    border-bottom: solid 1px transparent;
}

.faq-close {
    mix-blend-mode: darken;
    width: 1rem;
    height: 1rem;
    display: grid;
    place-items: center;
}

.faq-close-line {
    display: block;
    position: absolute;
    z-index: 99;
    width: 1.25rem;
    height: 1px;
    background-color: var(--black);
    transition: all .2s cubic-bezier(0, -0.2, 1, 1.35);
}

.faq-close-line:last-child {
    transform: rotate(90deg);
}

.faq-close.cross-active .faq-close-line:last-child {
    transform: rotate(0deg);
}

.question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.answer {
    max-height: 0;
    max-width: 95%;
    overflow: hidden;
    transition: .5s;
}

.answer p {
    margin-top: 1.25rem;
}

.show-answer {
    max-height: 20rem;
}

/* Section Project Home */

.mockupPage-content {
    margin: auto;
    padding-inline: 1.5rem;
}

.project-list {
    width: 100%;
    margin: 0;
    padding: 0;
    border-top: solid 1px var(--black);
}

.project {
    display: inline-block;
    width: 100%;
    padding: 2.5rem 0;
    border-bottom: solid 1px var(--black);
}

.project a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.project img.swipeimage {
    position: fixed;
    top: 0;
    left: 0;
    /* width: 20rem; */
    height: 17.5rem;
    object-fit: contain;
    transform: translateX(-50%) translateY(-50%);
    z-index: 9;
    opacity: 0;
    visibily: hidden;
    pointer-events: none;
}

/* Section Method project */

.section-project {
    background-color: var(--background);
    z-index: 2;
    position: relative;
    border-top: solid 1px var(--black);
    padding: 6rem 1rem 7.5rem 1rem;
}

.container-project {
    max-width: 70rem;
    min-height: 26.5rem;
    margin: auto;
    gap: 3rem;
}

/* Section Intro */

.section-intro {
    border-top: solid 1px var(--black);
    min-height: 100vh;
    padding: 6rem 1rem 8rem;
    background-color: var(--blue);
}

.intro-text {
    flex-direction: column;
}

.intro-text p {
    text-wrap: balance;
}

.container-intro {
    flex-direction: column;
    max-width: 50rem;
    margin: auto;
}

/* 07. PROJECT PAGE */

/* Marco Navegador */

.mockup-video {
    max-width: 65rem;
}

.browser-mockup {
    max-width: 65rem;
    border-radius: .5rem;
    overflow: hidden;
    box-shadow: 0 .5rem 2rem rgba(0, 0, 0, 0.15);
    background: #fff;
    margin: 6rem auto;
}

.browser-mockup-bar {
    display: flex;
    align-items: center;
    height: 1.75rem;
    border-radius: .5rem .5rem 0 0;
}

.browser-img img {
    border-radius: .5rem;
}

.browser-img,
.video {
    padding: 0 .35rem .35rem .35rem;
}

.mockup-buttons {
    display: flex;
    gap: .35rem;
    padding: .75rem;
}

.mockup-button {
    width: .5rem;
    height: .5rem;
    border-radius: .75rem;
}

.mockup-blue {
    background: var(--blue);
}

.mockup-green {
    background: var(--green);
}

.mockup-red {
    background: var(--red);
}

.red {
    background: #ff5757;
}

.yellow {
    background: #febc2e;
}

.green {
    background: #28c840;
}

.browser-img img,
.video {
    width: 100%;
    display: block;
}

/*----------------*/

.mockup-principal {
    max-width: 65rem;
    margin-inline: auto;
    margin-bottom: 5rem;
    border-radius: 1rem;
}

.mockup-gen {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 1rem;
    box-shadow: rgba(0, 0, 0, 0.3) 0 .35rem 1cap;
}

.project-description {
    max-width: 57rem;
    margin: auto;
    line-height: 200%;
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    max-width: 57rem;
    margin: 3rem auto;
}

.tag {
    font-size: .75rem;
    border: 2px solid #333;
    border-radius: 2rem;
    padding: .5rem .75rem;
    transition: 0.3s;
}

/* .tag:hover {
    background-color: #333;
    color: #fff;
} */

/* 08. CONTACT */

/* Contact Page */

label {
    display: flex;
    align-items: center;
}

.section-contact {
    margin: auto;
}

.contact-text {
    margin: auto;
    padding: 6rem 1rem;
}

.contact-form {
    border: none;
    margin-bottom: 10rem;
    padding: 0;
}

::placeholder {
    color: #00000090;
}

.form-p:not(.p-5, .p-6, .p-7) {
    height: 4rem;
}

.contact-form input:not(.custom-checkbox) {
    height: 4rem;
}

.contact-form textarea {
    height: 20rem;
    resize: none;
    padding-top: 2rem;
}

.p-5 {
    height: 10rem;
}

.p-7 {
    display: flex;
    align-items: center;
    padding-top: 2rem;
    padding-left: 2rem;
}

.p-7 label {
    display: flex;
    gap: .5rem;
}

.container-asterisk {
    position: relative;
}

.required {
    position: relative;
}

input[type="checkbox"] {
    -moz-appearance: initial;
    /* Trick to show after bg-img on Firefox*/
}

/* Custom checkbox */


.custom-checkbox {
    /* visibility: hidden;
    cursor: pointer;
    width: 1.5rem;
    height: 1.5rem;
    transition: .3s all; */
    visibility: hidden;
    height: 1rem;
    width: 1rem;
}

.custom-checkbox::before {
    /* content: "";
    position: absolute;
    background: url(../img/star-border.svg) center center no-repeat;
    background-size: contain;
    width: 1.5rem;
    height: 1.5rem;
    visibility: visible;
    transition: .3s all ease; */
    content: "";
    display: block;
    position: absolute;
    height: 1rem;
    width: 1rem;
    border-radius: 2px;
    box-shadow: inset 0px 0px 1px 1px rgba(102, 102, 102, 1);
    visibility: visible;
}

.custom-checkbox:checked::after {
    scale: 1;
}

.custom-checkbox::after {
    content: "";
    display: block;
    position: relative;
    visibility: visible;
    border: solid black;
    border-width: 0 0.3rem 0.3rem 0;
    transform: rotate(45deg);
    width: 0.35rem;
    height: 1rem;
    left: 5px;
    top: -5px;
    scale: 0;
    transition: opacity .5s, scale .1s;
}

.cbx-options {
    justify-content: space-around;
    align-content: center;
    width: 100%;
}

.privacy-link,
.privacy-link:visited {
    color: var(--black);
    text-decoration: underline;
}

/* Customize the label (the container) */

.required::after {
    content: "";
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background-image: url(../img/asterisk-red.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 1rem;
    height: 1rem;
}

.contact-form input:not([type="checkbox"]),
.contact-form textarea,
.form-p.container-cbx {
    width: 100%;
    background-color: var(--background);
    padding-inline: 2rem;
}

.btn-hover {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    background: none;
    transition: all 0.5s;
    text-decoration: none;
}

.btn-hover::before,
.btn-hover::after {
    background: var(--black);
    content: "";
    position: absolute;
    z-index: -1;
    transition: all 0.5s;
}

.btn-hover-down::after {
    height: 0;
    left: 0;
    top: 0;
    width: 100%;
}

.btn-hover-up::after {
    height: 0;
    left: 0;
    bottom: 0;
    width: 100%;
}

.btn-hover:hover::after {
    height: 100%;
}

.btn-hover:hover {
    color: var(--white);
}

.btn-price {
    height: 4rem;
    align-items: center;
    color: var(--black);
    border-top: solid 1px var(--black);
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.5s;
}

.btn-price:hover {
    color: var(--white);
}

.cbx-options label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cbx-options {
    justify-content: space-around;
    align-content: center;
    width: 100%;
}

.privacy-link,
.privacy-link:visited {
    color: var(--black);
    text-decoration: underline;
}

/* Copied Text */

.copy-text {
    position: relative;
}

.copied-text {
    display: none;
    width: fit-content;
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    background-color: #000000cc;
    color: #fff;
    padding: 0.33rem 0.5rem;
    border-radius: 0.33rem;
    font-size: 0.75rem;
    white-space: nowrap;
    text-align: center;
    z-index: 99;
}

/* Border */

.p-1 input,
.p-3 input {
    border-right: solid 1px var(--black);
}

.p-2 input,
.p-4 input {
    border-right: none;
}

.p-1 input,
.p-2 input,
.p-3 input,
.p-4 input {
    border-top: solid 1px var(--black);
    border-bottom: none;
    border-left: none;
}

.textarea-1,
.textarea-2 {
    border-top: solid 1px var(--black);
    border-right: none;
    border-bottom: solid 1px var(--black);
    border-left: 0;
}

.btn-submit {
    border-top: none;
    border-right: none;
    border-bottom: solid 1px var(--black);
    border-left: 0;
}

/* (Grid Generator) */

.grid-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 4rem 4rem 20rem 4rem 4rem;
    gap: 0px 0px;
    grid-template-areas:
        "p-1 p-2"
        "p-3 p-4"
        "p-5 p-5"
        "p-6 p-6"
        "p-7 p-7";
}

.p-1 {
    grid-area: p-1;
}

.p-2 {
    grid-area: p-2;
}

.p-3 {
    grid-area: p-3;
}

.p-4 {
    grid-area: p-4;
}

.p-5 {
    grid-area: p-5;
}

.p-6 {
    grid-area: p-6;
}

.p-7 {
    grid-area: p-7;
}


/* 09. FOOTER */

footer {
    position: relative;
    z-index: 95;
    border-top: solid 1px var(--black);
}

.container-copyright {
    height: 4rem;
    border-top: solid 1px var(--black);
}

.container-legal {
    height: 4rem;
    justify-content: space-around;
    border-top: solid 1px var(--black);
}

.container-legal .legal:nth-child(2) {
    border-right: solid 1px var(--black);
    border-left: solid 1px var(--black);
}

.legal {
    height: 100%;
    align-items: center;
    flex-grow: 1;
    flex-basis: 33.33%;
}

.legal a {
    align-items: center;
    text-transform: uppercase;
    width: 100%;
    height: 100%;
}

footer a,
footer a:visited {
    color: var(--black);
    text-decoration: none;
}

.contact-inner {
    flex-basis: 33.33%;
    gap: 1rem;
}

.container-contact-logo {
    flex-basis: 66.66%;
    border-left: solid 1px var(--black);
    padding: 2.5rem 2rem 2rem;
}

.contact-logo {
    width: 100%;
    height: 100%;
}

.contact-logo svg {
    width: 90%;
    height: 90%;
    object-fit: contain;
    margin: auto;
}

.contact-info {
    flex-direction: column;
    gap: 1.25rem;
    padding: 2rem;
}

.contact-icons {
    gap: 0.75rem;
}

.sticker-intro {
    width: 4rem;
    height: 4rem;
    position: absolute;
    /* transform: rotate(350deg); */
    /* top: 95%; */
    /* left: 53%; */
}

.icons {
    display: flex;
    gap: 1.4rem;
}

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
    text-decoration: none;
}

/* SVG base */

.linkedin-svg path,
.github-svg path {
    fill: #000;
    transition: 0.3s;
}

/* Hover colores */
.icon:hover .linkedin-svg path {
    fill: #0E76A8;
}

.icon:hover .github-svg path {
    fill: #9b59b6;
}

/* Tooltip base */
.icon-1::before,
.icon-2::before {
    position: absolute;
    bottom: 2.5rem;
    transform: translateX(-50%) scale(0);
    background-color: #000000cc;
    color: #fff;
    padding: 0.33rem 0.5rem;
    border-radius: 0.33rem;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, transform 0.15s;
}

/* Texto tooltip */
.icon-1::before {
    content: "LinkedIn";
}

.icon-2::before {
    content: "GitHub";
}

/* Mostrar tooltip */
.icon-1:hover::before,
.icon-2:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

.icon-1::before {
    content: "LinkedIn";
}

.icon-2::before {
    content: "GitHub";
}

.icon-1:hover::before,
.icon-2:hover::before {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
}

/* 10. RESPONSIVE BETWEEN VERY SMALL AND SMALL  */

@media (min-width: 577px) and (max-width: 991px) {

    .section,
    .container-text {
        padding-inline: 3rem !important;
    }

}

/* 11. RESPONSIVE SMALL SCREEN */

/* .menu-logo {
    display: none;
} */

@media screen and (max-width: 991px) {

    /* General */

    .container {
        padding-inline: 1.5rem;
    }

    .margin-top {
        margin-top: 1.5rem;
    }

    .margin-bottom {
        margin-bottom: 1.5rem;
    }

    .lh-high {
        line-height: 2.5rem;
    }

    .lh-med {
        line-height: 1.5rem;
    }

    .lh-low {
        line-height: 1.25rem;
    }

    .header-text-xl {
        margin: auto;
    }

    .page-title-xl {
        line-height: 1.3;
    }

    .home .ta-center {
        text-align: start;
    }

    .menu-data .contact-icons svg {
        width: 1.65rem;
        height: 1.65rem;
    }

    .menu-mobile {
        display: inherit;
    }

    /* Button */

    .btn-custom,
    .action-btn,
    .action-text {
        width: 100%;
        text-align: center;
    }

    .section-intro .container-reveal {
        justify-content: start;
    }

    /* HOME */

    /* Section Principal */

    h1,
    h1 span {
        font-size: 17vw;
        font-weight: bold;
    }

    .img-principal {
        display: none;
    }

    .container-logo {
        height: auto;
    }

    .section-principal {
        height: auto;
        padding-top: 6rem;
    }

    .ball-container {
        display: none;
    }

    .sticker-intro {
        display: none;
    }

    .text {
        font-size: 1.25rem;
    }

    .text::after {
        width: .75rem;
        height: .75rem;
    }

    .intro-text p {
        text-wrap: auto;
    }

    /* Section about */
    .container-title.about-text-home {
        flex-direction: column;
        align-items: center;
    }

    .container-about {
        order: 2;
        text-align: center;
    }

    .container-about-img {
        order: 1;
        align-items: center;
        margin-bottom: 1rem;
    }

    .container-about-img {
        width: 60%;
    }

    .section-about-home {
        padding: 0 0 3rem;
    }

    .section-about-home *:not(h2, h2 span, .container-sticker, .action-text) {
        text-align: start;
    }

    .section-about-home .column .container-p {
        max-width: fit-content;
        margin: 0 1rem 1rem 0;
    }

    .container-column {
        flex-direction: column;
        align-items: center;
    }

    .column {
        display: flex;
        flex-direction: column;
        padding: 0;
        gap: 0.75rem;
        width: 100%;
    }

    .column h3 {
        margin: 0;
    }

    .about-text-home {
        margin: auto;
    }

    .about-text-home h2 span {
        display: block;
        padding: 0;
    }

    .container-sticker {
        width: 3.5rem;
        height: 3.5rem;
    }

    .sticker {
        width: 2rem;
        height: 2rem;
    }

    /* Section Background */

    .section-background>div {
        flex-direction: column;
    }

    .section-background .container-text,
    .section-background .container-img {
        width: 100%;
    }

    .section-background .container-text {
        border-bottom: none;
        border-right: none;
        padding: 2rem 1rem;
        min-height: 20rem;
    }

    .section-background .container-text h2 {
        padding: 2rem 0 0;
    }

    .section-background .btn-custom {
        margin-top: 1.5rem;
        margin-bottom: 2rem;
    }

    .btn-custom .action-text {
        transform: translate3d(-3px, -3px, 0);
    }

    /* Section project */
    .browser-mockup {
        margin: 2rem auto;
    }

    .header-text-xl.mockup-title {
        padding: 6rem 0 2rem 0;
    }

    .mockupPage-content {
        margin: 2rem auto 7.5rem auto;
    }

    .section-intro {
        min-height: 45vh;
        padding-block: 4rem;
        padding-inline: 0;
    }

    /* .section-project {
        padding: 7rem 0 4rem;
    }


    .container-project {
        display: none !important;
    }

    .slider-mobile {
        display: block !important;
    }

    .swiper-slide.swiper-slide-active,
    .swiper-slide.swiper-slide-next {
        display: flex;
        justify-content: center;
    } */

    /* about PAGE */

    .about-text {
        margin: auto;
        flex-direction: column;
    }

    .project-text-home {
        padding-block: 0;
    }

    .section-project {
        padding: 6rem 0 7.5rem 0;
    }

    .section-about p {
        text-align: start;
    }

    .faq-item {
        padding: 1.5rem;
        border-bottom: solid 1px var(--black)
    }

    .faq-container {
        padding: 0;
        margin-bottom: 3rem;
    }

    .ser-list,
    .ser-data,
    .ser-title {
        padding-inline: 1.5rem;
    }

    .ser-des {
        margin-bottom: 1.5rem;
    }

    .ser-des,
    .faq-container {
        max-width: 35rem;
        box-shadow: none;
        margin-inline: 1rem;
        box-shadow: 3px 3px var(--black);

    }

    .svg-faq {
        width: 1rem;
        height: 1rem;
    }

    .about-bg {
        flex-direction: column;
        align-items: center;
        gap: 0;
        margin: 0;
    }

    /* .ser-list, .ser-title, .ser-ul, .ser-data {
        padding-inline: 0 !important;
        margin-inline: 0 !important;
    } */

    /* CONTACT PAGE */

    .contact-form {
        margin-bottom: 3rem;
    }

    .p-1 input,
    .p-3 input {
        border-right: none;
    }

    .contact-form input:not([type="checkbox"]),
    .contact-form textarea,
    .form-p.container-cbx {
        padding-inline: 1rem;
    }

    .container-legal {
        flex-direction: column;
        height: auto;
    }

    .contact-form textarea {
        height: 10rem;
        padding-top: 1rem;
    }

    .form-p.container-cbx {
        height: 10rem;
    }

    .container-cbx,
    .cbx-options {
        flex-direction: column;
    }

    .cbx-options {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 1.25rem .75rem;
        margin: 1rem 0;
    }

    .container-cbx .options {
        display: flex;
        align-items: center;
        width: 100%;
        height: 3rem;
    }

    .grid-form {
        display: flex;
        flex-direction: column;
    }

    .p-5,
    .p-7 {
        height: 10rem;
    }

    .form-p:not(.p-5, .p-6, .p-7),
    .contact-form input:not(.custom-checkbox) {
        height: 3rem;
    }

    .p-7 {
        padding-top: 2.5rem;
        padding-left: 0;
        padding-inline: 1rem;
    }

    .copied-text {
        position: relative;
        background-color: #000000cc;
        color: #fff;
        padding: 0.33rem 0.5rem;
        border-radius: 0.33rem;
        bottom: -0.5rem;
        left: 0;
    }

    /* FOOTER */

    .container-contact {
        flex-direction: column;
    }

    .container-contact-logo {
        flex-direction: column;
        border-top: solid 1px var(--black);
        border-left: none;
    }

    .container-legal .legal:nth-child(2) {
        border-right: none;
        border-left: none;
    }

    .container-copyright {
        height: 3rem;
    }

    .legal {
        flex-basis: auto;
        height: 3rem;
        width: 100%;
    }

    .legal:nth-child(2) {
        border-top: solid 1px var(--black);
        border-bottom: solid 1px var(--black);
    }

    /* Redirection Page */

    .section-set {
        margin-inline: 1rem;
        margin-bottom: 3rem;
    }

    .re-text {
        text-align: center;
        margin-inline: 1rem;
    }

    /* Privacidad Page */
    .privacidad-container li,
    .privacidad-container p,
    .privacidad-container span {
        font-size: .85rem;
    }
}

/* 12. RESPONSIVE TABLET - SMALL LAPTOP */

@media (min-width: 992px) and (max-width: 1300px) {

    /* HOME */

    .container-column {
        gap: 3rem;
    }

    .section-about .column .container-p {
        max-width: 16.25rem;
        margin: auto 0.5rem 3rem;
    }

    .container-project {
        gap: 0.75rem;
    }
}

/* 13. RESPONSIVE BIG SCREENS */

@media screen and (min-width: 1920px) {

    /* HOME */

    .section-intro {
        min-height: 80vh;
    }

    .container-intro {
        max-width: 65rem;
    }

    .section-about .column .container-p {
        max-width: 28.125rem;
    }

}

/* 14 RESPONSIVE MENU */

@media screen and (max-width: 1200px) {

    /* Cursor */

    .cursor-inner,
    .cursor-border {
        display: none;
    }

    /* Menu mobile */

    .menu-fade {
        display: none;
    }

    .sub {
        width: 100%;
    }

    .submenu-li {
        flex-direction: column;
    }

    .submenu-link {
        font-size: .8rem;
        height: 3rem !important;
    }

    .sub-menu {
        max-height: 0;
        overflow: hidden;
        transition: 1s;
    }

    .sub-menu.show {
        max-height: 20rem;
        overflow: hidden;
    }

    .submenu-btn {
        justify-content: space-between;
    }

    .submenu-btn span {
        color: var(--white);
    }

    .container-menu-icon {
        padding: 1rem;
    }

    .menu-mobile {
        position: fixed;
        top: 0;
        z-index: 98;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        height: 4rem;
        color: var(--white);
        mix-blend-mode: difference;
    }

    .menu-logo {
        padding-left: 1rem;
        width: 8rem;
    }

    .menu-line {
        display: block;
        position: relative;
        z-index: 99;
        width: 1.25rem;
        height: 1px;
        margin-bottom: 0.5rem;
        background-color: var(--white);
        transition: all 0.2s ease-in-out;
    }

    .menu-icon.active .menu-line:first-child {
        transform: translateY(5px) rotate(-45deg);
    }

    .menu-icon.active .menu-line:last-child {
        transform: translateY(-5px) rotate(45deg);
    }

    .nav-mobile {
        position: fixed;
        display: grid;
        visibility: hidden;
        width: 100%;
        height: 100dvh;
        top: -100%;
        left: 0;
        z-index: 97;
        mix-blend-mode: normal;
        background-color: var(--black);
        color: var(--white);
        transform: translateY(-6.25vw);
        transition: .85s cubic-bezier(0.93, 0.05, 0.26, 0.9);
    }

    .menu-pages,
    .menu-data {
        opacity: 0;
    }

    .nav-mobile.menu-active .menu-pages {
        animation: fadeMenu 0.5s .7s forwards;
    }

    .nav-mobile.menu-active .menu-data {
        animation: fadeMenu 0.5s 1s forwards;
    }

    .menu-active {
        visibility: visible;
    }

    .nav-mobile.menu-active {
        top: 0;
        transform: translateY(0);
    }

    .mobile-links {
        list-style: none;
    }

    .nav-link {
        width: 100%;
        height: 4rem;
    }

    .nav-link,
    .nav-link:visited,
    .nav-link:hover {
        color: var(--white);
        text-decoration: none;
    }

    .nav-mobile .contact-info {
        padding: 2rem 1rem;
        gap: 1rem;
        align-self: self-end;
    }

    .nav-mobile .copyText-nav,
    .nav-mobile .copyText-nav:visited {
        text-decoration: none;
        color: var(--white);
    }

    .menu-pages {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        width: 100%;
        margin-top: 4rem;
        margin-inline: auto;
        padding-inline: 1rem;

    }

    .nav-mobile.menu-active .menu-pages .linea {
        width: 0%;
        background-color: #ffffff99;
        height: 1px;
    }

    .nav-mobile.menu-active .menu-pages .linea-li {
        animation: grow .8s ease .8s forwards;
    }

    .nav-mobile.menu-active .menu-pages .linea-li-2 {
        animation: grow .85s ease .85s forwards;
    }

    .nav-mobile.menu-active .menu-pages .linea-li-3 {
        animation: grow .9s ease .9s forwards;
    }

    .nav-mobile.menu-active .menu-pages .linea-li-4 {
        animation: grow .95s ease .95s forwards;
    }

    @keyframes grow {
        0% {
            width: 0%;
        }

        100% {
            width: 100%;
        }
    }

    @keyframes fadeMenu {
        0% {
            opacity: 0;
        }

        100% {
            opacity: 1;
        }
    }
}