*, *::after, *::before {
    box-sizing: border-box;
}

a:visited {
    color:#0D2044
}

a {
    color:#0D2044;
    cursor: pointer;
    text-decoration: none;
}

*{
    margin: 0;
	padding: 0;
	list-style: none;
	text-decoration: none;
	border: none;
	outline: none;
}
body {
    color: #0D2044;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    line-height: 18px;
}

#container {
    max-width: 85%;
    height: 100vh;
    display: grid;
    column-gap: 16px;
    row-gap: 8px;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(10, 1fr);
    margin: 0 auto;
    margin: 0 auto;
}

#imagenPortada {
    grid-row: 2 / 11;
    grid-column: 1 / 6;
    background-repeat: no-repeat;
    background-position: bottom;
    background-image: url(../images/imagen\ portada2.png);
    background-size: contain;
}
#imagenPortada img {
    max-width: 650px;
}

header {
    padding: 24px 0px;
    height: 100%;
    border-bottom: #E9B22B 1px solid;
    grid-column: 1 / 6;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}

footer#portada {
    position: fixed;
    bottom: 0;
    width: 85%;
    align-items: center;
    display: flex;    
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;

}

footer {
    grid-column: 1 / 4;
    align-items: center;
    display: flex;    
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 16px;
}

footer p, footer a {
    font-family: "lato";
    font-weight: 500;
    font-size: 0.8em;
    margin-left: 3px;
}

footer a {
    text-decoration: underline;
}

footer.amarillo {
    background-color: #E9B22B;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

footer.amarillo ul {
    margin-top: 20px
}

a#mail {
    display: inline;
    font-size: 16px;
    color: #0D2044;

}

p#contacto::before {
    content: '';
    background: url(../images/icons/email.svg);
    background-size: 24px 20px;
    padding-right: 24px;
    margin-right: 8px;    
}
    
h1 {
    text-align: center;
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 900;
    font-size: 3.5em;
}

#tagline {
    text-align: right;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    font-size: 1.4em;
    line-height: 70px;
}

#botonera {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
}

#botonera a {
    width: 20vw;
    padding: 4px 0px;
    border: solid 3px #E9B22B;
    border-radius: 30px;
}
#botonera a, #botonera p {
    text-align: center;
    padding: 0px;
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 900;
    font-size: 24px;
    color: #E9B22B;
    line-height: 40px;
}

#botonera a:hover {
    background-color: #E9B22B;
    color: white;
    transition: all 0.4s ease;
}

#socialIcons {
    display: flex;
    flex-wrap: wrap;
}

#socialIcons li a{
    display: inline-block;
    width: 46px;
    height: 46px;
    background-size: cover;
    background-repeat: no-repeat;
}

a#twitter, a#instagram, a#linkedin, a#imdb {
    margin-right: 8px;
    width: 48px;
    height: 50px;
    background-repeat: no-repeat;
}

a#twitter {
    background-image: url(/images/icons/twitter_amarillo.svg);
}

a#twitter:hover {
    background-image: url(/images/icons/twitter_azul.svg);
    
}
a#instagram {
    background-image: url(/images/icons/instagram_amarillo.svg);
}
a#instagram:hover {
    background-image: url(/images/icons/instagram_azul.svg);
}
a#linkedin {
    background-image: url(/images/icons/linkdin_amarillo.svg);
}
a#linkedin:hover {
    background-image: url(/images/icons/linkdin_azul.svg);
}
a#imdb {
    background-image: url(/images/icons/imdb_amarillo.svg);
}
a#imdb:hover {
    background-image: url(/images/icons/imdb_azul.svg);
}

p.linkAdria {
    font-size: 16px;
    color: #E9B22B;
    margin-left: 2px;
}

p.linkAdria a {
    font-size: 16px;
}
main {
    grid-row: 4 / 10;
    grid-column: 1 / 6;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: fit-content;
}

main.grid-bio {
    display: flex;
    grid-row: 4 / 10;
    grid-column: 1 / 4;
    align-content: space-between;
}

main.trabajosActriz.derecha {
    grid-column: 3 / 6;
}
main.grid-bio.derecha {
    grid-column: 3 / 6;
}

main.grid-bio.derecha li {
    list-style-type: disc;
    text-align: left;
}

main.grid-bio li {
    color: #0D2044;
    margin-left: 36px;
    margin-bottom: 8px;
    text-align: justify;
    font-size: 16px;
    font-family: "Lato";
    line-height: 130%;
}
main.grid-bio p {
    margin-top: 16px;
    margin-bottom: 24px;
    text-align: justify;
    font-size: 16px;
    font-family: "Lato";
    line-height: 150%;
}

