@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

.pt-serif-regular {
    font-family: "PT Serif", serif;
    font-weight: 400;
    font-style: normal;
}
 
.pt-serif-bold {
    font-family: "PT Serif", serif;
    font-weight: 700;
    font-style: normal;
}
  
.pt-serif-regular-italic {
    font-family: "PT Serif", serif;
    font-weight: 400;
    font-style: italic;
}
  
.pt-serif-bold-italic {
    font-family: "PT Serif", serif;
    font-weight: 700;
    font-style: italic;
}

body
{
    font-family: serif;
    font-style: normal;
}

footer
{
    text-align: center;
    vertical-align: middle;
    color: black;
    background-color: #dbdbdb;
    padding: 0.5em;
}

.bloque
{
    background-color: #124d95;
    color: white;
    font-size: 2em;
    text-align: left;
    padding-left: 1em;
    padding-right: 1em;
    padding-top: 3em;
    padding-bottom: 0.5em;
    line-height: 1em;
}

.boton
{
    width: 10em;
    height: 2em;
    color: #134f94;
}

.boton > a 
{
    width: 100%;
    color: inherit;
    text-decoration: none;
}

.lista
{
    font-size: 1.0em;
}

.lista > ul
{
    padding-top: 1em;
}

.centrado 
{
    text-align: center;
    vertical-align: middle;
}

.telefono
{
    background: transparent;
    border: 0;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
    color: #124d95;
    font-weight: bold;
    font-size: 1.2em;
    text-align: left;
    padding-top: 0.2em;
    padding-left: 0.3em;
}

.opcion
{
    text-align: center;    
    font-weight: bold;
    font-size: 1em;
    color: #124d95;
}

.opcion:hover
{
    color: red;
}

h1
{
    font-family: "PT Serif", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 3em; 
    color: #124d95;
    text-align: center;
    line-height: 0.9em;
}

h3 
{
    font-weight: bold;
    font-size: 1.2em;
    padding-top: 0.5em;
    padding-bottom: -0em;
}

ul 
{
    font-size: 1.2em;
    padding-left: 2em;
}

a
{
    color: #124d95;
}

header
{
    overflow: hidden;
    position: fixed;
    width: 100%;
    background: none;
    background-color: white;
    z-index: 1000;
}

.container-fluid
{
    overflow: hidden;
}

td
{
    padding: 0em;
}

#diseno:hover img 
{
    opacity: 0;
}

#diseno:hover
{
    background-image: url("Images/prev2_diseno.jpg");
    background-repeat: no-repeat;
    background-size: 100%
}

#hvac:hover img 
{
    opacity: 0;
}

#hvac:hover
{
    background-image: url("Images/prev2_sistemas_hvac.jpg");
    background-repeat: no-repeat;
    background-size: 100%
}

#acabados_grles:hover img 
{
    opacity: 0;
}

#acabados_grles:hover
{
    background-image: url("Images/prev2_acabados_grales.jpg");
    background-repeat: no-repeat;
    background-size: 100%
}

#mantenimiento:hover img 
{
    opacity: 0;
}

#mantenimiento:hover
{
    background-image: url("Images/prev2_mantenimiento.jpg");
    background-repeat: no-repeat;
    background-size: 100%
}

#acabados_sanit:hover img 
{
    opacity: 0;
}

#acabados_sanit:hover
{
    background-image: url("Images/prev2_acabados_sanitarios.jpg");
    background-repeat: no-repeat;
    background-size: 100%
}

#productos:hover img 
{
    opacity: 0;
}

#productos:hover
{
    background-image: url("Images/prev2_productos.jpg");
    background-repeat: no-repeat;
    background-size: 100%
}

#portafolio {
    left: 5%;
    width: 90%;
    height: 10em;
    font-family: Montserrat;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    background: white;
    color: #fff;
}
#portafolio .scroll {
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: fit-content;
    white-space: nowrap;
    animation: loop 30s linear infinite;
}

#portafolio .fade {
    width: 100%;
    position: absolute;
    background: linear-gradient(
        90deg,
        black,
        transparent 30%,
        transparent 90%,
        black
    );
    inset: 0;
    pointer-event: none;
}

@keyframes loop {
    0% {transform: translateX(0%);}
    100% {transform: translateX(-50%);}
}

#portafolio .item {
    display: flex;
    align-items: center;
    gap: 0 0.2rem;
    color: #e2e8f0;
    font-size: .9rem;
    /* background-color: #152c41; */
    padding: 0.7rem 1rem;
    margin: 0rem 1rem;
    border-radius: 0.4rem;
    white-space: nowrap;
    box-shadow:
    0 0.1rem 0.2rem #00000033,
    0 0.1rem 0.5rem #0000004d,
    0 0.2rem 01.5rem #00000066
}

.img-responsive {
    text-align: center;
    display: inline-block;
}

.bloque_2
{
    text-align: center;
    padding-top: 2em;
    padding-bottom: 2em;
}