body {
    margin: 0;
    padding: 0;
    background-color: white;
    overflow-x: hidden;
}

header {
    width: 100%;
    height: 75px;
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    column-gap: 50%;
    background-color: black;
    z-index: 2;
}

#logo {
    cursor: auto;
}

img {
    width: 5%;
    height: 70px;
    cursor: pointer;
}

#opciones {
    width: 30%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

#opcion1, #opcion2, #opcion3 {
    width: 35%;
    height: 75px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    font-family: Helvetica;
    color: white;
    cursor: pointer;
}

#opcion1:hover, #opcion2:hover, #opcion3:hover {
    background-color: goldenrod;

    transition-duration: 0.5s;
}

h1 {
    font-family: Helvetica;
    color: goldenrod;
}

h2 {
    width: 100%;
    text-align: center;
    font-family: Verdana;
}

h3 {
    width: 100%;
    margin-top: 60px;
    font-family: Helvetica;
}

h4 {
    font-family: Helvetica;
}

h5 {
    font-family: Verdana;
}

p {
    font-family: Verdana;
}

section {
    width: 100%;
    height: 3110px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.info {
    width: 50%;
    text-align: justify;
}

#presentacion {
    width: 100%;
    height: 825px;
    background: linear-gradient(rgba(218, 165, 32, 0.3), rgba(218, 165, 32, 0.3)), url("../img/presentacion.webp") no-repeat center center;
    background-size: cover;
    color: white;
}

#nombre_abogados {
    margin-bottom: 0;
    font-size: 500%;
    text-align: center;
    color: white;
}

#nombre2_abogados {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 400%;
    text-align: center;
    color: white;
}

#texto_presentacion {
    margin-top: 400px;
    font-size: 150%;
    text-align: center;
}

.slider {
	width: 60%;
    height: 700px;
    
	overflow: hidden;
}

.slider ul {
    width: 400%;
	display: flex;
	padding: 0;
	
	animation: cambio 20s infinite alternate linear;
}

.slider li {
	width: 100%;
	list-style: none;
}

.slider img {
	width: 100%;
    height: 500px;
    cursor: auto;
}

@keyframes cambio {
	0% {margin-left: 0;}
	20% {margin-left: 0;}
	
	25% {margin-left: -100%;}
	45% {margin-left: -100%;}
	
	50% {margin-left: -200%;}
	70% {margin-left: -200%;}
	
	75% {margin-left: -300%;}
	100% {margin-left: -300%;}
}

.servicios {
    width: 50%;
    height: 250px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.caja_general {
    width: 90%;
    height: 500px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

#servicio1 {
    width: 25%;
    height: 250px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("../img/nacionalidad.jpg") no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-family: Verdana;
    color: white;
}

#servicio2 {
    width: 25%;
    height: 250px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("../img/arraigo-familiar.webp") no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-family: Verdana;
    color: white;
}

#servicio3 {
    width: 25%;
    height: 250px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("../img/europa.jpg") no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-family: Verdana;
    color: white;
}

#servicio4 {
    width: 25%;
    height: 250px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("../img/reagrupacion-familiar.jpg") no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-family: Verdana;
    color: white;
}

#servicio5 {
    width: 25%;
    height: 250px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/permiso.avif") no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-family: Verdana;
    color: white;
}

#servicio6 {
    width: 25%;
    height: 250px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("../img/asilo.jpg") no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-family: Verdana;
    color: white;
}

#servicio7 {
    width: 25%;
    height: 250px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("../img/emprendedores.jpg") no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-family: Verdana;
    color: white;
}

#servicio8 {
    width: 25%;
    height: 250px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/recursos.jpg") no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-family: Verdana;
    color: white;
}

#hr_servicios {
    width: 75%;
    margin-top: 25px;
    margin-bottom: 25px;
    background-color: goldenrod;
}

hr {
    width: 40%;
    color: rgba(240, 230, 140, 0.829);
}

#pedir_cita {
    width: 15%;
    height: 60px;
    border: 2px ridge goldenrod;
    border-radius: 5px;
    background-color: black;
    color: goldenrod;
    font-weight: bold;
    cursor: pointer;
}

#pedir_cita:hover {
    border: 2px ridge black;
    background-color: goldenrod;
    color: black;

    transition-duration: 0.5s;
}

#caja_cita {
    position: sticky;
    bottom: 120px;
}

#pedir_cita_sticky {
    width: 9%;
    height: 35px;
    margin-left: 85%;
    border: 2px ridge black;
    border-radius: 5px;
    background-color: goldenrod;
    color: black;
    font-weight: bold;
    cursor: pointer;
    z-index: 3;
}

#pedir_cita_sticky:hover {
    background-color: black;
    color: goldenrod;

    transition-duration: 0.75s;
}

#noticias {
    width: 80%;
    height: 750px;
    row-gap: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: Verdana;
}

.noticia {
    width: 100%;
    height: 750px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    font-family: Verdana;
    background-color: rgba(218, 165, 32, 0.4);
    
    transition: width 1s, height 1s;
}

.noticia:hover {
    width: 120%;
    height: 775px;
}

.noticia a {
    text-decoration: none;
    color: black;
}

.noticia a:hover {
    color: goldenrod;
}

.noticia p {
    width: 90%;
    margin-top: 0;
    text-align: justify;
}

#hr_noticias {
    width: 50%;
    margin-top: 5px;
    margin-bottom: 10px;
    background-color: goldenrod;
}

#info_contacto {
    width: 90%;
    height: 200px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-family: Verdana;
    background-color: rgba(218, 165, 32);
}

.apartados_contacto {
    width: 100%;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: Verdana;
    color: black;
}

.imagen {
    font-size: 5em;
    color: black;
}

@keyframes degradado {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.contenedor {
    width: 100%;
    height: 100px;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    font-family: Helvetica;
    font-size: 1.25em;
    text-align: center;
    background-color: black;
    color: white;
    text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.541);
}

.contenedor a {
    text-decoration: none;
    color: white;
}

.contenedor a:hover {
    text-decoration: none;
    color: goldenrod;
}

.contenedor img {
    width: 15%;
    height: 40px;
    cursor: pointer;
}

#logo_footer {
    width: 100%;
    height: 90px;
    cursor: auto;
}

#redes {
    font-size: 1.5em;
}

@media (max-width:750px) {   
    img {
        width: 7%;
    }
    
    section {
        height: 4000px;
    }
    
    .slider {
        width: 80%;
        height: 400px;
    }
    
    .servicios {
        width: 80%;
        height: 250px;
    }
    
    .texto {
        width:50%;
        height: 250px;
        margin-top: 75px;
    }

    hr {
        width: 60%;
    }
    
    #pedir_cita {
        width: 20%;
        height: 40px;
    }
    
    #caja_cita {
        bottom: 300px;
    }
    
    #pedir_cita_sticky {
        width: 12.5%;
        height: 35px;
        margin-left: 80%;
    }
    
    #ubicacion {
        width: 90%;
        height: 250px;
    }

    #ubicacion li {
        font-size: 0.9em;
    }

    .contenedor {
        font-size: 0.9em;
    }
}