@font-face {
    font-family: "DIN Next Black";
    src: url(../fonts/DINNextLTPro-Black.ttf) format('truetype');
}

@font-face {
    font-family: "DIN Next Bold";
    src: url(../fonts/DINNextLTPro-Bold.ttf) format('truetype');
}

@font-face {
    font-family: "DIN Next Light";
    src: url(../fonts/DINNextLTPro-Light.ttf) format('truetype');
}

@font-face {
    font-family: "DIN Next Medium";
    src: url(../fonts/DINNextLTPro-Medium.ttf) format('truetype');
}


* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}



header {
    background-color: #f0f0f0;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 90px;
    position: fixed;
    top: 0px;
    z-index: 100;

}


header img {
    width: 250px;
    height: 50px;
    margin-top: 20px;
    margin-left: 45px;

}

nav {
    display: flex;
    gap: 20px;
    margin-right: 20px;
    align-items: center;

}

a {
    color: #18223C;
    text-decoration: none;
    letter-spacing: 2px;
    font-family: 'DIN Next Bold';
    background-image: linear-gradient(#EA611C, #EA611C);
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size .3s;
}

a:hover,
a:focus {
    background-size: 100% 2px;
}



.accordion {
    display: flex;
    height: 30px;
}

.accordion-header {
    padding: 10px;
    cursor: pointer;
    color: #18223C;
    font-weight: bold;
    letter-spacing: 3px;
    font-family: 'DIN Next Bold';
}

.accordion-content {
    background-color: #f0f0f0;
    padding: 0px;
    display: none;
}

.accordion-content a {
    display: flex;
    flex-direction: column;
    line-height: 28px;
}

.accordion-item.active .accordion-content {
    display: block;
}


.btn-wpp {
    position: fixed;
    width: 55px;
    height: 55px;
    line-height: 55px;
    bottom: 30px;
    right: 30px;
    border-radius: 50px;
    text-align: center;
    z-index: 100;
}

.btn-wpp:hover {
    width: 64px;
    height: 64px;
    text-decoration: none;
    color: #EA611C;

}


.servicio-titulos,
.proyectos-titulos,
.contacto-titulos {
    background-color: #18223C;
    display: flex;
    flex-direction: row;
    text-align: end;
    font-size: 50px;
    justify-content: space-between;

}

.servicio-titulos img,
.proyectos-titulos img {
    width: 300px;
    transform: translateY(40px);

}

.servicio-titulos h2 {
    font-family: 'DIN Next Bold';
    color: #eee8e8;
    font-size: 50px;
    margin-top: 150px;
    margin-left: 37px;
    letter-spacing: 2px;
}

.proyectos-titulos h2 {
    font-family: 'DIN Next Bold';
    color: #d3caca;
    font-size: 50px;
    margin-left: 37px;
    letter-spacing: 2px;

}


/* Seccion servicios */

.card,
.card1,
.card2 {
    position: absolute;
    width: 60%;
    height: 100%;
    left: 0;
    right: 0;
    margin: auto;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.container {
    width: 100%;
    max-width: 900px;
    max-height: 600px;
    height: 100%;
    transform-style: preserve-3d;
    display: flex;
}

.cards {
    position: relative;
    width: 100%;
    height: 100%;
    margin-left: 190px;
    margin-top: 40px;
}

.imagenes-card {
    width: 300px;
    height: 400px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0px 10px 15px 0px rgba(81, 81, 81, 0.47);
}

input[type=radio] {
    display: none;
}

#item-1:checked~.cards #song-3,
#item-2:checked~.cards #song-1,
#item-3:checked~.cards #song-2,
#item-4:checked~.cards #song-6,
#item-5:checked~.cards #song-4,
#item-6:checked~.cards #song-5,
#item-7:checked~.cards #song-9,
#item-8:checked~.cards #song-7,
#item-9:checked~.cards #song-8 {
    transform: translatex(-40%) scale(0.8);
    opacity: 0.4;
    z-index: 0;
}

#item-1:checked~.cards #song-2,
#item-2:checked~.cards #song-3,
#item-3:checked~.cards #song-1 ,
#item-4:checked~.cards #song-5,
#item-5:checked~.cards #song-6,
#item-6:checked~.cards #song-4 ,
#item-7:checked~.cards #song-8,
#item-8:checked~.cards #song-9,
#item-9:checked~.cards #song-7{
    transform: translatex(40%) scale(0.8);
    opacity: 0.4;
    z-index: 0;
}

#item-1:checked~.cards #song-1,
#item-2:checked~.cards #song-2,
#item-3:checked~.cards #song-3,
#item-4:checked~.cards #song-4,
#item-5:checked~.cards #song-5,
#item-6:checked~.cards #song-6,
#item-7:checked~.cards #song-7,
#item-8:checked~.cards #song-8,
#item-9:checked~.cards #song-9 {
    transform: translatex(0) scale(1);
    opacity: 1;
    z-index: 1;

}

.card img {
    box-shadow: 0px 0px 5px 0px rgba(81, 81, 81, 0.47);
}

.servicio-aberturas {
    display: flex;
    flex-direction: row;
    background-color: #ea611c8c;

}

.servicio-muebles {
    display: flex;
    flex-direction: row;
    background-color: #18223c94;

}

.info-aberturas {
    width: 500px;
    background-color: #d3caca;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-aberturas h3 {
    text-align: center;
    font-size: 22px;
    line-height: 25px;
    font-family: 'DIN Next Bold';
    color: #18223C;
}
.info-aberturas h4 {
    text-align: center;
    line-height: 25px;
    font-family: 'DIN Next Bold';
    color: #18223C;
}

.info-aberturas p {
    text-align: center;
    line-height: 20px;
    font-family: 'DIN Next Medium';
    color: #18223C;
    font-size: 13px;
}


.aberturas-form {
    display: flex;
    flex-direction: column;
    padding: 30px;
    gap: 17px;
}

.form-horizontal {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 10px;
}

.form-horizontal label {
    color: #18223C;
    font-size: 15px;
    font-family: 'DIN Next Medium';
    margin-right: 10px;
    text-align: left;
}

.form-horizontal input,
.form-horizontal select {
    width: 150px;
    background-color: #18223C;
    color: #EA611C;
    font-family: 'DIN Next Medium';
    font-size: 14px;
    margin-right: 10px;
}

.aberturas-form button {
    width: 250px;
    border: solid 2px #EA611C;
    background-color: #ea611cb4;
    font-family: 'DIN Next Bold';
    font-size: 14px;
    color: #18223C;
    margin-top: 15px;
    padding: 5px 10px;
    align-self: center;
}

.linea-bottom-form1 {
    width: 330px;
    height: 0px;
    position: relative;
    top: -5px;
    left: 24px;
    border: 0.2px solid #EA611C;
}

footer {
    background-color: #18223C;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.info-footer {
    display: flex;
    flex-direction: column;
    padding: 20px 0px;
}

.info-footer p {
    text-align: right;
    color: #fff;
    line-height: 28px;
    transform: translateX(-153px);

}

.copyright {
    color: #fff;
    padding: 50px 30px;
}