@font-face {
    font-family: 'Din';
    src: url('../fonts/DINPro-CondMedium.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Din';
    src: url('../fonts/DINPro-CondBold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: #1e1e1e;
    padding: 0px;
    margin: 0px;
    overflow-x: hidden;
}

.carousel {
    position: relative;
    z-index: 10;
}

.full-slide {
    background-color: #9795FB;
    padding: 0px;
    margin: 0px;
    width: 100%;
    min-height: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

h1.slide {
    font-family: 'Din', sans-serif;
    font-weight: bold;
    font-size: 10vw;
    line-height: 94%;
    color: white;
    margin-left: 15%;
    text-shadow: 4px 4px 0px rgba(32, 32, 32, 0.2);
}

h2.slide {
    font-family: 'Din', sans-serif;
    font-weight: normal;
    font-size: 10vw;
    line-height: 94%;
    color: white;
    margin-left: 15%;
}

.content-frame {
    padding-left: 10%;
}

.picture-frame {}

.scopri {}

.play {}

.pageAbout {
    //height:70vh;
    width: 95%;
    margin: auto;
    background-color: white;
}

.pageAboutRow {
    border-top: 24px solid #c1a9d9;
    margin: auto;
}

.txtdiv {
    color: white;
    //height: 70vh;
    padding-bottom: 10vh;
}

.picdiv {
    height: 100vh;
    background: url(https://images.unsplash.com/photo-1495791185843-c73f2269f669?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2731&q=80) no-repeat center center;
    background-size: 100%;
    overflow: hidden;
}

.dark {
    color: #1e1e1e;
}

.pAbout {
    font-weight: 500;
    font-size: 3vh;
    line-height: 100%;
    margin-left: 3vh;
}

h1.contattaci {
    font-family: 'Din', sans-serif;
    font-size: 5vh;
    font-weight: bold;
    margin-left: 10%;
    margin: 30px 0px 20px 10%;
}

header {
    position: relative;
    background-color: black;
    height: 100vh;
    min-height: 25rem;
    width: 100%;
    overflow: hidden;
}

header video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

header .container {
    position: relative;
    z-index: 2;
}

header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: 0.5;
    z-index: 1;
}

h1.display-3 {
    font-family: 'Din', sans-serif;
    font-weight: bold;
    font-size: 3.6em;
}

.button {
    outline: none;
    margin-top: 3vh;
    font-family: 'Din', sans-serif;
    font-weight: bold;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 24px;
    padding-right: 24px;
    color: white;
    background-color: transparent;
    border: 3px solid white;
    border-radius: 4px;
    transition-duration: 0.3s;
}

.button:hover {
    color: #1E1E1E;
    background-color: white;
    transition-duration: 0.3s;
}

.button:focus {
    outline: none;
}

a.button {
    text-decoration: none;
}

@media only screen and (max-width: 1024px) {
    header.corsi {
        background: url('../img/BoyDance.gif')black no-repeat center center scroll;
        background-size: cover;
    }
    header.insegnanti {
        background: url('../img/BoyDance2.gif')black no-repeat center center scroll;
        background-size: cover;
    }
    header.videoLogo {
        background: url('../img/videoLogo.gif')black no-repeat center center scroll;
        background-size: cover;
    }
    header video {
        display: none;
    }
}

.teamHead {
    margin-bottom: 24px;
}

.teamContainer {
    margin-bottom: 48px;
    text-align: center;
}

.allInsLink {
    color: white;
}

.allInsLink:hover {
    color: #669af0;
    text-decoration: none;
}

.card {
    overflow: hidden; //
}

.card:hover {
    background-color: Whitesmoke
}

.teamName {
    font-family: 'Din', sans-serif;
    font-weight: bold;
    color: #1E1E1E;
}

.card-text {
    font-family: 'Din', sans-serif;
    font-weight: normal;
}

.card {
    transition-duration: 0.4s;
}

.card:hover {
    transition-duration: 0.4s;
}

div.cardImage {
    height: auto;
    overflow: hidden;
}

img.card-img-top {
    transition-duration: 0.4s;
}

div.card:hover img.card-img-top {
    -webkit-transform: rotate(6deg) scale(1.2);
    /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: rotate(6deg) scale(1.2);
    /* IE 9 */
    transform: rotate(6deg) scale(1.2);
    /* Firefox 16+, IE 10+, Opera */
    transition-duration: 0.4s;
}

.divOrari {
    width: 100vw;
    height: 100vh;
    background-color: #1e1e1e;
    overflow-y: scroll;
}

.divOrari h2 {
    color: white;
}