:root {
    --blanco: #F8FAF7;
    --negro: #000000;
    --rosa: #BF06A0;
    --tipo-texto: 'Inter', sans-serif;
}

/*Reset*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--tipo-texto);
    background-color: var(--negro);
    color: var(--blanco);
    -webkit-font-smoothing: antialiased;
    -moz-ozx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

img,
figure {
    max-width: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: inherit;
    font-weight: inherit;
    font-size: inherit;
}

form,
button,
input,
textarea,
select {
    font-family: var(--tipo-texto);
    background-color: var(--blanco);
}

hr {
    display: block;
    color: var(--blanco);
    border: none;
    border-top: 1px solid var(--blanco);
    margin: 1.5rem 0;
}

/*Header*/
.header {
    background-color: var(--negro);
    border-top: 2px solid #FFF;
    border-bottom: 2px solid #FFF;
    width: 100%;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--blanco);
    cursor: pointer;
    padding: 0.5rem 1rem;
    position: absolute;
    right: 1rem;
}

/*Nav list*/
.nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    list-style-type: none;
}

.nav-item {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

.nav-link {
    padding: 0.5rem 1rem;
    border-radius: 15px;
    transition: background-color 0.3s, color 0.3s;
}

.nav-link:hover {
    background-color: var(--blanco);
    color: var(--negro);
}

/*Main*/
.main {
    position: relative;
    z-index: 1;
}

.sobremi {
    background-color: var(--negro);
    display: flex;
    width: 100%;
    align-items: flex-start;
    animation: 2.5s cubic-bezier(.25, 1, .30, 1) wipe-in-right both;
}

.C1,
.C2 {
    padding: 1.3rem;
}

.C1 {
    flex: 2;
}

.C2 {
    width: 500px;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.h2,
.h3 {
    font-size: 40px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1.3rem;
    text-align: left;
    margin-top: 2rem;
}

.p,
.tipo,
.h4 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 1.3rem;
    text-align: left;
}

.span {
    color: var(--rosa);
}

.blockquote .Frase {
    color: var(--rosa);
    font-size: 20px;
    font-style: italic;
    font-weight: 600;
    margin: 1.3rem 0;
}

.blockquote .autor {
    font-size: 15px;
    font-style: italic;
    text-transform: uppercase;
    margin-bottom: 1.3rem;
}

.skills {
    margin-top: 2rem;
}

.skills h3 {
    color: var(--blanco);
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    text-align: left;
    border-top: 2px solid var(--blanco);
    padding-top: 1rem;
}

.skills h4 {
    color: var(--rosa);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
    text-transform: uppercase;
}

.skills ul {
    padding-left: 1.5rem;
    list-style-type: disc;
    color: var(--blanco);
    margin-bottom: 2rem;
}

.skills ul li {
    margin-bottom: 0.8rem;
    font-size: 18px;
    line-height: 1.5;
}

.img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    margin-bottom: 2rem;
}

.button {
    border: 0.15rem solid var(--blanco);
    line-height: 1;
    font-size: 1rem;
    text-align: center;
    color: var(--blanco);
    border-radius: 10px;
    background-color: var(--negro);
    margin: 1rem 0 2rem;
    padding: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-shadow: none;
}

.button:hover {
    background-color: var(--blanco);
    color: var(--negro);
    border: 2px solid var(--negro);
    cursor: pointer;
}

.Contact a[href^="mailto:"] {
    text-decoration: underline;
}

.rrss {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    list-style-type: none;
}

.rrss a svg {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.rrss a:hover svg {
    transform: scale(1.2);
}

.footer {
    width: 100%;
    padding: 1.5rem 0;
    text-align: center;
    z-index: 1;
    border-top: 1px solid var(--blanco);
    position: relative;
}

.footer .span {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--blanco);
}

@keyframes wipe-in-right {
    from {
        clip-path: inset(0 100% 0 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-list {
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .nav.active .nav-list {
        display: flex;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .sobremi {
        flex-direction: column;
    }

    .iframe {
        height: 300px;
    }

    .img {
        height: auto;
    }

    .C2 {
        width: 100%;
        margin-left: 0;
    }

    .rrss {
        justify-content: center;
    }
}