main.grid-bio p:first-child {
    margin-top: 0px;
}

main.grid-bio p strong {
    font-size: larger;
    font-weight: 600;
}

main.trabajosActriz {
    grid-column: 1 / 4;
    text-align: justify;
}

p.formacionDestacada {
    font-weight: 700;
    color: #1f4181;
    font-size: larger;
}
p#contacto {
    margin-bottom: 24px;
}
#imagenLado {
    grid-row: 2 / 11;
    grid-column: 4 / 6;
    background-image: url(../images/imagen\ lado\ guionista.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#imagenLado.izquierda {
    grid-column: 1 / 3;
    background-image: url(../images/imagen\ lado\ actriz.png);
}

#botoneraSecundaria {
    grid-column: 1 / 4;
    grid-row: 3 / 4;
    gap: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;

}

#botoneraSecundaria.derecha {
    grid-column: 3 / 6;
}
#botoneraSecundaria a {
    width: 300px;
    padding: 4px 0px;
    border: solid 3px #E9B22B;
    border-radius: 30px;
    text-align: center;
    padding: 0px;
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    color: #E9B22B;
    line-height: 40px;
}


#botoneraSecundaria a:hover {
    background-color: #E9B22B;
    color: white;
    transition: all 0.4s ease;
}


ul#residencias {
    list-style-type: none;
    margin-bottom: 32px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    height: fit-content;
    justify-content: space-between;
}

main.grid-bio ul#residencias li {
    margin-left: 0px;
}

li#sgae a {
    margin-top: 16px;
    display: block;
    background-image: url(../images/logoSgae.svg);
    background-repeat: no-repeat;
    background-size: contain;
    height: 75px;
    width: 150px;
}

li#academiaCat a {
    margin-top: 16px;
    display: block;
    background-image: url(../images/Logo_bandera_negre.png);
    background-repeat: no-repeat;
    background-size: contain;
    height: 75px;
    width: 150px;

}

#botonera a.selected, #botoneraSecundaria a.selected {
    color: white;
    background-color: #E9B22B;
}

#botonera a.non-selected, #botoneraSecundaria a.non-selected {
    opacity: 0.5;
}

div#objetivo {
    margin-top: 24px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-around;
}

div#objetivo.trabajosActriz {
    display: inline-block;
    grid-column: 1 / 4;
}

div#objetivo.trabajosActriz p {
    margin-top: 16px;
}
div.tarjeta {
    position: relative;
    width: 300px;
    height: 415px;
    background-size: cover;
    background-position: 50%;
    border-radius: 42px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}


div.tarjeta h2 {
    color: white;
    padding: 8px 8px 8px 24px;
    background-color: #E9B22B;
    font-size: 20px;
    line-height: 24px;
}

div.tarjeta h3 {
    padding: 8px 8px 8px 24px;
    display: inline-block;
    color:white;
    background-color: #000000;
    width: 100%;
    font-family: "Lato";
    font-weight: 400;
    font-size: 16px;
}

div.tarjeta span {
    display: block;
    font-size: 3em;
    font-weight: 900;
    font-family: 'Lato';
    color: #E9B22B;
    position: absolute;
    bottom: 16px;
    right: 20px;
    cursor: pointer;
}
img.mini-imatge {

    width: 200px;
    height: 250px;
    object-fit: cover;
    border-radius: 21px;
    cursor: pointer;
    transition: 0.3s;
}
img.mini-imatge:hover {
    opacity: 0.7;
}

div#video-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
}

div.iframe-container {
    margin-top: 8px;
    position:relative;
}

iframe {
    border-radius: 15px;
}

#selectorTrabajos, #selectorGaleria {
    width: fit-content;
    margin-top: 16px;
    display: flex;
}

#selectorTrabajos input, #selectorGaleria input {
    appearance: none;
    margin-left: 16px;
    width: 20px;
	height: 20px;
	border: 2px solid #E9B22B;
	border-radius: 50%;
	background-clip: content-box;
	padding: 1px;
}

#selectorTrabajos input:checked, #selectorGaleria input:checked {
    background-color: #E9B22B;
}

#selectorTrabajos label, #selectorTrabajos label, #selectorGaleria label {
    color: #0D2044;
    display: inline-block;
    font-size: 16px;
    font-family: 'Lato';
    margin-left: 8px;
}

div#myModal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,1);
    z-index: 1;
}

div#containerImagen {
    position: relative;
    margin: 0 auto;
    width: fit-content;
}

div#myModal img#imgModal {
    margin: 60px auto;
    display: block;
    max-height: 85vh;

}
.close {
    color: #E9B22B;
    position: absolute;
    top: -32px;
    right: 32px;
    font-size: 48px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
  color: #ffedbe;
  text-decoration: none;
  cursor: pointer;
}

