@font-face {
    font-family: 'titulo';
    src: url('fuentes/fuenteCon.ttf') format('woff2');
    font-weight: normal;
    font-style: normal;
}

html,
body {
    width: 100%;
    height: 100%;
    background-color: #585858;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}

#shadow {
    width: 0px;
    height: 100%;
    box-shadow: 10px 2px 100px 100px #83838347;
    position: absolute;
}

nav {
    width: 20%;
    max-width: 150px;
    height: 80%;
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    flex-direction: row;
    margin: 10% 0;
}

nav ul {
    display: flex;
    flex-direction: column;
    height: 80%;
    margin: 20% 0;
    margin-left: 40px;
    padding: 0;
    list-style: none;
    font-family: Arial, sans-serif;
}

nav ul li {
    height: 25%;
    width: 100%;
    margin: 0;

}

nav ul li a {
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    align-content: center;
    overflow: hidden;
    text-decoration: none;
    height: 45px;
    transition: 0.5s;
}

nav ul li a:hover {
    text-decoration: underline;
    height: 85px;
    transition: 0.5s;
    background-color: rgba(65, 65, 65, 0.5);
}

nav ul li a i {
    font-size: 30px;
}

section {
    height: 100%;
    width: 340%;
    display: flex;
    flex-direction: row;
    overflow-y: hidden;
    justify-content: center;
    align-items: center;
}

.box {
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

#Inicio {
    background-image: url('../imagenes/fondoP.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#navInicio {
    width: 100%;
    height: 80px;
    background-image: url(../imagenes/logoByN.png);
    background-size: 20%;
    background-repeat: no-repeat;
    background-position: center;
}

#CET {
    background-color: rgb(63, 63, 63);
    overflow: hidden;
    display: flex;
    justify-content: start;
    position: relative;
    width: 100%;
    height: 100%;
}

#fondoAnimado {
    width: 500%;
    height: 400%;
    margin-left: -100%;
    margin-right: -300%;
    background-image: url(../imagenes/circulo_1.png);
    background-size: 10px;
    background-position: 0 0;
    animation: moveBackground 300s linear infinite;
    transform: rotate(30deg);
}

@keyframes moveBackground {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 100%;
    }
}

#CET h1 {
    font-size: 34px;
    font-weight: 800;
    position: relative;
    padding: 20px;
    background-color: rgb(43, 43, 43);
    color: rgb(226, 226, 226);
    right: 122px;
    top: -300px;
}

#companias {
    width: 80%;
    height: 100%;
    background-color: rgb(43, 43, 43);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#companias::before {
    content: '';
    position: absolute;
    left: -400px;
    /* Ajusta la distancia hacia el lado izquierdo */
    top: 50%;
    /* Centra el triángulo verticalmente */
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-right: 400px solid rgb(43, 43, 43);
    /* Triángulo de color */
    border-top: 2000px solid transparent;
    border-bottom: 0px solid transparent;
}

.compSection {
    width: 100%;
    height: 80%;
    color: whitesmoke;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.comp {
    width: 250px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 40px;
    border: 1px solid white;
    border-radius: 2px;
    padding: 10px 0;
}

.comp a {
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.comp img {
    width: auto;
    height: 30%;
    max-height: 80px;
    margin: 0 20%;
    overflow: hidden;
}

.comp p {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 10px;
    word-wrap: break-word;
    white-space: normal;
    text-align: center;
}

#leyenda {
    height: 20%;
}

#SN {
    width: 100%;
    height: 100%;
    background-color: whitesmoke;
    position: relative;
    display: flex;
    flex-direction: row;
}

#fondoSN {
    width: 40%;
    height: 100%;
    background-image: url(../imagenes/fondoSN.jpg);
    background-size: auto 100%;
    background-repeat: no-repeat;
}

#SNInfo {
    width: 60%;
    height: 100%;
    background-color: #c13355;
    box-shadow: 10px 2px 100px 100px #c13355;
    position: relative;
}
.text{
    width: 80%;
    height: 80%;
    margin: 10%;
    color: whitesmoke;
}
.text h1{
    text-align: center;
    font-family: titulo;
}
.text p{
    width: 100%;
    height: auto;
    margin: 0;
    padding: 10px;
    word-wrap: break-word;
    white-space: normal;
    text-align: center;
}
#CTN {
    width: 40%;
    height: 100%;
    justify-content: center;
    align-items: center;
    background-color: black;
    display: flex;
    flex-direction: column;
    position: relative;
}

#Contacto,
#redesSociales {
    width: 100%;
    height: 20%;
}

#corporativo {
    width: 100%;
    height: 50%;
}

.fSection {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.fSection ul {
    display: flex;
    flex-direction: row;
    width: 50%;
    margin: 0 25%;
    padding: 0;
    list-style: none;
    justify-content: space-between;
    align-items: center;
}

.fSection li {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}