/**
 * Header *********************************************************************************************************************************
 */
.class-info{
    margin:             5% 0 5% 0;
    text-align:         center;
    font-size:          1.5em;
}
.subtitle{color: #fa739d;}
.shape{background: #FFEAF1;}

#header{
    background-position:center 0px;
    background-size:    cover;
    background-repeat:  no-repeat;
    width:              100%;
    height:             100vh;
    position:           relative;
    text-align:         center;
}

#header-video{
    height:             100%;
    width:              100%;
    object-fit:         cover;
    position:           absolute;
    left:               0;
    right:              0;
    top:                0;
    z-index:            -1;
}

#header-nav-1{
    display:            block;
    position:           relative;
    top:                10%;
}

#header-nav-2{
    position:           absolute;
    bottom:             10%;
    left:               6%;
}

#header-nav-1 a, #header-nav-2 a{
    font:               normal 1.5vw "BodoniModa", "Trebuchet MS", Arial, Helvetica, sans-serif;
    color:              #fff;
    margin:             0 30px 0 30px;
    background:         linear-gradient(to top, #fff 2px, transparent 1px) no-repeat;
    background-size:    0 100%;
    transition:         background-size 0.3s;
    text-transform:     uppercase;
}
#header-nav-1 a:hover, #header-nav-2 a:hover{background-size:100% 100%;}

#header-nav-2 a{
    font:               normal 1.3vw "Nanito", "Trebuchet MS", Arial, Helvetica, sans-serif;
}

#header-title{
    position:           relative;
    color:              #fff;
    top:                30vh;
}

#header-title span:first-child{
    font:               normal 6vw "GreatVibes", "Trebuchet MS", Arial, Helvetica, sans-serif;
    display:            block;
    line-height:        10vh;
}

#header-title span:last-child{
    font-size:          3vh;
}

#header-arrow{
    width:              2%;
    position:           absolute;
    bottom:             5vh;
    animation:          anim-headerArrow 1s normal;
    animation-iteration-count: infinite;
    z-index:            5;
}
#header-arrow:hover{cursor: pointer;}

#header-shape-overlay{
    position:           absolute;
    width:              100%;
    height:             30%;
    bottom:             -15%;
    left:               0;
    overflow:           hidden;
}
#header-shape{
    position:           absolute;
    transform:          rotate(-5deg);
    width:              110%;
    height:             50%;
    top:                30%;
    left:               -1%;
    background:         #FFEAF1;
}


/**
 * Page class *********************************************************************************************************************************
 */
#class{background: #FFEAF1; padding-bottom: 10%; color: #643058;} 
#class-title{display: block;}
#class-title h1{
    font-size:          6vw;    
    background:         linear-gradient(to right, #e55e8b, #c837c2);
    background-size:    100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent; 
    -moz-text-fill-color: transparent;}
#class .shape{background: #fff url('../img/noise-texture-lighter.png');}

#teacher-wrapper{
    display:            flex;
    flex-direction:     row;
    flex-wrap:          nowrap;
    justify-content:    space-between;
}

.teacher-box{
    flex-shrink:        1;
    display:            grid;
    grid-template-columns:  repeat(2, 1fr);
    grid-template-rows:     repeat(3, 1fr);
    align-items:        center;
    text-align:         center;
}

.teacher-box:first-child{margin-right: 5%;}

