@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    background: #111;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: white;
    margin: 0;
    padding: 0;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #222;
    margin-bottom: 4vh;
    height: 10vh;
    padding: 0 30px;
}

.title {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
}

.title ion-icon {
    font-size: 2rem;
}

.dark-mod {
    width: 40px;
    cursor: pointer;
}

.swiper {
    width: 100%;
    height: 86vh;
    display: flex;
    align-items: center;
}

.swiper-wrapper {
    height: 50vh !important;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #222;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.station_card {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.station_card h2,
p {
    width: 100%;
}

.libelle-station {
    text-transform: uppercase;
    font-weight: 300;
}

.adress {
    font-weight: 400;
    font-size: .95rem;
}

.ocean { 
    height: 5%;
    width:100%;
    position:absolute;
    bottom:0;
    left:0;
    background: #015871;
}
  
.wave {
    background: url(images/wave.svg) repeat-x; 
    position: absolute;
    top: -198px;
    width: 6400px;
    height: 198px;
    animation: wave 7s cubic-bezier( 0.36, 0.45, 0.63, 0.53) infinite;
    transform: translate3d(0, 0, 0);
}
  
.wave:nth-of-type(2) {
    top: -175px;
    animation: wave 7s cubic-bezier( 0.36, 0.45, 0.63, 0.53) -.125s infinite, swell 7s ease -1.25s infinite;
    opacity: 1;
}
  
@keyframes wave {
    0% {
        margin-left: 0;
    }
    100% {
        margin-left: -1600px;
    }
}
  
@keyframes swell {
    0%, 100% {
        transform: translate3d(0,-25px,0);
    }
    50% {
        transform: translate3d(0,5px,0);
    }
}

.temperature {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.temperature ion-icon {
    color: #0c667b;
}

.popup {
	position: absolute;
	width: 100%;
	height: 60vh;
	display: none;
	justify-content: center;
	align-items: center;
	overflow: hidden;
    padding: 50px 0;
    background: #222;
}

.station-title {
    position: absolute;
    top: 10px;
}

.main-popup {
	position: absolute;
	height: 60vh;
	width: 100%;
	z-index: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	transform: translateY(-100%);
}

.close-btn {
	border: .6px solid #222;
	padding: 2px;
	position: absolute;
	top: 5%;
	right: 1%;
	font-size: 2rem;
	cursor: pointer;
    z-index: 2;
	transition: .5s ease all;
}

.close-btn-dark:hover {
	background: white;
    color: #222;
}

.close-btn-light:hover {
	background: #222;
    color: white;
}

@keyframes slide-in {
	0% {
		transform: translateY(-100%);
	}
	100% {
		transform: translateY(0);
	}
}
@keyframes slide-out {
	0% {
		transform: translateY(0);
	}
	100% {
		transform: translateY(-100%);
	}
}

.wait {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.wait div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #007aff;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.wait div:nth-child(1) {
    left: 8px;
    animation: wait1 0.6s infinite;
}
.wait div:nth-child(2) {
    left: 8px;
    animation: wait2 0.6s infinite;
}
.wait div:nth-child(3) {
    left: 32px;
    animation: wait2 0.6s infinite;
}
.wait div:nth-child(4) {
    left: 56px;
    animation: wait3 0.6s infinite;
}
@keyframes wait1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes wait3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
@keyframes wait2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(24px, 0);
    }
}

.chart {
    display: inline-block;
    position: relative;
    width: 55%;
}

@media (min-width: 800px) and (max-width: 950px) {
    .chart {
        display: inline-block;
        position: relative;
        width: 70%;
    }
}

@media (min-width: 400px) and (max-width: 799px) {
    .chart {
        display: inline-block;
        position: relative;
        width: 90%;
    }
}

@media (max-width: 399px) {
    .chart {
        display: inline-block;
        position: relative;
        width: 100%;
    }
}