:root{
    /*colores*/
    --background: #003C5B;
    --text: #FFFFFF;
    --naranja: #DD833A;
    --gris: #CCE1F4;
  
}
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    background-color: var(--background);
}
@font-face {
    font-family: 'AlegreyaSans-900';
    src: url("../assets/fonts/ALEGREYA/AlegreyaSans-ExtraBold.ttf");
}
@font-face {
    font-family: 'AlegreyaSans-800';
    src: url("../assets/fonts/ALEGREYA/AlegreyaSans-Black.ttf");
}
@font-face {
    font-family: 'SF Pro Display-800';
    src: url("../assets/fonts/SF-PRO/SF-Pro-Display-Heavy.otf"); 
}
@font-face {
    font-family: 'SF Pro Display-700';
    src: url("../assets/fonts/SF-PRO/SF-Pro-Display-Bold.otf");   
}
@font-face {
    font-family: 'SF Pro Display-500';
    src: url("../assets/fonts/SF-PRO/SF-Pro-Display-Medium.otf");   
}

html{
    font-size: 62.5%;
    font-family: 'SF Pro Display-700'
}
header{
    position: fixed;
    width: 100vw;
    height: auto;
    overflow: hidden;
    z-index: 1;
}

header .tdc-logo{
    position: absolute;
    width: 167px;
    height: 55px;
    margin-top: 13px;
    top: 0;
    left: calc(50% - 84px);
    background-color: transparent;
    z-index: 2;
}
.backgroundVideo{
    width: 100%;
    position: relative;
    max-width: 1000px;
    margin:  0 auto;
    padding-bottom: 56.25%;
}
.backgroundVideo iframe{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/*section2*/
.main-container{
    width: 90%;
    height: auto;
    min-width: 320px;
    margin: 0 auto;
    text-align: center;
    
}
.container--title{
    width: 100%;
    min-width: 288px;
    height: auto;
    margin: 27px auto 0;
    
}
.container--title h2{
    font-family: 'AlegreyaSans-900';
    font-size: 2rem;
    line-height: 24px;
    letter-spacing: 0.075em;
    color: var(--text);text-align: left;
}

.container--slider{
    display: flex;
    gap: 15px;
    height: auto;
    overflow-x: scroll;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
}
.container--slider::-webkit-scrollbar{
    display: none;
} 
.container--card{
    position: relative;
    width: 15vw;
    height: 15vh;
    min-width: 114px;
    min-height: 150px;
    margin: 11px auto 4px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(17, 17, 16, 0.16);
}
.container--card img{
    width: 100%;
    height: 100%;
    border-radius: 15px;
    object-fit:fill;
}

.overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: start;
    align-items: end;
    color: var(--text);
    background-color: transparent;
}
.overlay p{
    background-color: transparent;
    font-family: 'AlegreyaSans-800';
    font-size: 1.3rem;
    line-height: 101.5%;
    letter-spacing: 0.075em;
    text-align: left;
    padding: 5px;

}

.overlay p:hover{
    font-size: 1.8rem;  
}


.description{
    width: 90%;
    margin: 0 auto;
}
.description p{
    margin-top: 35px;
    color: var(--text);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.7rem;
    text-align: justify;
}


