@charset "UTF-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap');


html {
	scroll-behavior: smooth;
    height: 100%;
}
* {
	box-sizing: border-box;
	padding: 0rem;
	margin: 0rem;
}
body {
    font-family: "Cormorant Garamond", serif;
    font-size: 20px;
    color: #385000;
    font-style: normal;
    font-weight: 300;
    text-align: center;
    width: 100%;
    /*height: 100%;*/
}
header h1 {
    display: none;
}
header div.logo {
    width: 100%;
    padding: 1rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    -webkit-box-shadow: 60px 0px 60px 5px #8B9B8E;
    box-shadow: 60px 0px 60px 5px #8B9B8E;
}
header div.logo img {
    width: 550px;
}
main {
    height: 100%;
    padding-top: 1rem;
    padding-bottom: 8rem;
    padding-left: 1rem;
    padding-right: 1rem;
}
main h3 {
    font-size: 3rem;
}
#videoteca-gem {
    width: 350px;
}
main p {
    font-size: 2rem;
    font-style: italic;
}
a {
    text-decoration: none;
    color: #385000;
}
div.canal {
    font-size: 2rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem;
    -webkit-box-shadow: 10px 10px 20px 0px #8B9B8E;
    box-shadow: 10px 10px 20px 0px #8B9B8E;
    border-radius: 2rem;
    max-width: 40rem;
}
div.canal:hover {
    background-color: orange;
    color: white;
}
.contenidor-flex {
    display: flex;
    padding: 1rem;
}
.visor {
    flex: auto;
}
.visor iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
}
.llista {
    flex: initial;
    width: 15rem;
    margin-left: 2rem;
}
ul.videos li {
    padding-bottom: 1rem;
    list-style-type: none;    
}
ul.videos li span {
    display: block;
    font-weight: 600;
    font-size: 1.4rem;
    line-height: 1.5rem;
    padding-bottom: 0.5rem;
}
ul.videos li img {
    width: 100%;
}
.torna {
    margin-top: 1.5rem;
    padding: 2rem;
}
.torna a:link,
.torna a:visited {
    padding: 2rem;
    margin: auto;
    text-decoration: none;
    color: #385000;
    -webkit-box-shadow: 10px 10px 20px 0px #8B9B8E;
    box-shadow: 10px 10px 20px 0px #8B9B8E;
    border-radius: 3rem;
}
.torna a:hover {
    background-color: orange;
    color: white;
}
strong {
    font-weight: 600;
}

@media only screen and (max-width: 980px) {
    
    body {
        font-size: 60px;
    }
    header div.logo img {
        width: 100%;
    }
    main {
        padding-left: 4rem;
        padding-right: 4rem;
    }
    main p {
        font-size: 4rem;
    }
    main h3 {
        font-size: 6rem;
    }
    #videoteca-gem {
        width: 80%;
    }
    div.canal {
        font-size: 4rem;
        margin-top: 2.5rem;
        margin-bottom: 2rem;
        max-width: 100%;
    }
    .contenidor-flex {
        display: block;
        padding: 1rem;
    }
    .visor {
        flex: none;
    }
    .visor iframe {
        width: 100%;
    }
    .llista {
        flex: none;
        width: 100%;
        margin-left: 0rem;
    }
    ul.videos li {
        display: inline-block;
        width: 45%;
        padding-bottom: 1rem;
    }
    ul.videos li span {
        font-size: 3rem;
        line-height: 3.4rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}


