:root {
    font-size: 16px;
    letter-spacing: 0.5px;
    line-height: 1.25;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
}

body {
    font-family: Helvetica, sans-serif;
    background-image: url('/assets/carlos-alaniz-bg.webp');
    background-size: cover;
}

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

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

footer {
    position: fixed;
    bottom: 5px;
    left: 50%;
    transform: translate(-50%, -5px);
}

form {
    margin-bottom: 10px;
}

textarea {
    resize: none;
}

.h1 {
    font-size: 1.75rem;
    font-weight: 700;
}

.h2 {
    font-size: 1.25rem;
    font-weight: 700;
}

.smokewhite {
    color: #dddddd;
}

#page-transition,
#form-sent {
    position: absolute;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    top: 0;
    background: #0d0d0d;
    color: #dddddd;
    z-index: 101;
    clip-path: inset(0 0 0 0);
    animation: pagetransitionin 2s 2s;
    animation-fill-mode: forwards;
}

#page-transition.page-closing,
#form-sent.page-closing {
    clip-path: inset(0 0 0 100%);
    animation: pagetransitionout 2s;
    animation-fill-mode: forwards;
}

p {
    margin: 0;
}

.fp-watermark {
    display: none;
}

#fp-nav.fp-left {
    left: 0;
}

#slider {
    height: 100%;
}

.btn {
    display: block;
    padding: 8px 15px;
    text-align: center;
    font-weight: 700;
    width: fit-content;
    background-color: #5f5e63;
    color: #e6e6e6;
    border-radius: 10px;
    font-size: 14px;
    margin: 15px auto 0;
    border-width: 0;
    cursor: pointer;
}

.uppercase {
    text-transform: uppercase;
}

.lowercase {
    text-transform: lowercase;
}

.text-left {
    text-align: left;
}

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

.text-right {
    text-align: left;
}

.margin-auto {
    margin: auto;
}

