* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: "SF Title";
    src: url("/assets/fonts/SF-Pro-Display-Bold.otf");
}
@font-face {
    font-family: "SF Time";
    src: url("/assets/fonts/SF-Pro-Rounded-Medium.otf");
}
@font-face {
    font-family: "SF Regular";
    src: url("/assets/fonts/SF-Pro-Display-Regular.otf");
}
@font-face {
    font-family: "SF Semibold";
    src: url("/assets/fonts/SF-Pro-Display-Semibold.otf");
}

body {
    background-color: #e7e8ea;
    border: none;
    font-family: 'SF Regular';
}

.chronotype {
    position: absolute;
    width: 100vw;
    height: 100vh;
    background-image: url("images/Lundi.png");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

#aiguille {
    position: absolute;
	transform-origin: bottom center;
	top: calc(50vh - min(30vw, 30vh));
	left: calc(50vw - 0.5 * min(4vh, 4vw));
	height: min(30vh, 30vw);
	width: min(4vh, 4vw);
	background-color: none;
	/* border: 1px solid black; */
    /* transform: rotate(168deg); */
}
#ball {
    width: min(4vh, 4vw);
	height: min(4vh, 4vw);
	background-color: #e7e8ea;
	border-radius: min(4vh, 4vw);
	margin-top: min(2vw, 2vh);
	margin-left: 50%;
	transform: translateX(-50%);
	z-index: 99;
}

.indicator {
    position: absolute;
    z-index: 1;
    /* border: 1px solid blue; */
    width: min(35vh, 35vw);
    height: auto;
    top: calc(50vh + min(2.8vh, 2.8vw));
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    cursor: default;
}
#time {
    font-family: 'SF Time';
    font-size: min(10vh, 10vw);
    margin-bottom: min(-0.3vw, -0.3vh);
}
#date {
    font-family: 'SF Semibold';
    font-size: min(2.3vw, 2.3vh);
    margin-bottom: min(5vw, 5vh);
    color: #2e2e2e;
}
#activity {
    font-family: 'SF Regular';
    font-size: min(3vh, 3vw);
}

.select_period {
    position: absolute;
    bottom: 20px;
    left: 15px;
    z-index: 99;
}
.select_period select {
    appearance: none;
    font-family: 'SF Time';
    font-size: 1rem;
    width: 11rem;
    border: none;
    /* border: 2px solid lightgrey; */
    border-radius: 0.5em;
    background-color: white;
    background: url("images/up-arrow.svg") no-repeat right 0.8em center / 1.4em,
    linear-gradient(to left, rgba(255, 255, 255, 0.3) 3em, rgba(255, 255, 255, 0.2) 3em);
    color: #939598;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    box-shadow: 0 0 0.2em 0 rgba(0, 0, 0, 0.2);
    &:focus {
        outline: none;
    }
    option {
        color: #939598;
        background-color: rgb(224, 224, 224);
    }
}