:root {

    --primary: #E7CF34;
    --secondary: #D3631E;
    --light: #F6F7F8;
    --dark: #ee653c;
    --terceario: radial-gradient(circle, #dfe1e3, #dee3e6, #dde5e9, #dbe7eb, #d9e9ec);
    --celeste:#006CB6;
    --azul:#203570;
}

* {
    font-family: "Noto Sans", "san serif";

    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.navbar-collapse {
    justify-content: space-evenly;
}

.navbar {
    padding: 0;
}



.enlace-color {
    color: var(--light)
}

.enlace-color:hover {
    background-color: rgb(253, 47, 226);
}

.enlace-color:focus {
    color: rgba(255, 255, 255, 0.5)
}

.navbar-toggler {
    border: 1px solid var(--primary);
    color: rgba(255, 0, 0, 0);
    padding: 0.25rem 0.5rem;

}

.icoMenu1 {
    width: 2rem;
}

.icon-burger {
    color: var(--primary);

}

.contRedes {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.iconRedes {
    font-size: 1.8rem;
    color: var(--celeste);
}

.iconRedes:hover {
    color: var(--primary);
}

.logo {
    color: var(--light);
    font-family: 'Times New Roman', Times, serif;
    gap: 1rem;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo:hover {
    color: var(--primary)
}

.container-fluid {

    padding-bottom: 1rem;
    padding-top: 1rem;
}

.navbar .container-fluid {
    justify-content: space-between;
}



/*.carousel-control-next{
    position: initial;
}*/


.navbar-collapse {
    justify-content: space-evenly;
}

.container-color {
    background-color: rgba(28, 27, 31, 0.555);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.055) !important;
    padding: 1rem;

}

.enlace-color:hover {
    background-color: var(--primary);
}

.enlace-color:focus {
    color: rgba(255, 255, 255, 0.5)
}

.navbar-toggler {
    border: 1px solid var(--primary);
    color: rgba(255, 0, 0, 0);
    padding: 0.25rem 0.5rem;
    margin-right: 1rem;

}

.contRedes {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.logo {
    color: var(--light);
    font-family: 'Times New Roman', Times, serif;
    gap: 1rem;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo:hover {
    color: var(--primary)
}

.logoImg {
    padding-left: 10px;
    width: 15rem;

}

.container-fluid {

    padding: 0.5rem 0 0.5rem 0;
    justify-content: flex-end;

}

/*------------------------VIDEO-------------------------*/
.navbar {
    z-index: 5;
    position: fixed;
    width: 100%;
}

.contVideo {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.video {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}

.capa {

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(31, 30, 30);
    opacity: 0.5;
    mix-blend-mode: overlay;

}

.contInfo {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    height: 446px;
}

/*------------NAV transparente---------------------*/
.bg-light {
    opacity: 1;
    background-color: rgba(var(--bs-light-rgb), 0) !important;
    

}

.container-color{
    background-color: rgb(14 16 42 / 82%);
}
/*-------------------Text Principal -------------------*/
.navbar-collapse {

    padding: 1rem;
}

.contTexVideo {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;

}


.contTexVideo h1 {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    
}

.contTexVideo h2,
h1 {
color: #f5f5f5;
  text-shadow: 8px 8px 10px  rgb(2, 2, 41)
  
  

}

.contTexVideo h2 {
    margin-top: 10px;
    font-size: 2.3rem;
}

.titulo {
    font-weight: 900;
}

.subtitulo {
    color: var(--primary);
    text-shadow: 1px 1px 1px rgb(0, 0, 0);
    font-weight: 300;
    margin-top: -11px;

}

.bajada {
    font-size: 2.5rem;
    font-weight: 200;

}

.materiasOfrecidas {
    display: flex;
    gap: 1rem;

}

.materiasOfrecidas h3 {
    color: var(--primary);
    text-shadow: 1px 1px 1px rgb(0, 0, 0);
    font-size: 2rem;
  
}
h3{
  text-align: center;
}
.BotonDatosWeb3 {
    text-decoration: none;
background: #E7CF34;
background: linear-gradient(90deg, rgba(231, 207, 52, 1) 20%, rgba(211, 84, 30, 1) 88%, rgba(211, 36, 30, 1) 96%);
    padding: 0.5rem 1rem 0.5rem 1rem;
    border-radius: 2rem;
    color: var(--light);
    text-shadow: 1px 1px 5px rgb(34, 9, 1);
    font-weight: 800;
    box-shadow: 2px 2px 15px rgb(233, 71, 22);
    margin-top: 2rem;
    font-size: 1.3rem;


}

.BotonDatosWeb3:active {
 
    font-size: 1.8rem;
}

@media (max-width: 500px) {

    .logoImg{
        width: 12rem;
    }
    .contTexVideo{
   margin-bottom: -8rem;
    }
    .contTexVideo h1 {
        font-size: 2.3rem;
        text-align: center;
    }
    .contTexVideo h1 strong {
        color: #ffab10;
         text-shadow: 1px 1px 10px  rgb(0, 18, 97)
    }
    .contTexVideo h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    .materiasOfrecidas h3 {
        font-size: 1.5rem;
        text-align: center;
    }

}

@media (max-width: 350px) {

    .contTexVideo h1 {
        font-size: 2rem;
        text-align: center;
    }

    .contTexVideo h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    .materiasOfrecidas h3 {
        font-size: 1.3rem;
        text-align: center;
    }

}

/*-------------PERFIL----------------------*/
.perfil {
    background-color: #f8f6f7d2;
    padding: 3rem 0 1rem 0;
}

.contPerfil {
    display: flex;
    gap: 1.2rem;
    justify-content: center;


}

.imgProfe {
    width: 50%;
    max-width:350px;
    height: auto;
}

.contTextPerfil {
    display: flex;
    flex-direction: column;

    width: 500px;
}

.name,
.Profesorado,
.texResaltado {
    color: var(--azul);
}

.Profesorado {
    margin: 2px 0 05px 0;
    font-weight: 400;
}

.name {
    font-size: 4rem;
    font-weight: 800;
    margin: 0px;
}

@media(max-width:600px) {

    .contPerfil {
        flex-wrap: wrap;
        flex-direction: column-reverse;
        align-items: center;
    }
.contTextPerfil{
    width: 300px;
}
 
@media(max-width:500px) {
    .imgProfe{
        width: 90%;
    }
    
}
}

/*---------------MATERIAS------------------------*/
.todasMaterias {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    padding-top: 2rem;
}

.conTotalMateria {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center
}

.contTexMateria {
    width: 320px;
    height: 460px;
    border: 1px solid gainsboro;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.seccionTitulo {

    text-align: center;
    font-size: 4rem;
    color: var(--azul);
    font-weight: 600;


}

.seccionTitulo,
h2 {
    font-weight: 700;
}

.LineaBanner,
.LineaBanner2,
.LineaBanner3 {
    width: 100%;
    height: 25%;
   

    background-size: auto 120px;
    margin-bottom: 1rem;
    border-radius: 0.8rem 0.8rem 0 0;
}

.img1 {
    background-image: url(/asset/img/asigas_hronalla.png);
}

.img2 {
    background-image: url(/asset/img/asigas_reparacion.png);
}
.img3 {
    background-image: url(/asset/img/asigas_sala.png);
}
.img4 {
    background-image: url(/asset/img/asigas_remodelacion.png);
}
.img5 {
    background-image: url(/asset/img/asigas_emegencia.png);
}

.LineaBanner2 {
    background-image: url(/pages/servicios/productos/webs/web_3/asset/img/fisica.png);
    background-color: #fd7348;
}

.LineaBanner3 {
    background-image: url(/pages/servicios/productos/webs/web_3/asset/img/texturas-materias-quimica.png);
    background-color: #48fda9;
}

/*------------------------GALERIA--------------------------*/
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  padding: 10px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 8px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 14px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .caption {
  opacity: 1;
}

/* Responsive */
@media (max-width: 600px) {
  .caption {
    font-size: 12px;
    padding: 6px;
  }
}

/*------------------------------------------------*/
.overlay {
  position: fixed;
  top:0;
  left:0;
  width: 100%;
  height:100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.overlay-content {
  max-width: 90%;
  max-height: 90%;
  text-align: center;
}

.overlay-content img {
  max-width: 100%;
  max-height: 80vh;
  margin-bottom: 10px;
}

.overlay-content p {
  color: #fff;
  font-size: 16px;
}


/*--------------------------CONTACTOS-----------------------------------*/
.contTotalContacto {
    padding: 1rem 0.5rem;
    background-color: #f8f6f7d2;

}

.datosContacto {

    display: flex;
    flex-direction: column;
    align-items: center;
}

.conRedesMasBajada {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.conRedesMasBajada p {
    width: 500px;
    text-align: justify;
}

.ContRedes {

    display: flex;
    gap: 1rem;
    justify-content: space-evenly;
    margin-bottom: 1rem;
}
.contContactoRedes{
    margin-bottom: 3rem;
}

.contContactoRedes a {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    text-decoration: none;

   
}



@media (max-width:768px) {
    .mapsGoogle {
        width: 700px;
    }
}

@media (max-width:600px) {
    .mapsGoogle {
        width: 550px;

    }
}
@media (max-width:500px) {
    .mailContacto{
        font-size: 1.2rem;
    }
    .mapsGoogle {
        width: 400px;
    }
    .conRedesMasBajada p{
        width: 300px;
        text-align: left;
    }
    .seccionTitulo{
        font-size: 3rem;
    }
}

@media (max-width:320px) {
    .mapsGoogle {
        width: 300px;
    }
    .conRedesMasBajada p{
        width: 300px;
    }
}
/*----------------Footer---------------------------*/
.footer {
    background-color: var(--azul);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--light);
    align-items: center;
    padding: 1rem 0 1rem 0;

}

.contLogo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contTextFooter {
    width: 50%;
    text-align: center;
    font-weight: 200;
    line-height: 1.4rem;
}

.line {
    width: 90%;
    border: 0.5px solid var(--dark);

}

.contPubli a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.664);
    font-size: 0.8rem;
    font-weight: 200;
}

.contPubli a:hover {
    color: #000000;
}

.botonUno {
    text-decoration: none;
    background-color: var(--secondary);
    padding: 10px;
    border-radius: 15px;
    color: var(--light);
    font-weight: 500;
    display: inline-block;
    line-height: 1.4rem;
    border: 1px solid var(--light);
    margin-bottom: 0.2rem;
}

.logoFooter {
    width: 15rem;
}

@media (max-width:450px) {
    .contTextFooter {
        width: 95%;

    }

}