/*
Theme Name: Stereo
Author: Andrew
Description: My first responsive HTML5 theme
Version: 1.0
*/

html, body{
    height:100%;
    margin:0;
    padding:0;
}

p,ul,h1,h2,h3,h4,iframe{
    margin:0;
}

body{
    background-image: url('/wp-content/themes/stereo/images/body-bg.png');
    background-size: 100% 100%;
    background-attachment: fixed;
}

div.container{
    width:100%;
    max-width:980px;
    margin:auto;
    box-sizing: border-box;
}

/* ============================================= */

#header{
    font-family: 'arian-lt-w20-light', sans-serif;
    padding-top:5px;
    font-size:18px;
    -webkit-font-smoothing: antialiased;
}

#header .logo{
    display:flex;
    justify-content: space-around;
}

#header .logo a img{
    display:block;
}

#header nav{
    margin-top:5px;
}

#header nav ul{
    list-style:none;
    margin:0;
    padding:0;
}

#header nav ul.level1{
    display: flex;
    justify-content: center;
    gap: 30px;
}

#header nav ul.level1 > li > a, #header nav ul.level1 > li > span{
    color: #fff;
    font-weight:400;
    text-decoration: none;
    line-height: 40px;
    display:block;
    height:100%;
    cursor:pointer;
    text-transform: uppercase;
}

#header nav ul.level1 > li:hover ul{
    display:block;
}

#header nav ul.level1 > li.active > a, #header nav ul.level1 > li:hover > a{
    color:black;
}

#header nav ul.level1 ul.sub-menu{
    display:none;
    position: absolute;
    background-color: rgb(47,46,46);
    width:360px;
    text-align: center;
    z-index:2;
    left: -50%;
    top: 100%;
}

#header nav li{
    position:relative;
}

#header nav ul.level1 li.hover ul.sub-menu{
    display: block;
}

#header nav ul.sub-menu > li > a{
    color: #fff;
    font-weight:400;
    text-decoration: none;
    line-height: 33px;
    display:block;
    height:100%;
}

#header nav ul.sub-menu > li.active > a, #header nav ul.sub-menu > li:hover > a{
    color:black;
}

#header #toggle-menu{
    display:none;
}

/* ============================================= */

main .content{
    color:#fff;
    font:normal normal normal 16px / 1.4em sarabun, sans-serif;
    -webkit-font-smoothing: antialiased;
    padding:30px 0;
}

main .content h2{
    font:normal normal bold 43px / 1.4em arian-lt-w20-light, sans-serif;
    margin-bottom: 30px;;
}

main .content p, main .content ul{
    margin-bottom: 15px;
}

main .content .iframe-content{
    width:100%;
    max-width:720px;
    text-align:center;
    margin-bottom:40px;
}

main .content .iframe-content iframe{
    width:100%;
    height:480px;
    background-color:#000;
    border:0;
    box-sizing: border-box;
}

main .content .iframe-content.youtube-short{
    width:100%;
    max-width:480px;
}

main .content .iframe-content.youtube-short iframe{
    height:270px;
}

main .content .iframe-content.center{
    margin-left:auto;
    margin-right:auto;
}

main .content .iframe-content h3{
    font: normal normal bold 18px/normal arian-lt-w20-light, sans-serif;
    margin-bottom:30px;
}

main .content ul{
    padding:0;
    list-style-position: inside;
}

main .content ul.with-border{
    padding-bottom:30px;
    border-bottom: 1px solid black;
}

main .content .center{
    text-align:center;
}

main#page .wp-block-embed {
    width: 100%;
    max-width: 720px;
    text-align: center;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
}

main#page iframe {
    width: 100%;
    height: 480px;
    background-color: #000;
    border: 0;
    box-sizing: border-box;
}

main .content hr {
    border-color: black;
    border-width: 1px;
    margin: 30px 0 15px 0;
}

main#page .wp-element-caption{
    font: normal normal bold 18px / normal arian-lt-w20-light, sans-serif;
    margin:0 0 30px 0;
}

/* ============================================= */

#home{
    height:100%;
    min-height: 985px;
}
#home .container{
    height:100%;
}

#home iframe{
    margin-top: 178px;
    height:505px;
    width:100%;
}

#home h2, #home .wp-element-caption{
    text-align:center;
    color: #fff;
    font-family: 'arian-lt-w20-light', sans-serif;
    font-size:22px;
    margin: 0;
}

/* ============================================= */

.grid#mixage{
    display: grid;
    grid-gap: 45px;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    margin:45px 0;
}

.grid#mixage p{
    display:none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height:100%;
    align-content: center;
    text-align: center;
    color: #fff;
    font: normal normal normal 20px / normal sarabun, sans-serif;
}

.grid#mixage div{
    position:relative;
    text-align: center;
}

.grid#mixage div:before{
    content: '\A';
    position: absolute;
    width: 100%;
    height:100%;
    top:0; 
    left:0;
    background:rgba(0,0,0,0.6);
    opacity: 0;
}

.grid#mixage div:hover:before, .grid#mixage div.active:before{
    opacity: 1;
}

.grid#mixage div:hover p,.grid#mixage div.active p{
    display:block;
}

.grid#mixage img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================= */

#spectacles .grey-box{
    width:100%;
    background-color: #2f2e2e;
    padding:55px 30px;
    box-sizing: border-box;
}

#spectacles .grey-box h1, #spectacles .grey-box h2{
    text-align:center;
    font: normal normal bold 60px / 1.4em arian-lt-w20-light;
    margin-bottom:70px;
}

#spectacles .content h2{
    font: normal normal bold 60px / 1.4em arian-lt-w20-light;
    margin:20px 0;
}

