/* FUENTES IMPORTADAS */
@import url('https://fonts.googleapis.com/css2?family=Bree+Serif&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bree+Serif&family=Special+Gothic+Expanded+One&display=swap');

/* GENERALES */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

img,
video {
    width: 100%;
}

body {
    font-family: "Jersey 15", sans-serif;
    font-size: 20px;
    text-align: left;
    background-color: rgb(207, 207, 207);

}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Special Gothic Expanded One', sans-serif;
    margin-top: 50px;
}

a {
    text-decoration: none;
}

.link {
    text-decoration: underline;
}

/* HEADER */
header {
    width: 100%;
    text-align: center;
    background-color: grey;
    padding: 20px 0;
}

header a {
    text-decoration: none;
    color: white;
}

h1 {
    margin: 20px 0;
}

.logo-principal {
    width: 200px;
}

nav a {
    text-decoration: underline;
}

a:hover {
    color: black;
    background-color: white;
    padding: 10px 20px;
    border-radius: 16px;
}

/* ARTICLE */
article {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    text-align: left;
    gap: 20px;
    max-width: 850px !important;
}

form {
    display: flex;
    flex-direction: column;
    width: fit-content;
    gap: 5px;
}

input {
    padding-left: 3px;
}

.generacion button,
.repetidor button {
    margin-top: 20px;
}

#qrcode {
    width: 200px;
    border: 1px solid black;
}

#btnDescargar {
    display: none;
}

#resultadoGenerador {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    display: none;
}

.generacion {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
    max-width: 300px;
}

button {
    padding: 5px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    max-width: fit-content;
    margin: 0 auto;
    text-wrap: nowrap;
    border-radius: 16px;
}

button:hover {
    background-color: #005c05;
}

.añadidos {
    align-self: flex-start;
}

.partesqr {
    width: 50%;
}

/* FOOTER */
footer {
    width: 100%;
    background-color: black;
    padding: 20px 0;
    text-align: center;
}

footer a {
    text-decoration: none;
    color: white;
}

@media screen and (max-width: 600px) {
    .generacion {
        flex-direction: column;
        align-items: center;
    }

    #qrcode {
        width: 150px;
    }

    .añadidos {
        align-self: center;
    }

}