*{
    margin: 0;
    cursor: url(../img/cursor.png), auto;
}

::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-track {
    background: white;
}

::-webkit-scrollbar-thumb {
    background: black;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    cursor: url(../img/cursorlink.png), pointer;
}

body{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-repeat: no-repeat;
    height: 100vh;
}

#top_bar{
    width: 100%;
    height: 60px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
}


#logo{
    width: 180px;
    height: 45px;
    text-align: center;
    background-image: url(../img/cgilpeiro_loop.gif);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#menu{
    display: flex;
    height: 100%;
    width: 300px;
    margin-right: 20px;
    flex-direction: row;
    font-family: 'Manrope', sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-size: .9em;
    align-items: center;
    justify-content: space-around;
}

#menu a:hover {
    border-bottom: solid black 1px;
    padding-bottom: 1px;
	opacity: 0.4;
}

.selected{
    border-bottom: solid black 1px;
    padding-bottom: 1px;
}

#playground_content{
    position: absolute;
    width: 95%;
    height:90%;
    margin-top: 60px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#content_left{
    width: 35%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#left_text{
    width: 100%;
    padding: 50px 0;
    font-family: 'Manrope', sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-size: 1.5em;
}

#left_grid{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.grid_item{
    width: 30%;
    height: 20vh;
    margin-bottom: 25px;
}

.grid_item img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: 2s;
}

.grid_item img:hover{
    border-radius: 40px;
    transition: .2s;
    cursor: url(../img/cursorlink.png), pointer;
}

.grid_item_selected img {
    border-radius: 40px;
    opacity: 0.5;
}

#content_right {
    width: 50%;
    height: 100%;
    position: relative;
}

.right_panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.right_panel.active {
    opacity: 1;
    pointer-events: all;
}

.right_text {
    height: 5vh;
    padding: 50px 0;
    font-family: 'Manrope', sans-serif;
    font-weight: 550;
    font-size: 1.2em;
}

.right_panel video {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    align-self: flex-start;
}


/*TABLET*/

@media only screen and (max-width: 1200px) {

    
}




@media only screen 
and (min-device-width : 500px) 
and (max-device-width : 1200px){
           
        
}


/*MOVIL*/

/*MOVIL*/

@media only screen and (max-width: 650px) {
    #top_bar{
        height: 100px;
    }

    #logo{
        width: 250px;
        height: 70px;
    }

    #menu{
        width: 400px;
        font-size: 1.6em;
    }

    #playground_content{
        flex-direction: column;
        height: auto;
        padding-bottom: 10vh;
    }

    #content_left{
        width: 100%;
        height: auto;
    }

    #left_text{
        font-size: 3em;
        padding: 30px 0;
    }

    #left_grid{
        gap: 10px;
    }

    .grid_item{
        width: 30%;
        height: 15vh;
    }

    #content_right{
        width: 100%;
        height: 70vh;
        margin-top: 5vh;
    }

    .right_text{
        font-size: 2.4em;
        padding: 30px 0;
    }

    .right_panel video{
        width: 100%;
        max-height: 55vh;
    }

    .grid_item img:hover{
    border-radius: 80px;
    transition: .2s;
    cursor: url(../img/cursorlink.png), pointer;
}

.grid_item_selected img {
    border-radius: 80px;
    opacity: 0.5;
}

#left_text{
    padding: 200px 0 200px 0;
}
}


@media only screen 
and (min-device-width : 100px) 
and (max-device-width : 650px){
    #top_bar{
        height: 100px;
    }

    #logo{
        width: 250px;
        height: 70px;
    }

    #menu{
        width: 400px;
        font-size: 1.6em;
    }

    #playground_content{
        flex-direction: column;
        height: auto;
        padding-bottom: 10vh;
    }

    #content_left{
        width: 100%;
        height: auto;
    }

    #left_text{
        font-size: 3em;
        padding: 30px 0;
    }

    #left_grid{
        gap: 10px;
    }

    .grid_item{
        width: 30%;
        height: 15vh;
    }

    #content_right{
        width: 100%;
        height: 70vh;
        margin-top: 5vh;
    }

    .right_text{
        font-size: 2.4em;
        padding: 30px 0;
    }

    .right_panel video{
        width: 100%;
        max-height: 55vh;
    }

    .grid_item img:hover{
    border-radius: 80px;
    transition: .2s;
    cursor: url(../img/cursorlink.png), pointer;
}

.grid_item_selected img {
    border-radius: 80px;
    opacity: 0.5;
}

#left_text{
    padding: 200px 0 200px 0;
}
}