.teacher-img{grid-area:  1 / 1 / 4 / 2;}
.teacher-name{grid-area: 1 / 2 / 2 / 3; font-size: 2em; text-align: left; color: #fa739d;}
.teacher-info{grid-area: 2 / 2 / 4 / 3; text-align: left;}

.teacher-img img{
    height:             15vw; 
    border-radius:      50%;
    border:             5px #FA739D solid;
}

.class-img-wrapper{
    width:              100%;
    text-align:         center;
    margin:             3% 0 3% 0;
}

.class-img-wrapper div{
    width:              20%;
    display:            inline-block;
    margin-right:       1%;
    overflow:           hidden;
    border-radius:      3px;
}

.class-img-wrapper div img{
    width:              100%;
    transition:         all .3s ease;
    border-bottom:      5px #643058 solid;
}

.class-img-wrapper div img:hover{transform: scale(1.3) rotate(-3deg);}

/**
 * Page show *********************************************************************************************************************************
 */
#show{background: #fff url('../img/noise-texture-lighter.png'); padding-bottom: 10%; color: #643058;} 
#show-title{float: right; margin-right: 10%;}
#show-title h1{
    background:         linear-gradient(to right, #e55e8b, #c837c2);
    font-size:          6vw;
    background-size:    100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent; 
    -moz-text-fill-color: transparent;
}
#show .class-info{margin-top: 15%;}
#show .shape{background: #fcf2f5;}

#next-show-wrapper{
    margin-bottom:      3%;
    display:            flex;
    flex-wrap:          wrap;
    justify-content:    space-around;
}
.next-show-box{
    /*display:            block;*/
    width:               47%;
    display:             grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    align-items:        center;
}
.next-show-poster{grid-area: 1 / 1 / 4 / 2;}
.next-show-name{grid-area: 1 / 2 / 2 / 3;}
.next-show-date{grid-area: 2 / 2 / 3 / 3;}
.next-show-info{grid-area: 3 / 2 / 4 / 3;}


.next-show-name{
    font:               normal 3em "GreatVibes", "Trebuchet MS", Arial, Helvetica, sans-serif;
    color:              #fa739d;
}
.next-show-date{font-size: 1.5em;}
.next-show-info{font-size: 1.3em;}
.next-show-info a{
    font:               normal 0.9em "Nanito", "Trebuchet MS", Arial, Helvetica, sans-serif;
    color:              #000;
    position:           relative;
    z-index:            1;

}
.next-show-info a span{
    display:            block;
    position:           absolute;
    width:              93%;
    height:             100%;
    top:                50%;
    left:               10%;
    background:         #30ffd2;
    z-index:            -1;
    transition:         left 0.3s ease;
}
.next-show-info a:hover span{left: 13%}

#show-wrapper{
    display:            flex;
    flex-wrap:          wrap;
    justify-content:    stretch;
}
.show-box{
    display:            grid;
    width:              48%;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    align-items:        center;
}
.show-poster{grid-area: 1 / 1 / 4 / 2;}
.show-info{grid-area: 1 / 2 / 2 / 3;}
.show-gallery{grid-area: 2 / 2 / 3 / 3;}
.show-description{grid-area: 3 / 2 / 4 / 3;}
.show-poster, .next-show-poster{
    text-align:         right;
    margin-right:       30px;
    overflow:           hidden;
}
.show-poster img, .next-show-poster img{
    width:              20vh;
    transform:          rotate(2deg);
    box-shadow:         0px 0px 4px 3px rgba(0,0,0,0.4);
    margin:             10px;
}
.show-info div:first-child{
    font:               normal 3em "GreatVibes", "Trebuchet MS", Arial, Helvetica, sans-serif;
    color:              #fa739d;
}
.show-info div:last-child{font-size: 1.2em; color: #69365d;}
.show-gallery{
    padding:            10px;
    border-radius:      5px;
    width:              100%;
    text-align:         center;
    color:              #fff;
    font-size:          1.2em;
    transition:         all 0.3s ease;
    background: #fa739d url('../img/noise-texture-lighter.png');
    box-shadow: 0px 4px 4px 1px rgba(0,0,0,0.2);
}
.show-gallery:hover{
    cursor:             pointer;
    transform:          scale(1.03);
}

/**
 * Page signup *********************************************************************************************************************************
 */
#signup{background: #fcf2f5; padding-bottom: 10%;} 
#signup-title{display: block;}
#signup-title h1{
    background:         linear-gradient(to right, #e55e8b, #c837c2);
    font-size:          6vw;
    background-size:    100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent; 
    -moz-text-fill-color: transparent;
}

#signup .shape{background: #fff url('../img/noise-texture-lighter.png');}

#class-wrapper{
    display:            flex;
    flex-direction:     row;
    flex-wrap:          wrap;
    justify-content:    space-between;
    margin-top:         8%;
}

