* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    transition: 0.2s ease-in;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Helvetica, Arial, sans-serif, sans-serif;
    font-size: 16px;
    background-color: var(--color-light1);
    margin: 0;
    padding: 0;
    color: var(--color-dark3);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 40px;
}



main {
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    justify-content: center;
    align-items: center;
}


:root {
    --marca1: #59DB75;
    --marca2: #4CBD64;
    --marca3: #389D4E;
    --color-light1: #FEFEFE;
    --color-light2: #F0F0F0;
    --color-light3: #DADADA;
    --color-dark1: #141414;
    --color-dark2: #3A3A3A;
    --color-dark3: #4D4D4D;
    --colorsystem1: #1c7aec;
    --colorsystem2: #df2727;
    --colorsystem3: #2cb359;

    --border-radius-big: 10px;
    --border-radius-medium: 6px;
    --border-radius-small: 2px;
}


h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
ul {
    padding: 0;
    margin: 0;
    border: 0;
    color: unset;
    text-decoration: unset;
}

h1 {
    font-size: 2.4em;
    font-weight: bold;
    line-height: 110%;
}

h2 {
    font-size: 1.8em;
    font-weight: bold;
    line-height: 110%;
}

h3 {
    font-size: 1.4em;
    font-weight: bold;
    line-height: 110%;
}

h4 {
    font-size: 1.2em;
    font-weight: bold;
    line-height: 110%;
}


@media (max-width: 520px) {
    h1 {
        font-size: 1.6em;
    }

    h2 {
        font-size: 1.4em;
    }

    h3 {
        font-size: 1.2em;
    }

    h4 {
        font-size: 1.1em;
    }
}


a {
    text-decoration: underline;
    color: var(--colorsystem1);
}

a:hover {
    text-decoration: none;
    color: var(--marca1);
}


.button {
    width: fit-content;
    text-align: center;
    background-color: var(--color-dark1);
    color: var(--color-light1);
    text-decoration: none;
    transition: 0.5s ease-in;
    padding: 6px 16px;
    border-radius: 100px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

.button:hover {
    background-color: var(--marca1);
    color: var(--color-dark1);
}

.button-big {
    width: 200px;
}

.button-medium {
    width: 160px;
}

.button-small {
    width: 120px;
}






/* animation */

.animationbox {
    width: 0;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
}

.box1 {
    background-color: var(--marca1);
    animation: animation 2s ease-in-out;
}

.box2 {
    background-color: #2c2b2b;
    animation: animation 2.4s ease-in-out;
}

.box3 {
    background-color: #DADADA;
    animation: animation 2.8s ease-in-out;
}

@keyframes animation {
    0% {
        width: 100%;
    }

    100% {
        width: 0;
    }
}

/* end animation */







/* dark mode */
#mode {
    position: fixed;
    width: 70px;
    height: 40px;
    background-color: var(--color-dark3);
    color: var(--color-light2);
    padding: 2px 6px;
    border-radius: var(--border-radius-medium);
    z-index: 3000;
    bottom: 10px;
    left: 10px;
    text-decoration: none;
    cursor: pointer;
    background-image: url('img/claro.svg');
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 100px;
    background-position: left center;
}

















