:root {
    --primary-color: #333;
    --secondary-color: #f5f3e7;
    --bg-secundario: #E1DFCC;
}
/* Hide default cursor on the entire page */
html, body {
    cursor: none;
}
a{
    text-decoration: none;
    cursor: none;
}
a:link{
    color: var(--primary-color);
}
a:visited{
    color: var(--primary-color);
}
a:hover{
    color: var(--primary-color);
}
a:active{
    color: var(--primary-color);
}

body {
    font-family: 'Raleway', sans-serif;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    margin: 0;
    padding: 0;
    text-align: center;
}

.cursor__wrapper {
    position: fixed;
    height: 12px;
    width: 12px;
    border-radius: 6px;
    background-color: var(--primary-color);
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
    transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease;

    /* top: -30px; */
}
main{
    padding: 32px;
}
header {
    position: fixed; top: 0; left: 0; right: 0;
    background-color: var(--secondary-color);
    padding: 20px 50px;
    flex: auto; display: flex;
    justify-content: center; align-items: center;
    flex-wrap: nowrap;   
    z-index: 100;

    .go-to{
        align-self: center;
        cursor: pointer;
        @media (max-width: 850px) {
            display: none;
        }
    }

    /*language-select*/
    @media (max-width: 550px) {
        .header-logo{
            margin: 0 auto;
        }
    }
}

.header-logo{
    margin: 0 auto 0 0;
}
.logo {
    width: 300px; max-width: 100%; height: auto; display: block;
}
nav { display: flex; gap: 20px; }
nav a { text-decoration: none; color: #333; }


h2 {
    text-align: left;
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 30px;
}
h3 {
    text-align: left;
    font-size: 18px;
    font-style: italic;
    font-weight: 300;
    margin-bottom: 40px;
}
h4 {
    text-align: left;
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 30px;
    max-width: 1050px;
}




.boxes {
    display: flex; gap: 20px; flex-wrap: wrap;
}
.box {
    flex: 1;
    padding: 20px 60px;
    border-radius: 12px;
    background-color: var(--bg-secundario);
    color: #333; font-size: 18px;
    transition: transform 160ms ease, box-shadow 160ms ease;
}
.box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}




.market-buttons-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    flex-wrap: wrap;

    @media (max-width: 900px) {
        grid-template-columns: repeat(1, 1fr);
    }
}
.m-box {
    padding: 20px 20px;
    border-radius: 12px;
    background-color: var(--bg-secundario);
    color: #333;
    font-size: 15px;
    transition: transform 160ms ease, box-shadow 160ms ease;
    text-align: left;

    p { margin: 0; }
}
.m-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.market-wrapper {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
}
.market-flex{
    display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.market-title {
    font-size: 18px;
    font-weight: bold;
    text-align: left;
}

.market-wrapper span {
    color: #555;
    font-size: 13px;
}

.g-boxes{
    display:flex;
    justify-content: left;
    gap: 20px;
    flex-wrap: wrap;
}
.g-box {
    flex: 1;
    padding: 20px 20px;
    width: 400px;
    max-width: 100%;
    border-radius: 12px;
    background-color: var(--bg-secundario);
    color: #333;
    font-size: 15px;
    transition: transform 160ms ease, box-shadow 160ms ease;
    display: inline-block;
    text-align: left;

    p { margin: 0; flex-wrap: wrap; }
}
.g-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}


.footer-container {
    display: flex; justify-content: space-between; align-items: center; 
        gap: 20px; padding: 20px 50px; flex-wrap: wrap;
    
}



@media (max-width: 768px)  /* Tablet */
{    
    .boxes { flex-direction: column; gap: 10px; }
    .market-buttons { flex-direction: column; align-items: center; gap: 10px; }

    footer { p {  font-size: 10px; } }
    .footer-container { padding: 12px 20px; }
}

@media (max-width: 480px)  /* Mobile */
{

}


::selection {
    background: var(--primary-color);      /* highlight background */
    color: var(--secondary-color); /* text color inside selection (optional) */
}

/* Safari still needs the old prefixes */
::-moz-selection {
    background: var(--primary-color);
    color: var(--secondary-color);
}

button:hover {
    cursor: none;
}
a:hover {
    cursor: none;
}
.but-{
    cursor: none;
}