#spectacles .event{
    display: block;
    width: 100%;
    font:normal normal normal 16px / 1.4em sarabun, sans-serif;
    box-sizing: border-box;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid black;
}

#spectacles .event:last-of-type {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

#spectacles .event:hover .left .name{
    text-decoration: underline;
}

#spectacles .event a{
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
}

#spectacles .event .left{
    flex-grow: 1;
}

#spectacles .event .left .date{
    margin:0;
}

#spectacles .event .left .name{
    margin:0;
    font-size:26px;
    line-height: 39px;
}

#spectacles .event .right{
    border: 1px solid #000;
    padding: 10px 30px;
    border-radius: 100px;
    background-color:#942020;
}

#spectacles .artiste{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    border-bottom:1px solid rgb(85, 1, 32);
    min-height: 225px;
}
#spectacles .artiste.odd{
    flex-direction: row-reverse
}
#spectacles .artiste:last-child{
    border-bottom: 0;
}

#spectacles .artiste a{
    text-decoration: none;
}

#spectacles .artiste .liens{
    display: flex;
    gap: 40px;
}

#spectacles .artiste h4{
    font-family: "Maitree", serif;
    font-weight: bold;
    font-size: 60px;
    line-height: 60px;
    color: black;
}

/* ============================================= */

#service{
    background-color:#2f2e2e;
    color:black;
}
#service .second-header{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    height:381px;
}
#service .second-header > div{
    background-size: cover;
    flex: 1 1 30%;
    height: 100%;
    text-align: center;
    align-content: center;
    filter:grayscale(1);
}
#service .second-header > div.active{
    filter:grayscale(0);
}
#service .second-header > div.active a{
    font-weight:700;
}
#service .second-header > div:hover{
    filter:grayscale(70%);
}
#service .second-header .col1{
    background-image: url('/wp-content/themes/stereo/images/service/header1.jpg');
}
#service .second-header .col2{
    background-image: url('/wp-content/themes/stereo/images/service/header2.jpg');
}
#service .second-header .col3{
    background-image: url('/wp-content/themes/stereo/images/service/header3.jpg');
}
#service .second-header a{
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font:normal normal 400 22px / normal sarabun, sans-serif;
    margin:0;
    line-height:100%;
    -webkit-font-smoothing: antialiased;
    text-decoration: none;
    height: 100%;
    width: 100%;
    display: block;
    align-content: center;
    color: #fff;
    text-shadow: 0 0 black;
}

/* ============================================= */

#musique{
    background-color:#2f2e2e;
    color:black;
}
#musique .second-header{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    height:381px;
}
#musique .second-header > div{
    background-size: cover;
    flex: 1 1 30%;
    height: 100%;
    text-align: center;
    align-content: center;
    filter:grayscale(1);
}
#musique .second-header > div.active{
    filter:grayscale(0);
}
#musique .second-header > div.active a{
    font-weight:700;
}
#musique .second-header > div:hover{
    filter:grayscale(70%);
}
#musique .second-header .col1{
    background-image: url('/wp-content/themes/stereo/images/musicien/header1.jpg');
}
#musique .second-header .col2{
    background-image: url('/wp-content/themes/stereo/images/musicien/header2-v2.jpg');
}
#musique .second-header .col3{
    background-image: url('/wp-content/themes/stereo/images/musicien/header3.jpg');
}
#musique .second-header a{
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font:normal normal 400 22px / normal sarabun, sans-serif;
    margin:0;
    line-height:100%;
    -webkit-font-smoothing: antialiased;
    text-decoration: none;
    height: 100%;
    width: 100%;
    display: block;
    align-content: center;
    color: #fff;
    text-shadow: 0 0 black;
}

/* ============================================= */

#event{
    background-color: #2f2e2e;
    margin-bottom:25px;
}

#event .content{
    padding:50px 0;
}

#event h1{
    font: normal normal bold 40px / 1em arian-lt-w20-light, sans-serif;
    margin-bottom:25px;
}

#event h2{
    font: normal normal bold 30px / 1.4em arian-lt-w20-light, sans-serif;;
}

#event p{
    font: normal normal normal 16px / 1.4em sarabun, sans-serif;
}

#event p.sub-title{
    font-size: 18p;
}

#event iframe.map{
    width:100%;
    height:315px;
    background-color:#fff;
    margin-top:30px;
}

#event .share-buttons{
    display:flex;
    gap:30px;
}

#event .share-buttons a{
    color:#fff;
    text-decoration:none;
}

/* ============================================= */

#footer{
    background-color:rgb(47, 46, 46);
    color:#fff;
}

#footer .container{
    display: flex;
    justify-content: center;
    align-items: center;
    gap:10px;
}

#footer .logo{
    position:relative;
}

#footer .logo img{
    display:block;
}

#footer .info{
    margin-right:auto;
}

#footer .info a{
    color:#fff;
    text-decoration: none;
    display:flex;
    font:normal normal normal 18px / 1.4em sarabun, sans-serif;
}

#footer .info img{
    width:26px;
    margin-right:5px;
}

#footer .logo p{
    position:absolute;
    bottom:17px;
    left:17px;
    margin:0;
    font:normal normal normal 22px / 1.4em sarabun, sans-serif;
    -webkit-font-smoothing: antialiased;
}

#footer .social{
    margin-left:auto;
}

#footer .social ul{
    list-style:none;
    margin:0;
    padding:0;
    display: flex;
    gap:33px;
}

#footer ul li a img{
    display:block
}

#copyright .container{
    text-align:center;
}

#copyright .container p{
    letter-spacing: 0.05em;
    color: rgb(169,1,64);
    font:normal normal normal 14px / 1.4em sarabun, sans-serif;
    -webkit-font-smoothing: antialiased;
}