/*footer*/
footer{
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.container-footer{
    width: 90%;
    margin: 35px auto 20px;    
}
.container-footer ul{
    font-family: 'SF Pro Display-500';
    font-size: 1rem;
    font-style: normal;
    line-height: 15px;
    letter-spacing: 1px;
    list-style: none;
}
.container-footer li{
    color: var(--naranja);
    font-weight: 700;
}

.container-footer a{
    color: var(--text);
    text-decoration: none;
}
.decoration{
   display: flex;
   flex-direction: row;
   align-items: center;
   justify-content: center;
}
.line{
    flex-grow: 1;
    height: 4px;
    background-color: var(--text);
}
.social-icons{
    display: flex;
    justify-content: space-between;
    margin: 0 20px;
}
.social-icons a{
    margin: 0 15px;
}
.social-icons img{
    width: 24px;
    height: 24px;
}

/*trainig*/
.header-two{
    display: flex;
    width: auto;
    padding: 10px;
}
.back--icon{
    display: flex;
    width: 10vw;
    justify-content: center;
    align-items: center;
    
}
.logo{
    display: flex;
    width: 90vw;
    justify-content: center;
    align-items: center;
}
.logo img{
    width: auto;
    height: 10vh;
    object-fit: cover;
    background-repeat: no-repeat;
}
.back--icon a img{
    width: 30px;
    height: 30px;
}

/*section1*/

.section-trainig{
    width: 100vw;
    text-align: center;
}
.section-trainig h1{
    font-family: "AlegreyaSans";
    color: var(--gris);
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 3.2rem;
}
.mentor-container{
    width: 90vw;
    display: flex;
    gap: 20px;
    height: auto;
    margin: 0 auto 35px;
    overflow-x: scroll;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
}
.mentor-container::-webkit-scrollbar{
    display: none;
} 

.mentor-card{
    position: relative;
    scroll-snap-align: center;
    width: 20vw;
    height: auto;
}

.mentor-card img{
    width: 66px;
    height: 66px;
    border-radius: 50%;
    object-fit: cover;
}
.mentor-card p{
    color: var(--text);
    font-family: 'SF Pro Display-500';
    font-size: 1.4rem;
    text-align: center;
    line-height: 1.4rem;
    letter-spacing: 1px;
}

/*section2*/
.course-container{
    width: 90vw;
    height: auto;
    margin: 0 auto 35px;
}

.course-container--img{
    width: 90vw;
    height: 20vh;
    margin: 0 auto 11px;
}
.course-container--img img{
    width: 100%;
    height: 100%;
    border-radius: 30px;
    object-fit:fill;
}
.course-container--text{
    display: flex;
    width: 90vw;
    margin: 0 auto;
    flex-direction: column;
}

.course-container--text h2{
    font-family: 'AlegreyaSans-900';
    font-size: 2rem;
    color: var(--text);
    line-height: 2.4rem;
    letter-spacing: 0.1rem;
    text-align: center;
    margin-bottom: 15px;
}
.course-container--text p{
    font-size: 1rem;
    font-weight: 300;
    color: var(--text);
    line-height: 1.3rem;
    letter-spacing: 0.1rem;
    text-align:justify;
}
.course-container--text ul{
    margin-left: 30px;
    font-size: 1rem;
    line-height: 1.2rem;
    letter-spacing: 1px;
    text-align: left;
    color: var(--text);
}

.course-container--text li{
    margin-top: 5px;
}

/*dolores*/

.section-proyect{
    width: 100vw;
    text-align: center;
    overflow: hidden;
}
.section-proyect h1{
    font-family: 'AlegreyaSans-900';
    color: var(--gris);
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 3.2rem;
    line-height: 38px;
    letter-spacing: 1px;
}
.ProyectVideo{
    width: 100%;
    position: relative;
    max-width: 1000px;
    margin:  0 auto;
    padding-bottom: 56.25%;
}
.ProyectVideo iframe{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}


.section-det{
    width: 100vw;
    text-align: center;
}
.container-cartel
{
    position: relative;
    display: inline-block;
    width: 80%;
    margin-top: 40px;
    border-radius: 15px;
    margin-bottom: 25px;
    max-width: 500px;

}
.container-cartel img{
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 30px;
}
.container-cartel span{
    position: absolute;
    top: 11px;
    right: 12px;
    background-image: url('../assets/icons/x.svg');
    background-color: transparent;
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
}

.container-detail{
    width: 75%;
    height: 30px;
    margin: 0 auto;
    border: 1px solid var(--text);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.container-detail p{
    font-family: 'SF Pro Display-800';
    color: var(--text);
    font-size: 1rem;
    line-height: 12px;
    letter-spacing: 1px;
    background-color: transparent;
}

.detail{
    width: 33%;
    height: 70%;
    background-color: transparent;
    border-right: 1px solid var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
}
.detail:nth-child(1){
    width: 25%;
}
.detail:nth-child(2){
    width: 25%;
}
.detail:nth-child(3){
    width: 50%;
    border: none;
}
.detail p{
    color: var(--text);
    font-size: 1.1rem;
    background-color: transparent;
}

.proyect--text{
    width: 70%;
    margin: 0 auto;
    color: var(--text);
    text-align: left;
}
.proyect--text h1{
    font-family: 'AlegreyaSans-900';
    margin-top: 25px;
    padding-bottom: 5px;
    font-size: 2.4rem;
    line-height: 2.9rem;
    letter-spacing: 1px;
}

.proyect--text p:nth-child(2){
    font-family: 'SF Pro Display-500';
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.2rem;
    letter-spacing: 1px;
}

.proyect--text p:nth-child(3){
    font-size: 1.1rem;
    line-height: 1.3rem;
    letter-spacing: 1px;
}