@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

* {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 14px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: fit-content;
}

body {
    height: fit-content;
    background: linear-gradient(192.01deg, #2E0F59 0%, #090526 100%);
}

header {
    margin-top: 50px;
}

h1 {
    font-size: 0;
    width: 142px;
    height: 73px;
    margin: auto;
    background-image: url(../img/logo.svg);
    background-repeat: no-repeat;
    background-position: center center;
}

form {
    width: 74%;
    margin: auto;
}

form label {
    display: none;
    font-size: 0;
}

form input {
    width: 100%;
    height: 40px;
    border: 0 transparent;
    border-radius: 20px;
    margin-top: 50px;
    padding-left: 20px;
}

form input::placeholder {
    color: #D2D2D2;
} 

main {
    margin-top: 50px;
    padding-bottom: 230px;
}

main div {
    width: 60%;
    height: 80px;
    border-radius: 20px 0 0 20px;
    text-align: center;
    padding-top: 33px;
    background-color: white;
    position: fixed;
    z-index: 1;
    top: 230px;
    right: -30%;
    animation-name: notificacionStatus;
    animation-duration: 3s;
}

@keyframes notificacionStatus {
    0% {right: -30%;}
    25% {right: 0;}
    50% {right: 0;}
    75% {right: 0;}
    100% {right: -30%;}
}

main div p {
    font-size: 1.3rem;
}

ul {
    width: 88%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2%;
    row-gap: 0.2%;
}

li {
    list-style-type: none;
}

a {
    display: inline-block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

img {
    width: auto;
    height: 100%;
    border-radius: 10px;
}

@supports(object-fit: cover){
    img {
        width: 100%;
        object-fit: cover;
        object-position: center bottom;
    }
}

@media screen and (min-width: 441px) {
    main {
        padding-bottom: 130px;
    }

    main div {
        width: 50%;
    }

    ul {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 0.5%;
    }
}

@media screen and (min-width: 700px) {
    header {
        margin-top: 50px;
        display: flex;
        flex-flow: row nowrap;
        justify-content: center;
        align-items: center;
    }
    
    h1 {
        margin: 0;
        margin-right: 50px;
    }
    
    form {
        width: 400px;
        height: 40px;
        margin: 0;
    }
    
    form input {
        margin-top: 0;
    }

    main {
        padding-bottom: 150px;
    }

    main div {
        width: 29%;
        top: 130px;
    }

    ul {
        grid-template-columns: repeat(4, 1fr);
        row-gap: 1%;
    }
}

@media screen and (min-width: 1280px) {
    form {
        width: 500px;
    }

    main {
        padding-bottom: 100px;
    }

    main div {
        width: 20%;
    }
    
    ul {
        width: 95%;
        grid-template-columns: repeat(6, 1fr);
        column-gap: 1%;
    }
}

@media screen and (min-width: 1600px) {
    main div {
        width: 15%;
    }

    ul {
        width: 95%;
        grid-template-columns: repeat(8, 1fr);
        column-gap: 1%;
        row-gap: 1.5%;
    }
}