@font-face {
    font-family: 'Satoshi';
    src: url('./data/Satoshi-Medium.otf');
}
@font-face {
    font-family: 'BarlowCondensed';
    src: url('./data/BarlowCondensed-Bold.ttf');
}

* {
    box-sizing: border-box;
    font-family: 'Satoshi', sans-serif;
}

body {
    margin: 0;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.section {
    width: 70vh;
	height: 87vh;
    position: relative;
    display: flex;
    flex-direction: column;
	overflow: hidden;
    background-image: radial-gradient(circle, #1d2f6f 40%, #060f33 90%);
    background-size: 100% 100%;
    box-sizing: border-box;
    border-radius: 20px;
    margin: 2vh;
    max-height: 200vw;
}

#welcome-img {
    position: relative;
    top: 8%;
    margin: 2%;
}

#welcome-gif {
    position: relative;
    top: 10%;
    height: 50%;
    object-fit: contain;
    margin-top: -20%;
    margin-bottom: -7%;
}

#welcome-mascottes {
    position: relative;
    top: 10%;
    margin: 4%;
}

.button-double {
    background: url("./data/fond bouton.png");
    background-size: 100% 100%;
    border: none;
}

.button-simple {
    mask-image: url("data/fond bouton.png");
    mask-size: 100% 100%;
    border: none;
}

@media (hover: hover) {
    .scale-on-hover:hover {
    	transform: scale(1.1);
    }
}

.button-home-start {
    position: relative;
    width: 20%;
    height: 5%;
    top: 14%;
    align-self: center;
    color: #1d2f6f;
    font-size: min(2vw, 1.6vh);
    background-color: #facc0d;
}

.button-pre-start {
    position: relative;
    width: 15vh;
    height: 5vh;
    bottom: 7%;
    align-self: center;
    color: #1d2f6f;
    font-size: min(2vw, 1.6vh);
}

.button-pre-content {
        left: 3.5%;
    top: 8%;
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 2cqb;
    color: #1d2f6f;
    mask-image: url("./data/fond bouton.png");
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
    background-color: #77c4d8;
}

#bronchoquiz-logo-prog {
    position: absolute;
    top: 2%;
    margin: 4%;
    width: 92%;
    object-fit: contain;
}

.explanation-text {
    position: absolute;
    width: 92%;
    left: 4%;
    height: 15.5cqh;
    top: min(29cqw, 18cqh);
    object-fit: contain;
}

#prog-mascotte {
    height: 23%;
    position: relative;
    align-self: center;
    z-index: 1;
    bottom: 7%;
}

#prog-title {
    position: relative;
    width: 100%;
    background-color: #facc0d;
    text-align: center;
    font-size: 2cqb;
    font-weight: bold;
    color: #1d2f6f;
    padding: 2%;
    bottom: 11%;
}

#prog-title-path {
    position: relative;
    width: 100%;
    height: 4%;
    background-color: #facc0d;
    bottom: 12%;
    clip-path: polygon(50% 100%, 45% 0, 55% 0);
    margin-bottom: -3%;
}

#prog-mascottes {
    height: 30%;
    object-fit: contain;
    bottom: 11%;
    position: relative;
}

#alv-pre-title {
    position: relative;
    width: 100%;
    background-color: #facc0d;
    text-align: center;
    font-size: 2cqb;
    font-weight: bold;
    color: #1d2f6f;
    padding: 2%;
    bottom: 16%;
}

#alv-pre-title-path {
    position: relative;
    width: 100%;
    height: 4%;
    background-color: #facc0d;
    bottom: 17%;
    clip-path: polygon(50% 100%, 45% 0, 55% 0);
    margin-bottom: -3%;
}

#alv-pre-mascotte {
    height: 30%;
    object-fit: contain;
    bottom: 14%;
    position: relative;
}

.header {
    position: relative;
    min-width: 100px;
    align-self: center;
    font-weight: bold;
    font-size: max(2.2vw, 11.25px);
    text-align: center;
    color: #e83c5a;
    background-image: url(./data/notch.png);
    background-size: 100% 100%;
    aspect-ratio: 252 / 34;
}

.footer {
    background-color: #facc0d;
    position: absolute;
    height: 10%;
    width: 100%;
    bottom: 0;
    display: flex;
    justify-content: center;
}

/* Main layout */
.content {
	position: relative;
	height: 60%;
	flex: 1;
}

#bronchoquiz-logo {
    position: relative;
    left: 1%;
    top: 2%;
    width: 30%;
}

.question {
    width: 94%;
    height: 60%;
    top: 3%;
    left: 3%;
    position: relative;
}
.question-box {
    height: 50%;
    position: relative;
    background-image: url("./data/fond questions.png");
    background-size: 100% 100%;
}

.question-title {
    width: 75%;
    left: 12%;
    top: -6%;
    font-size: 4cqb;
    font-weight: bold;
    line-height: 90%;
    color: #1d2f6f;
    position: absolute;
    text-align: center;
    text-shadow: 0.25cqb 0.25cqb 2px #fff, -0.25cqb 0.25cqb 2px #FFF, -0.25cqb -0.25cqb 0 #FFF, 0.25cqb -0.25cqb 0 #FFF;
    font-family: 'BarlowCondensed', sans-serif;
}

.question-title span {
    color: #facc0d;
}

.question-text {
    width: 100%;
    top: 38%;
    font-size: 1.8cqb;
    line-height: 1.3;
    color: #1d2f6f;
    position: relative;
    text-align: center;
    font-weight: bold;
    padding: 0 5% 5% 5%;
}

.image-box {
    width: 97%;
    height: 34.4%;
    top: -6%;
    left: 1%;
    position: relative;
    background-image: url("./data/cartouche images.png");
    background-size: 100% 100%;
    mask-image: url("./data/cartouche images.png");
    mask-size: 100% 100%;
}

.question-image {
    width: 100%;
    height: 100%;
}

/* Answers */
.answers {
    position: relative;
    width: 100%;
    top: -9%;
    height: 42%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3%;
}

.answer {
    position: relative;
    display: flex;
    height: 15%;
    left: 5%;
    width: 60%;
    background-image: url("./data/fond choix lettre colored.png");
    background-size: contain;
    background-repeat: no-repeat;
}

.answer-letter {
    left: 1.5%;
    top: 8%;
    width: min(9vw, 4vh);
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 2cqb;
    color: #1d2f6f;
    mask-image: url("./data/fond choix lettre colored.png");
    mask-size: contain;
    mask-repeat: no-repeat;
    background-color: red;
}

.answer-text {
    font-size: 1.5cqb;
    color: #1d2f6f;
    left: 2%;
    width: 100%;
    height: 100%;
    position: relative;
    background-color: white;
    border-radius: 0.6cqh;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding: 2% 4%;
}

#alveoles_answer_img {
    position: absolute;
    width: 30%;
    right: 0;
}

.button-next {
    position: relative;
    width: 20%;
    height: 50%;
    align-self: center;
    color: white;
    font-size: min(4cqw, 2cqh);
    border: none;
    border-radius: 6px;
    background-color: #1d2f6f;
}