/* ELEMENTOS COMUNES */
header {
    display: flex;
    align-items: center;
    padding: 15px 10%;
    background-color: #9ff1ffb6;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 60px;
}

.logo-text span {
    font-weight: bold;
    font-size: 18px;
    color:rgb(18, 124, 247)
}

nav {
    margin-left: auto;
}

nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

nav a {
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    background-color:rgb(18, 117, 247);
    color: white;
    padding: 5px 5px;
}

body {
    background-color: aliceblue;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin:0;
    font-family: system-ui, --apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

main {
    flex: 1;
}

footer {
    text-align: center;
    padding: 20px 0;
    background-color: #222;
    color: white;
}

footer a {
    text-decoration: none;
    color: slateblue;
    font-weight: bold;
}

/* ELEMENTOS PARA index.html */
.inicio {
    display: flex;
    align-items: center;
    padding: 40px 5%;
    gap: 50px;
}

.imagen {
    width: 55%;
}

.imagen img {
    border-radius: 20px;
    width: 80%;
}

.texto {
    width: 40%;
}

.texto h1 {
    font-size: 60px;
}

.texto p {
    font-size: 20px;
}

.texto span {
    color:rgba(14, 199, 255, 0.452)
}

/* Responsive para index.html */
@media (max-width: 768px) {
    .inicio {
        flex-direction: column;
        text-align: center;
    }
    .buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .texto {
        width: 100%;
    }
    .texto h1 {
        font-size: 55px;
    }
    .texto p {
        font-size: 18px;
    }
    .imagen {
        width: 500px;
    }
}

/* BOTONES DE ENLACE */
.button {
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    color: white;
    font-size: 18px;
    padding: 5px 15px;
    margin-right: 15px;
}
.primary {
    background-color:rgb(155, 43, 247);
}

.secondary {
    background-color:rgb(123, 174, 250);
}

/* ELEMENTOS COMUNES DE servicios.html Y nosotros.html  */
.contenedor {
    display: flex;
    width: 100%;
}

/* ELEMENTOS COMUNES DE servicios.html Y nosotros.html Y politicas.html */
.parte {
    flex: 1;
    padding: 10px;
}

.grid-servicios {
    display: grid;
    gap: 10px;
}

.bloque {
    display: flex;
}

.tarjeta {
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgb(0, 124, 247);
    background-color: rgb(255, 255, 255);
    text-align: center;
    width: 30%;
}

.tarjeta h4 {
    color: rgb(0, 124, 247);
    font-weight: bold;
}

.tarjeta img {
    width: 50%;
}

/* ELEMENTOS PARA servicios.html */
.texto2 h1 {
    font-size: 75px;
    margin-left: 80px;
}

.texto2 p {
    font-size: 25px;
    margin-left: 80px;
    max-width: 600px;
}

.texto2 span {
    color: rgb(0, 124, 247)
}

.imagen-servicios {
    width:85%;
}

.imagen-servicios img {
    width: 100%;
    border-radius: 15px;
    margin-left: 75px;
    padding: 5px;
}
/* Responsive para servicios.html */
@media (max-width: 768px) {
    .contenedor {
        flex-direction: column;
    }
    .texto2 h1 {
        font-size: 42px;
        margin-left: 76px;
    }
    
    .texto2 p {
        font-size: 18px;
    }
    .bloque {
        flex-direction: column;
        align-items:center;
    }
    .tarjeta {
        width: 70%;
    }

    .imagen-servicios img {
        width: 85%;
    }
}

/* ELEMENTOS PARA nosotros.html */
.texto3 h1 {
    font-size: 60px;
    text-align: center;
}

.texto3 p {
    font-size: 20px;
    padding: 0px 14px;
}

.texto3 span {
    color: rgb(17, 73, 255)
}

/* Responsive para nosotros.html */
@media (max-width: 768px) {
    .texto3 h1 {
        font-size: 55px;
        text-align: center;
    }
    .texto3 p {
        font-size: 18px;
        text-align: center;
    }
}

/* ELEMENTOS PARA contactanos.html */
.container {
    width: min(900px, 92%);
    margin: 0 auto;
}

.card {
    margin: 22px 0;
    padding: 18px;
    border: 1px solid #8c19a3;
    border-radius: 10px;
    background: #fff;
}

.tiquet-form .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.field {
    display: grid;
    gap: 6px;
}

.fieldset {
    margin: 14px 0;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #bbb;
}

.fieldset label {
    display: inline-block;
    gap: 8px;
    margin-right: 12px;
    margin-top: 6px;
}

input,
select,
textarea,
button {
    font: inherit;
}

input,
select,
textarea {
    padding: 10px;
    border: 1px solid #bbb;
    border-radius: 8px;
}

textarea {
    min-height: 130px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: 3px solid #000;
    outline-offset: 2px;
}

.actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

button {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #111;
    background: #111;
    color: #fff;
    cursor: pointer;
}

button.secondary {
    background: transparent;
    color: #111;
}

/* Responsive para contactanos.html */
@media (max-width: 720px) {
    .tiquet-form .grid {
        grid-template-columns: 1fr;
    }

    .actions {
        flex-direction: column;
    }
}

/* ELEMENTOS PARA politicas.html */
.politicas {
    padding: 5px;
}

.texto4 {
    padding: 10px;
}

.texto4 h1 {
    font-size: 60px;
}

.texto4 p {
    font-size: 20px;
}

.texto4 span {
    color: rgb(141, 0, 122)
}

/* Responsive para politicas.html */
@media (max-width: 768px) {
    .politicas {
        flex-direction: column;
    }
    .texto4 h1 {
        font-size: 50px;
        text-align: center;
    }
    .texto4 p {
        font-size: 18px;
        text-align: center;
    }
}

/* MENU HAMBURGUESA */
.menu-toggle,
.hamburger {
    display:none;
}

/* MENU HAMBURGUESA PARA MOVIL */
@media (max-width: 768px) {

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .hamburger span {
        width: 25px;
        background-color: black;
        padding: 1px;
    }

    .menu {
        display: none;
        flex-direction: column;
    }

    .menu-toggle:checked + .hamburger + .menu {
        display: flex;
    }
}


