@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;500&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    font-family: 'Roboto';
    text-decoration-line: none;
}

:root{overflow-y: visible;}

body{background-color: #0f171e;}

.container {
    width: 100%;
    display: grid;
    grid-template-columns: 240px 100fr;
    grid-template-rows: 100vh;
    grid-template-areas:
            "a m";
}

.search-input{

    position: absolute;
    right: 60;
    top: 10px;
    border: none;
    padding: 12px;
    background-color: #1b2530;
    color: white;
    outline: 1px solid #437baf;
    z-index: 10;

}

.aside-compact{display: none;}
.aside-compact-icon{display: none;}

aside {
    grid-area: a;
    background: #1B2530;
    display: flex;
    flex-direction: column;
}

.aside-logo{
    margin: 30px auto 70px auto;
    width: 50%;
    min-height: 60px;
}

.aside-button{
    display: flex;
    align-items: center;
    background-color: #1B2530;
    width: 100%;
    font-size: 1.25rem;
    padding: 15px 0 15px 25px;
    color: #8197A4;
    border: none;
    flex-shrink: 0;
}

.aside-button i{
    width: 30px;
    margin-right: 20px;
}

.aside-button:hover{
    color: white;
    cursor: pointer;
}

#user-config{margin-top: auto;}

#user-config .fa-cog{

    margin-left: auto;

}

main {
    grid-area: m;
    background: #0F171E;
    padding: 80px 0 0 20px;
    overflow-y: visible;
}

.carousel-category{

    color: white;
    font-size: 20px;
    padding: 20px;

}


.container-carousel{
    --carousel-height: 130px;
    height: var(--carousel-height);
    display: flex;
    margin-bottom: 40px;
    width: 99%;
    position: relative;

}

.container-carousel-big{
    --carousel-big-height: 300px;
    height: var(--carousel-big-height);

}
 

.carousel{

    min-width: max(1000px, 100%);
    height: 100%;
    display: flex;
    justify-content: flex-start;

}

.arrow{
    width: 50px;
    height: var(--carousel-height);
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 25px;
    cursor: pointer;
    position: absolute;
}

.container-carousel-big .arrow{
    height: var(--carousel-big-height);
}

.next{
    right: 0;
}

.arrow i{display: none;}

.arrow:hover i{display: inline;}

.slider{
    
    height: 100%;
    width: 700%;
    position: relative;
    display: flex;
    transition: .1s all;
    flex-shrink: 0;

}

.slider section{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;

    
}

.container-carousel-big section{

    width: 100vw;
    height: 100%;
    display: flex;
    justify-content: space-between;

}

.titulo-carousel{
    width: 100%;
    height: 100%;
    background-color: #1b2530;
    color: black;
    background-size: 100% 100%;
    margin-left: 5px;
    border-radius: 3px;
    cursor: pointer;

}

/* Title visualization */

.title-visualization{

    width: 100%;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    z-index: 5;
    background-color: rgba(0, 0, 0, 0.801);
    display: none;

}

.title-visualization--centralizer{

    margin: 30px auto 30px auto;
    width: 60%;
    background-color: #181818;
    border-radius: 5px;
    margin: 20px 0 20px 0;
}

.title-section{

    width: 100%;

}

.title-preview{

    height: 500px;
    position: relative;
    overflow: hidden;
    cursor: pointer;

}

.overlay{

    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 3;
  
}

.iframe-div{

    position: relative;
    width: 300%;
    height: 100%;
    left: -100%;

}

.title-prev-video{

    min-width: 100%;
    min-height: 100%;

}

.title-basic-information{

    position: absolute;
    width: 100%;
    height: 50%;
    bottom: 0;
    background-image: linear-gradient(to top, #181818, rgba(255, 255, 255, 0));
    z-index: 4;
}

.title-basic--content{

    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding-left: 30px;
    
}

.title-basic--buttons{
    padding-top: 20px;
    width: 100%;
    display: flex;
}


.title-name{

    max-width: 300px;

}

.watch-button{
    
    margin-right: 10px;
    padding: 10px 0 10px 0;
    color: black;
    background-color: white;
    border: none;
    width: 140px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;

}

.watch-button:hover{

    background-color: rgb(223, 223, 223);
    cursor: pointer;

}

.watch-button i{

    color: black;
    margin-right: 10px;

}

.favorite-button{

    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.favorite-button:hover{

    background-color: rgba(14, 14, 14, 0.74);

}

.favorite-button i {

    color: white;

}

.title-detailed-information{
    color: white;
    height: 300px;
    display: flex; 
    position: relative;
    justify-content: space-between;
}


.title-detailed--section{
    color: white;
    width: 60%;
    height: 100%;
    padding: 10px 10px 0 40px;

}

.title-detailed--section div *{

    display: inline;

}

.title-detailed--section:nth-child(2){
    color: white;
    width: 40%;

}

.detailed-text{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 300px;
}

.green-highlight{

    color: #46d369;

}

.title-parental{
    color: white;
    width: 30px;

}

#title-description{

    font-size: 18px;
    line-height: 1.5em;
    color: white;
}

.title-about{

    height: 270px;
    padding: 0 40px 0 40px;
    color: white;

}


.title-about--header{
    color: white;
    font-size: 25px;

}


.title-about p:not(.title-about--header){
    color: white;
    font-size: 15px;

}

.grey-highlight{
    color: grey;

}

.title-info-inline *{
    color: white;
    display: inline-block;
    vertical-align: middle;

}

@keyframes title-visualization-increase{

    from{

        transform: scale(0, 0);

    }

    to{
       
        transform: scale(100%, 100%);

    }

}

@keyframes title-visualization-decrease{

    from{

        transform: scale(100%, 100%);

    }

    to{
       
        transform: scale(50%, 50%);
     

    }

}

@media(max-width:700px){

    .container-carousel-big{

        --carousel-big-height: 20vh;
    }
    
    aside{display: none;}
    
    .aside-compact{

        display: flex;
        align-items: center;
        width: 100%;
        height: 60px;
        position: absolute;
        z-index: 2;
        background-color: #1b2530;

    }

    .aside-compact-icon{

        position: absolute;
        display: inline-block;
        color: white;
        font-size: 25px;
        padding: 20px;
        cursor: pointer;

    }

    .aside-div-compact{

        display: flex;
        width: 240px;
        height: 100vh;
        position: absolute;
        z-index: 2;

    }
    .container{
        grid-template-columns: 100vw;
        grid-template-rows: 100vh;
        grid-template-areas: "m m";
    }
    main{padding: 100px 0 0 20px;}

    .next{right: 0;}
    
    .carousel-category{
        padding: 10px;
        margin: 0;
    }
    
}

@media(min-width:1500px){

    main{padding: 90px 0 0 20px;}

    .container-carousel{

        --carousel-height: 18vh;
    }

}