@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    font-size: 22px;
    font-family: 'Barlow Condensed', sans-serif;
}

header {
    width: auto;
    height: 160px;
    background-color: #000029;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

body {
    background-color: #363636;
    color: #fff;
}

#logo {
    height: 300px;
}

#search {
    background: url("https://img.icons8.com/ios/50/search--v1.png") no-repeat right / 20px;
    padding-right: 20px;
    padding: 20px;
    width: 691px;
    height: 40px;
    background-color: #fff;
    color: #c1c1c1;
    border-radius: 15px;
    font-size: 20px;
    border: #000;
    font-style: italic;
}

.head {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.perfil {
    display: flex;
    align-items: center;
    margin-left: 300px;
}

.carrinho {
    display: flex;
    align-items: center;
    margin-right: 150px;
}

.final {
    display: flex;
    justify-content: end;
    align-items: center;
}

.topicos {
    width: auto;
    height: 45px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #030738;
}

a {
    color: #fff;
    text-decoration: none;
}

li {
    display: inline-block;
    margin: 50px;
}

nav ul li a {
    display: flex;
}

.categorias {
    margin-left: 50px;
}

.slide-container {
    width: auto;
    height: 314px;
    margin: 0;
    overflow: hidden;
    position: relative;
}

.image-container {
    width: 300vw;
    height: 314px;
    display: flex;
    animation: slideAnimation 20s infinite ease-in-out;
    animation-play-state: running;
}

.slider-image {
    width: 100vw;
    height: 314px;
    object-fit: cover;
}

.button-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 10px;
}

.slider-button {
    display: inline-block;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
    transition: background-color 1s ease;
}

.slider-button:hover {
    background-color: #888;
}

.slider-button:hover~.image-container {
    animation-play-state: paused;
}

.image-container:hover {
    animation-play-state: running;
}

#slider-image1:target~.image-container {
    animation: none;
    transform: translateX(0);
}

#slider-image2:target~.image-container {
    animation: none;
    transform: translateX(-100vw);
}

#slider-image3:target~.image-container {
    animation: none;
    transform: translateX(-200vw);
}

#slider-image4:target~.image-container {
    animation: none;
    transform: translateX(-300vw);
}

@keyframes slideAnimation {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-100vw);
    }

    50% {
        transform: translateX(-200vw);
    }

    75% {
        transform: translateX(-300vw);
    }

    100% {
        transform: translateX(0);
    }
}

.wheyprotein {
    border-width: 2px;
    border-style: solid;
    border-color: #ffffff;
    margin-left: 44px;
    margin-top: 42px;
    background-color: #787878;
}

.wheyprotein img {
    width: 320px;
    height: 320px;
    margin-top: 40px;
}

.wheyprotein p {
    display: flex;
    justify-content: center;
    align-items: center;
}

.creatina {
    border-width: 2px;
    border-style: solid;
    border-color: #ffffff;
    margin-top: 42px;
    background-color: #787878;
}

.creatina img {
    width: 320px;
    height: 300px;
    margin: 30px;
}

.creatina p {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pretreino {
    border-width: 2px;
    border-style: solid;
    border-color: #ffffff;
    margin-top: 42px;
    background-color: #787878;
}

.pretreino img {
    width: 320px;
    height: 320px;
    margin-top: 30px;
}

.pretreino p {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hipercalorico {
    border-width: 2px;
    border-style: solid;
    border-color: #ffffff;
    margin-right: 40px;
    margin-top: 42px;
    background-color: #787878;
}

.hipercalorico img {
    width: 320px;
    height: 320px;
    margin-top: 30px;
}

.hipercalorico p {
    display: flex;
    justify-content: center;
    align-items: center;
}


.produtos {
    justify-content: space-between;
    display: flex;
    flex-direction: row;
}

.musculo img {
    width: 553px;
    height: 571px;
    margin-top: 70px;
    margin-left: 99px;
}

.titulo p {
    font-size: 96px;
    margin-top: 120px;
    margin-left: 90px;
}

.descricao {
    display: flex;
}

.texto-p p {
    margin-top: 35px;
    margin-left: 90px;
    font-size: 32px;
}

.botao {
    margin-top: 45px;
    margin-left: 90px;
}

.botao button {
    padding: 15px 70px;
    font-size: 40px;
    border-radius: 10px;
    background-color: #0B1D66;
    color: #fff;
    border: none;
}

.input-email {
    margin-top: 20px;
    margin-bottom: 8px;
    width: 200px;
    padding: 4px 0 4px 32px;
    border: 1px solid #dddddd;
    border-radius: 4px;
}

.rodape {
    width: auto;
    height: 300px;
    background-color: #000029;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    margin-top: 139px;
}

.logo-r p {
    margin-left: 80px;
    font-weight: 300;
}

.categorias-r p {
    margin-top: 20px;
    font-weight: 300;
}

.produtos-r p {
    margin-top: 20px;
    font-weight: 300;
}

.mantenha {
    margin-right: 150px;
}
@media(width<500px){
    header {
        width: auto;
        display: flex;
        flex-direction: column;
        justify-content:center;
    }
    #search {
        width: 350px;
        height: 40px;
    }
    .head{
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .final{
        display: none;
    }

}