@font-face {
    font-family: Benne;
    src: url(./fonts/benne/Benne-Regular.otf);
}

@font-face {
    font-family: HarryP;
    src: url(./fonts/harry_p/HARRYP__.TTF);
}

@font-face {
    font-family: MagicSchool;
    src: url(./fonts/magic-school/MagicSchoolOne.ttf);
}

@font-face {
    font-family: AfacadFlux;
    src: url(./fonts/Afacad_Flux/AfacadFlux-VariableFont_slnt\,wght.ttf);
}

*{
    font-family: AfacadFlux;
    font-weight: 460;
    color: white;
    font-size: 18px;
}

body{
    background-color: #252525 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

header{
    border-bottom: solid 1px rgba(255, 255, 255, 0.2);
    background: rgba(37, 37, 37, 0.75) !important;
    backdrop-filter: blur(8px);
    width: 100%;
    display: flex;
    flex-direction: row;
    top: 0;
    justify-content: center;
    z-index: 200;
    position: fixed;
}

nav{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0px ;
    width: 80%;
}

.title{
    font-family: HarryP;
    font-size: 34px;
}

.title-nav{
    font-family: HarryP;
    font-size: 24px;
}

.title-yellow{
    font-family: HarryP;
    font-size: 34px;
    color: #FFD600;
}

main{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

footer{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.content{
    width: 80%;
}

.btn-secondary{
    background-color: #414141 !important;
    border: none !important;
}

.btn-secondary:hover{
    background-color: #303030 !important;
    border: none !important;
}

.inverted{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #171717;
}

.banner{
    width: 290px;
    height: 650px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-repeat: no-repeat;
    background-size:cover;
}

.banner-pouf{
    background-image: url(./img/banner-poufsouffle.svg);
    height: 675px;
}
.banner-serd{
    background-image: url(./img/banner-serdaigle.svg);
    height: 695px;
}
.banner-serp{
    background-image: url(./img/banner-serpentard.svg);
    height: 665px;
}
.banner-gryf{
    background-image: url(./img/banner-gryffondor.svg);
    height: 715px;
}

.train{
    width: 100%;
    position: relative;
    z-index: 2;
}

.train-content{
    position: absolute;
    z-index: 20;
    bottom: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    width: 80%;
    height: 100%;
    margin-left: 10%;
}

.card-custom{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 32%;
}

.w-80{
    width: 80%;
}

.line{
    border-bottom: solid white 1px;
    width: 80%;
}

@media only screen and (max-width: 600px) {
    .desktop{
        display: none !important;
    }
  }