#tarjetaAmpliada {
    position: relative;
    margin: auto;
    width: 400px;
    height: 600px;
    margin-top: 80px;
    color: white;   
    display: flex;
    flex-direction: column;
    border-radius: 8%;
    border: white 2px solid;
    z-index: bottom;
}

#tarjetaAmpliada img {
    position: absolute;
    width: 400px;
    height: 600px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    opacity: 0.2;
    z-index: -3;
    object-fit: cover;
    border-radius: 8%;
}
#tarjetaAmpliada h2 {
    font-family: 'Poppins', sans-serif;
    padding: 8px;
    padding-left: 16px;
    width: 75%;
    line-height: 24px;
    background-color: #E9B22B;
    border-top-right-radius: 42px;
    border-bottom-right-radius: 42px;
}

#tarjetaAmpliada h3 {
    font-weight: bold;
    font-size: 18px;
    margin: 16px;
}

#tarjetaAmpliada h3:nth-last-child(2), 
#tarjetaAmpliada h3:nth-last-child(4) {
    font-family: 'Poppins' sans-serif;
    font-weight: 900;
}

#tarjetaAmpliada p {
    text-align: justify;
    font-size: 14px;
    line-height: 150%;
    margin: 8px 16px;
}

.btnDesplegar:hover,
.btnDesplegar:hover:focus {
  color:#ffedbe;
  text-decoration: none;
  cursor: pointer;
}

@media screen and (max-width: 1130px) {
    h1 {
        font-size: 2.5em;
    }
    #tagline {
        font-size: 1em;
    }
    #botoneraSecundaria {
        grid-column: 1 / 4;
    }
    #botoneraSecundaria a {
        width: 250px;
    }
}

@media screen and (max-width: 809px) {
    header {
        grid-row: 1 / 4;
    }
    #botoneraSecundaria {
        grid-row-start: 4;
    }
    main.grid-bio, main {
        grid-row-start: 5;
    }
    div.iframe-container {
        margin: 24px auto;
    }
    div#objetivo img {
        margin: 0 auto;
    }
}

@media screen and (max-width: 640px) {
    #container {
        width: 100%;
        display: block;
        height: 100vh;
    }   
    #imagenPortada {
        background-size: contain;
        background-position: top;
        background-image: url(../images/portadaPrimerPlano.png);
        height: 550px;
    }
    header {
        height: 300px;
        justify-content: flex-start;
        gap: 8px;
    }
    h1 {
        font-size: 2.5em;
    }
    #titulo {
        margin: 0 auto;
    }
    #botonera {
        margin: 0 auto;
        flex-wrap: wrap;
        flex-direction: column;
        gap: 8px;
    }
    #botonera a {
        width: 300px;
        font-size: 16px;
        padding: 8px;
        line-height: normal;
    }
    #botonera p {
        font-size: 18px;
        line-height: 24px;
    }
    footer#portada {
        width: 100%;
        justify-content: space-around;
        position: fixed;
        left: 0px;
    }
    div#imagenLado {
        display: none;
    }
    div#imagenLadoIzq{
        display: none;
    }
    main.grid-bio {
        grid-column: 1 / 6;
        grid-row-start: 6;
    }
    #botoneraSecundaria {
        margin-bottom: 24px;
        margin-top: 8px;
    }
    #botoneraSecundaria a {
        margin-top: 8px;
        width: 240px;
        font-size: 16px;
        padding: 8px;
        line-height: normal;
        
    }
    #objetivo {
        margin: 0 auto;
    }
    #tarjetaAmpliada {
        width: 100%;
        height: fit-content;
    }
    div#video-container {
            width: 100%;
            height: auto;
    }
    iframe {
        width: 400px;
        height: 225px;
    }
}

@media screen and (max-width: 450px) {
    iframe {
        width: 350px;
        height: 197px;
    }
    main {
        margin-bottom: 16px;
    }
    div#myModal img#imgModal {
        margin: 60px auto;
        display: block;
        height: auto;
        max-width: 320px;
    
    }

}

@media screen and (max-width: 400px) {
    iframe {
        width: 320px;
        height: 180px;
    }
    ul.selectorTrabajos {
        display: block;

    }
    li#academiaCat a {
        width: 100px;
        height: 50px;
    }
    
}

@media screen and (max-width: 360px) {
    #container {
        display: block;
        width: fit-content;
        margin: 0 auto;
    }

    h1 {
        line-height: 40px;
    }
    div#myModal, img#imgModal {
        max-width: 85vh;
    
    }
}