.margin-bottom-5 {
    margin-bottom: 5px;
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

.margin-bottom-15 {
    margin-bottom: 15px;
}

.margin-bottom-20 {
    margin-bottom: 20px;
}

.margin-top-5 {
    margin-top: 5px;
}

.margin-top-10 {
    margin-top: 10px;
}

.margin-top-15 {
    margin-top: 15px;
}

.margin-top-20 {
    margin-top: 20px;
}

.small-text {
    font-size: 0.67rem;
}

.section {
    display: flex;
    flex-direction: column;
    padding: 0 30px;
    height: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    justify-content: center;
}

.section ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.section ul li {
    padding-left: 1em;
    text-indent: -1em;
}

.section li:not(:last-child),
.simple-steps:not(:last-child),
.brand-stats-details:not(:last-child) {
    margin-bottom: 15px;
}

.section ul li:before {
    content: "✔";
    padding-right: 5px;
}

.window-controls {
    border-radius: 50%;
    width: 12px;
    height: 12px;
}

.window-top {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.window-content {
    background-color: #2d2833;
    padding: 15px 30px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.window-content>*:first-child {
    margin-block-start: 0.67em;
}

.window-content>*:last-child {
    margin-block-end: 0.67em;
}

.window-content .about-me {
    margin: -15px -30px;
    padding: 15px 30px;
}

.close {
    background-color: #ec6b5f;
}

.minimize {
    background-color: #f5bf4f;
}

.maximize {
    background-color: #61c554;
}

.window {
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
}

.window-top {
    background-color: #201c27;
    display: flex;
    padding: 5px;
    align-items: center;
    justify-content: flex-start;
}

.window-top .window-controls:not(:last-child) {
    margin-right: 5px;
}

.inner-section {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.inner-item {
    width: 50%;
}

.inner-text {
    padding: 30px;
}

.about-me {
    overflow-y: auto;
    height: 50vh;
}

.about-me p:not([class="h1"]) {
    margin-bottom: 10px;
}

.about-me img {
    height: auto;
}

#contact-form {
    margin-top: 0;
}

.personal-picture {
    float: left;
    width: calc(100% / 3);
    border-radius: 50%;
    object-fit: cover;
    aspect-ratio: 1;
    margin-right: 2.5%;
    object-position: center top;
}

.extra-links {
    margin-top: 25px;
}

.extra-links a {
    display: block;
}

.section .nav-arrow {
    margin-top: 25px;
    -webkit-animation: MoveUpDown 3s ease-in-out infinite;
    animation: MoveUpDown 3s ease-in-out infinite;
}

.nav-arrow img {
    cursor: pointer;
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.shimmer {
    mask: linear-gradient(270deg, #000 30%, #0005, #000 70%) right/300% 100%;
    -webkit-mask: linear-gradient(270deg, #000 30%, #0005, #000 70%) right/300% 100%;
    background-repeat: no-repeat;
    animation: shimmer 2.5s infinite;
}

.brand-logo {
    display: block;
    width: 200px;
}

.brand-stats-details {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.performance-number {
    flex-grow: 1;
    position: relative;
}

.performance-detail {
    flex-grow: 2;
}

[stat-change="increase"] {
    color: #007f5f;
}

[stat-change]::before {
    margin-right: 5px;
}

[stat-change="increase"]::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 6' width='16' height='16'%3E%3Cpath fill='%23007f5f' fill-rule='evenodd' d='M1 .25a.75.75 0 1 0 0 1.5h2.19L.594 4.345a.75.75 0 0 0 1.06 1.06L4.25 2.811V5a.75.75 0 0 0 1.5 0V1A.748.748 0 0 0 5 .25H1Z' clip-rule='evenodd'%3E%3C/path%3E%3C/svg%3E");
}

[stat-change="decrease"] {
    color: #D72C0D;
}

[stat-change="decrease"]::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 6' width='16' height='16'%3E%3Cpath fill='%23D72C0D' fill-rule='evenodd' d='M5.75 1a.75.75 0 0 0-1.5 0v2.19L1.655.594a.75.75 0 1 0-1.06 1.06L3.189 4.25H1a.75.75 0 0 0 0 1.5h4a.748.748 0 0 0 .529-.218l.001-.002.002-.001A.748.748 0 0 0 5.75 5V1Z' clip-rule='evenodd'%3E%3C/path%3E%3C/svg%3E");
}

.hypnosis {
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.hypnosis img {
    width: 14px;
    height: 14px;
    -webkit-animation: Spinning 3s linear infinite;
    animation: Spinning 3s linear infinite;
}

.social-media {
    display: flex;
    gap: 15px;
    justify-content: center;
    width: fit-content;
}

.social-media a {
    display: block;
    width: 18px;
    height: 18px;
}

.form__group:first-of-type {
    margin-top: 0!important;
}

.form__group {
    position: relative;
    padding: 15px 0 0;
    margin-top: 15px;
}

.form__label {
    position: absolute;
    top: 0;
    display: block;
    transition: 0.2s;
    font-size: 1rem;
    color: #dddddd;
}

.form__field {
    font-family: inherit;
    width: 100%;
    outline: 0;
    padding-bottom: 12px;
    margin-top: 12px;
    background: transparent;
    transition: border-color 0.2s;
    box-shadow: none;
    border-bottom: 1.5px solid black !important;
    border: none;
    color: #dddddd;
}

.form__field::placeholder {
    color: transparent;
}

.form__field:placeholder-shown~.form__label {
    font-size: 1.15rem;
    cursor: text;
    top: 50%;
    left: 0;
    pointer-events: none;
}

.form__field:focus {
    font-weight: 700;
    border-width: 1.5px;
    border-image: linear-gradient(to right, #000000, #232323);
    border-image-slice: 1;
}

.form__field:focus~.form__label {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    transition: 0.2s;
    font-size: 1rem;
    color: white;
    font-weight: 700;
}

/* reset input */
.form__field:required,
.form__field:invalid {
    box-shadow: none;
}

@-webkit-keyframes pagetransitionin {
    100% {
        clip-path: inset(0 100% 0 0);
        pointer-events: none;
        visibility: hidden;
        display: none;
    }
}

@keyframes pagetransitionin {
    100% {
        clip-path: inset(0 100% 0 0);
        pointer-events: none;
        visibility: hidden;
        display: none;
    }
}

@-webkit-keyframes pagetransitionout {
    100% {
        clip-path: inset(0 0 0 0);
        pointer-events: auto;
        visibility: visible;
        display: grid;
    }
}

@keyframes pagetransitionout {
    100% {
        clip-path: inset(0 0 0 0);
        pointer-events: auto;
        visibility: visible;
        display: grid;
    }
}

@-webkit-keyframes shimmer {
    100% {
        mask-position: left;
        -webkit-mask-position: left;
    }
}

@keyframes shimmer {
    100% {
        mask-position: left;
        -webkit-mask-position: left;
    }
}

@-webkit-keyframes MoveUpDown {

    0%,
    100% {
        transform: translateY(10px);
    }

    50% {
        transform: translateY(0px);
    }
}

@keyframes MoveUpDown {

    0%,
    100% {
        transform: translateY(10px);
    }

    50% {
        transform: translateY(0px);
    }
}

@-webkit-keyframes Spinning {
    0% {
        transform: rotate(0deg);
    }

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

@keyframes Spinning {
    0% {
        transform: rotate(0deg);
    }

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

@media only screen and (max-width: 767px) {
    :root {
        font-size: 14px;
    }

    .section {
        justify-content: flex-start;
    }

    .window-content {
        padding: 10px 20px;
    }

    .window-content .about-me {
        margin: -10px -20px;
        padding: 10px 20px;
    }

    .first-item {
        order: -1;
    }

    .inner-text {
        padding: 30px 0;
    }

    .inner-section {
        flex-direction: column;
    }

    .inner-item {
        width: 100%;
    }
}