/* header */
header {
    width: 90%;
    max-width: 1280px;
    border-bottom: 1px solid var(--color-dark1);
    padding: 20px 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

header>div {
    width: fit-content;
    max-width: 360px;
    min-width: 360px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    align-items: flex-start;
}

header h1 {
    font-size: 1.3em;
}

header h2 {
    font-size: 0.9em;
    font-weight: normal;
}

header a {
    width: fit-content;
    color: var(--color-dark1);
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

header nav {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

header nav>span {
    display: none;
}

header .hamburguer {
    display: none;
}

@media (max-width: 960px) {
    header>div {
        min-width: 200px;
        padding-right: 20px;
    }

    header .hamburguer {
        width: 30px;
        min-width: 30px;
        padding-right: 0;
        height: 30px;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    header .hamburguer>div {
        width: 100%;
        height: 2px;
        background-color: var(--color-dark1);
    }

    header nav {
        position: absolute;
        top: 0;
        left: 0;
        background-color: var(--color-light1);
        box-shadow: var(--marca1) 0px 20px 120px;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 40px;
        justify-content: flex-start;
        align-items: flex-start;
    }

    header nav>span {
        background-color: var(--color-dark1);
        width: 30px;
        height: 30px;
        cursor: pointer;
        color: var(--color-light1);
        border-radius: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    #menu {
        transform: translateY(-600px);
        transition: 1s ease-in-out;
    }
}

/* end header */






/* main */

.main {
    width: 100%;
    max-width: 1280px;
    padding: 20px 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
}

/*left*/
.main-presentation {
    width: 66%;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
}

.main-presentation img {
    width: 150px;
    height: 150px;
    aspect-ratio: 1 / 1;
    border-radius: 1000px;
    object-fit: cover;
}

.main-presentation div {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-presentation div>h2 {
    width: 100%;
    font-size: 1.2em;
    line-height: 160%;
}

.main-presentation div>h3 {
    width: 100%;
    font-size: 1.1em;
    font-weight: normal;
    line-height: 160%;
}

.main-presentation div>h4 {
    width: 100%;
    font-size: 1.2em;
    line-height: 110%;
}



/*right*/
.main-links {
    width: 34%;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.main-links>h2 {
    font-size: 1.4em;
    font-weight: normal;
}

.main-links>a {
    width: 100%;
    padding: 20px;
    background-color: var(--color-dark1);
    border-radius: var(--border-radius-medium);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-links>a:hover {
    background-color: var(--color-dark3);
}

.main-links>a>h2 {
    width: 100%;
    font-size: 1.5em;
    font-weight: normal;
    line-height: 120%;
    color: var(--color-light1);
}

.main-links>a>div {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.main-links>a>div>p {
    width: 100%;
    font-size: 0.8em;
    font-weight: normal;
    line-height: 100%;
    color: var(--color-light1);
}





@media (max-width: 960px) {

    .main {
        width: 100%;
        flex-direction: column;
    }

    .main-presentation {
        width: 100%;
        flex-direction: column;
    }

    .main-presentation img {
        width: 120px;
        height: 120px;
    }

    .main-presentation div>h2 {
        width: 100%;
        font-size: 1em;
        line-height: 160%;
    }

    .main-presentation div>h3 {
        width: 100%;
        font-size: 0.8em;
        font-weight: normal;
        line-height: 160%;
    }

    .main-presentation div>h4 {
        width: 100%;
        font-size: 1em;
        line-height: 110%;
    }

    .main-links {
        width: 100%;
    }

    .main-links>h2 {
        font-size: 1em;
        font-weight: normal;
    }

    .main-links>a>h2 {
        font-size: 1.2em;
    }
}

/* end main */





/* tags */
.tags {
    width: 100%;
    max-width: 1280px;
    padding: 20px 0;
    display: flex;
    flex-direction: row;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.tags>div {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    flex-basis: 400px;
    flex-grow: 1;
}

.tags h2 {
    width: 100%;
    margin-bottom: 10px;
    font-size: 1.4em;
    font-weight: normal;
    color: var(--color-dark1);
}


.tags h3 {
    font-size: 1em;
    font-weight: normal;
}

.tags>div>div {
    width: fit-content;
    background-color: var(--color-light2);
    border-radius: 100px;
    padding: 8px 14px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 6px;
    justify-content: center;
    align-items: center;

}

.tags>div:nth-child(3)>div {
    width: fit-content;
    background-color: var(--marca2);
    color: #ffffff;
    border-radius: 100px;
    padding: 6px 12px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 6px;
    justify-content: center;
    align-items: center;
}

.tags>div:nth-child(3)>div>h3 {
    font-weight: bold;
}

/* end tags */






/* footer */
footer {
    width: 90%;
    max-width: 1280px;
    font-size: 1em;
    padding: 40px;
    border-top: 1px solid var(--color-light3);
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

/* end footer */