* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

header {
    text-align: center;
    background-color: brown;
    position: fixed;
    top: 0;
    width: 100%;
    padding: 10px;
    text-shadow: 2px 2px 4px #746e71;
}

body {
    background-image: url(../img/fondo.jpg);
    background-size: cover;
    color: aliceblue;
}

main {
    margin-top: 200px;
    margin-left: 150px;
    text-align: center;
    justify-content: center;
    width: 100%;
    display: grid;
    grid-template-columns: 30% 70%;
}

p {
    text-align: center;
}

#parteUno {
    display: flex;
    align-items: center;
    justify-content: center;
}

#botones {
    display: flex;
    align-items: center;
    justify-content: center;
}

button,
input,
div {
    margin: 10px;
}

button {
    padding: 10px;
    border: 1px;
    border-style: inset;
    border-radius: 55%;
}

button:hover {
    font-style: italic;
    font-weight: bold;
}

#anadir {
    width: 150px;
}

#resetear {
    width: 100px;
}

#resetear:hover,
#anadir:hover {
    background-color: rgb(168, 169, 169);
}

#numeros {
    font-size: 20px;
}

#formarEquipos {
    background-color: rgb(88, 203, 50);
    border-color: rgb(3, 107, 3);
}

#formarEquipos:hover {
    background-color: rgb(0, 255, 0);
}

footer {
    position: fixed;
    bottom: 0;
    background-color: brown;
    text-align: center;
    width: 100%;
}

img {
    width: 30px;
    height: 30px;
    max-width: 100%;
}
img:hover{
    opacity: 0.5;
}

main {
    margin-top: 200px;
    margin-left: 150px;
}

/* Media query para pantallas medianas */
@media screen and (max-width: 1024px) {
    main {
        margin-top: 100px;
        margin-left: 50px;
        grid-template-columns: 1fr;
    }
}

/* Media query para pantallas pequeñas */
@media screen and (max-width: 768px) {
    main {
        margin-top: 50px;
        margin-left: 20px;
    }
}