.class-box{
    width:              32%;
    margin-bottom:      8%;
    position:           relative;
}
.class-box .age-smartphone{display: none;}
.class-box .age{
    background:         url('../img/pink.jpg');
    width:              120px;
    height:             120px;
    border-radius:      50%;
    display:            flex;
    align-items:        center;
    text-align:         center;
    justify-content:    center;
    font:               normal 1.7em "GreatVibes", "Trebuchet MS", Arial, Helvetica, sans-serif;
    color:              #fa739d;
    border:             2px #fff dashed;
    position:           absolute;
    top:                -90px;
    left:               10%;
    padding:            5px;
    box-shadow:         0px 0px 0px 7px #fcf2f5;
    transition:         all 0.3s ease;
}

.class-box .age:hover{
    transform:          rotate(6deg);
    border:             2px #bf3894 dashed;
}

.class-box .pdf{
    text-align: center;
    color:  #f6b6e7;
    margin-top: 10px;
}

.class-box .pdf{
    text-align: center;
    color: #f6b6e7;
    margin-top: 10px;
}

.class-box .pdf a{
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #f1beef, #f5ddeb);
    padding: 5px;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    z-index: 1;
    transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.class-box .pdf a::before, .class-box .age::before{
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        transparent 20%,
        rgba(241, 190, 239, 0.25) 30%,
        rgba(255, 255, 255, 0.9) 40%,
        rgba(241, 150, 235, 1) 50%,
        rgba(255, 255, 255, 0.9) 60%,
        rgba(241, 190, 239, 0.25) 70%,
        transparent 80%,
        transparent 100%
    );
    background-size: 250% 100%;
    animation: borderReflection 4.2s linear infinite;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    filter: blur(2px);
    pointer-events: none;
}

@keyframes borderReflection{
    from{
        background-position: 100% 0;
    }

    to{
        background-position: 0% 0;
    }
}

.class-box .pdf a:hover{
    transform: translateY(-2px);
    box-shadow:
        0 4px 12px rgba(241, 150, 235, 0.35),
        0 0 18px rgba(241, 190, 239, 0.35);
    filter: brightness(1.04);
}

.class-box .pdf a:active{
    transform: translateY(1px);
    box-shadow:
        0 1px 4px rgba(241, 150, 235, 0.25),
        0 0 8px rgba(241, 190, 239, 0.25);
    filter: brightness(0.98);
}

.class-box-info{
    width:              100%;
    background:         #fff url('../img/noise-texture-lighter.png');
    border-radius:      5px;
    padding:            12% 3% 3% 3%;
    font-size:          1.2em;
    box-shadow:         0px 6px 4px 1px rgba(0,0,0,0.2);
}

#signup .class-info{margin-bottom: 10%;}

#signup .subtitle{
    color:              #fa739d;   
}
#registration-form{
    text-align:         center;
    display:            flex;
    flex-wrap:          wrap;
    margin-bottom:      5%;
    justify-content:    space-between;
}
#registration-form a{
    background:         #fa739d;
    color:              #fff;
    font-size:          1.5em;
    padding:            10px 10px 10px 30px;
    transition:         all 0.3s;
    border-radius:      5px;
    position:           relative;
    width:              30%;
    margin-bottom:      20px;
}

#registration-form a span{
    position:           absolute;
    display:            block;
    top:                0;
    left:               0;
    width:              0%;
    height:             100%;
    background:         #bf3894;
    transition:         all 0.3s;
    padding:            10px;
    color:              rgba(255,255,255,0);
    border-radius:      5px;
}

#registration-form a:hover{
    box-shadow:         0px 3px 4px 1px rgba(0,0,0,0.3);
}

#registration-form a:hover span{
    width:              100%;
    color:              rgba(255,255,255,1);
}

#signup .class-img-wrapper{margin-bottom: -5%;}