:root {
    --color-primary: #733c9e;
    --color-gray: #dcdcdc;
    --color-black-black: #000000;
    --color-black: #333333;
    --color-text-gray: #999999;
    --color-li-grey: #fdc684;;
}

*{
    box-sizing: border-box;
}

body, html{
    font-size: 16px;
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
    font-family: 'Source Serif 4', serif;
}

header{
    background-color: var(--color-primary);
    display: flex;
    justify-content: center;
}

header a{
   display: block;
   width: 100%;
}

header a img{
    display: block;
    width: 100%;
 }

.doc{
    padding: 1.5rem;
    text-decoration: none;
    width: 25%;
    box-sizing: border-box;
}

.doc.video{
    cursor: pointer;
}

.doc > span{
    color: var(--color-primary);
}

.doc:hover{
    background-color: #3450932b;
    
}

.doc h2{
    font-size: 1.2rem;
    color: var(--color-primary);
    font-family: 'roboto', sans-serif;
}

.doc h2 span{
    font-size: 0.9rem;
    display: block;
    font-weight: 400;
    margin-bottom: 10px;
}

.doc p{
    color: #333;
    font-family: 'roboto', sans-serif;
    font-weight: 400;
}

.container{
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

.play{
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
}

section{
    padding: 5rem 1rem;
}

.flex{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

header .port-mb{
    display: none;
}

header .port{
    display: block;
}

.section-tl{
    background-color: var(--color-li-grey);
    background-image: url(../img/bg-videos.svg);
    background-repeat: no-repeat;
    background-position-x: left;
    background-position-y: 100px;
    margin-top: -160px;
}

.popup-video{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background-color: #000000c7;
    display: none;
}

.button{
    display: block;
    margin: 30px auto 50px;
    width: fit-content;
    background-color: #733c9e;
    padding: 10px 30px;
    text-decoration: none;
    color: #fff;
    font-family: roboto;
    position: relative;
    z-index: 10;
    cursor: pointer;
    font-family: 'roboto', sans-serif;
}

.popup-video.is-active{
    display: flex;
}

.img-doc{
    width: 100%;
    height: 190px;
    position: relative;
}

.description{
    display: flex;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 1rem;
    background-color: #733c9ee8;
    transition: all 0.2s;
    opacity: 0;
}

.doc:hover .description{
    opacity: 1;
}

.description p{
    font-size: 0.85rem;
    color: var(--color-gray);
}

.img-doc img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.poup-content{
    width: 90%;
    max-width: 900px;
    background-color: #fff;
    position: relative;
}

.video-responsive {
	height: 0;
	padding-bottom: 56.25%;
	width: 100%;
	position: relative;
}

.video-responsive iframe, .video-responsive object, .video-responsive embed {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

.close-popup{
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    z-index: 10;
    font-family: 'roboto', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer{
    background-color: var(--color-li-grey);
}

footer img{
    width: 100%;
    max-width: 600px;
    margin-top: -100px;
    /* background-color: #f00; */
    margin-bottom: -6px;
}

  @media (max-width: 768px) {
    .doc{
        width: 100%;
    }
    .animation{
        display: none;
    }

    header .port-mb{
        display: block;
    }

    header .port{
        display: none;
    }

    .lead {
        font-size: 1rem;
        text-align: center;
        width: 85%;
        margin: 60px auto;
    }

    .mb-logo{
        display: block;
        width: 100%;
        margin-top: 43px;
    }

    .actores {
        width: 78%;
        overflow-x: scroll;
    }

    .actor-link{
        margin-right: 2.5rem;
    }

    .flex {
        flex-direction: column;
        width: 90%;
        margin: auto;
        flex-wrap: wrap;
    }

    .popup-content {
        width: 90%;
    }

    .analisis-fip{
        width: 100%;
    }

    .nota-meto {
        align-items: flex-start;
        overflow-y: scroll;
        padding: 1rem;
    }

    .content-nota {
        width: 90%;
    }

    .indi{
        display: block;
        margin: auto;
        font-size: 0.8rem;
        text-align: center;
        width: 300px;
        background-color: #96d469;
    }

    .men-line-mb{
        position: relative;
        font-size: 14px;
        background-color: #96d469;
        width: 100%;
        display: block;
        margin-bottom: 10px;
        margin-left: 20px;
        padding-left: 5px;
    }

    .men-line-mb::before {
        content: '';
        position: absolute;
        top: 0;
        left: -17px;
        display: block;
        width: 0;
        height: 0;
        border-top: 9px solid transparent;
        border-right: 17px solid #96d469;
        border-bottom: 10px solid transparent;
        }
  }