body {
    margin: 0;
    padding: 0;
    background: #ccee66;
    /* cor de fundo */
    color: white;
    /* cor do texto */
    padding: 20px clamp(20px, 8vw, 160px);
    height: 100vh;
    /* altura */
    font-family: "Noto Sans", sans-serif;

    overflow: hidden;
    /* o que fazer com o que sobra ?*/
}

body::before {
    content: '';
    background: #202020;
    position: absolute;
    top: 0;
    left: -600px;
    transform: rotate(-70deg);
    width: 100%;
    height: 120%;
}

body::after {
    content: 'Nike';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
    font-size: clamp(80px, 15vw, 250px);
    font-weight: bold;
    /* grossura da fonte */
    opacity: 0.5;
}

/* after(depois) / before(antes) */



/* class = . */
.logo {
    width: clamp(60px, 8vw, 80px);
    /* largura responsiva */
}

h4 {
    font-size: clamp(20px, 4vw, 30px);
    margin: 0 0 10px 0;
}

h1 {
    font-size: clamp(40px, 8vw, 80px);
    margin: 0 0 20px 0;
}

p {
    font-size: clamp(14px, 2vw, 16px);
    /* tamanho do texto */
    margin-bottom: 40px;
    line-height: 1.5;
}

.botao-carrinho {
    background: #a3be52;
    padding: 10px 20px;
    border-radius: 20px;
    /* arredondar a borda */
    font-size: 16px;
    color: black;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid transparent;
}

.botao-carrinho:hover {
    opacity: 0.8;
    /* transparencia */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.imagem-tenis {
    width: clamp(300px, 50vw, 800px);
    max-width: 90vw;
    transform: rotate(-25deg);
    filter: drop-shadow(30px 45px 40px #161616);
    transition: 1s;
}

.troca-efeito {
    opacity: 0;
    transform: rotate(-25deg) translateY(-30px);
}

.caixa-principal {
    display: flex;
    /* habilita alguns superpoderes */
    justify-content: space-between;
    /* alinha na horizontal */
    align-items: center;
    /* alinha na vertical */
    height: 75%;
    position: relative;
    z-index: 1;
}

.caixa-texto {
    max-width: clamp(300px, 45vw, 500px);
    /* largura maxima responsiva */
}

.caixa-botoes {
    z-index: 2;
    position: relative;
    display: flex;
    gap: clamp(10px, 2vw, 20px);
    justify-content: center;
    flex-wrap: wrap;
}

.botoes {
    width: clamp(60px, 8vw, 80px);
    height: clamp(60px, 8vw, 80px);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.botoes:active {
    opacity: 0.6;
    transform: scale(0.95);
}

.botoes:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.verde {
    background: #ccee66;
}

.azul {
    background: #58cced;
}

.rosa {
    background: #ff9eb5;
}

/* Media Queries para Responsividade */
@media (max-width: 768px) {
    body {
        padding: 15px 20px;
        overflow-y: auto;
        height: auto;
        min-height: 100vh;
    }
    
    body::before {
        left: -300px;
        transform: rotate(-60deg);
    }
    
    body::after {
        font-size: clamp(60px, 20vw, 120px);
        opacity: 0.3;
    }
    
    .caixa-principal {
        flex-direction: column;
        height: auto;
        gap: 30px;
        padding: 20px 0;
    }
    
    .caixa-texto {
        order: 2;
        max-width: 100%;
        text-align: center;
    }
    
    .caixa-imagem {
        order: 1;
        display: flex;
        justify-content: center;
    }
    
    .imagem-tenis {
        width: clamp(250px, 70vw, 400px);
        transform: rotate(-15deg);
    }
    
    .caixa-botoes {
        order: 3;
        margin-top: 20px;
    }
    
    h1 {
        margin: 10px 0 15px 0;
    }
    
    p {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px 15px;
    }
    
    .caixa-principal {
        gap: 20px;
    }
    
    .imagem-tenis {
        width: clamp(200px, 80vw, 300px);
        transform: rotate(-10deg);
    }
    
    .botao-carrinho {
        padding: 12px 25px;
        font-size: 15px;
        display: inline-block;
        text-align: center;
        text-decoration: none;
    }
}