:root {
    --page-height: 100vh;
}

@media (min-height: 800px) {
    :root {
        --page-height: calc(100vh + #{pageHeight}px);
    }
}

@font-face {
    font-family: fish1;
    src: url(../fonts/fisherman_3/Fisherman.ttf);
}

@font-face {
    font-family: fish2;
    src: url(../fonts/fisherman_4/Fisherman.ttf);
}

@font-face {
    font-family: fish3;
    src: url(../fonts/fisheye/Fisheye.ttf);
}

*{
    scrollbar-width: thin;
}

body {
    background-image: linear-gradient(to top, #1189c1, #ddf7ff);
    height: 100%;
}

#repartition{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
}

#repartition img{
    transition: transform 2s;
    z-index: 10;
}

#repartition img:hover{
    transform: scale(3);
    z-index: 10;
}

#calendar {
    height: 600px !important;
}

.container {
    position: relative;
    top: 0;
}

.bubble1 {
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-shadow: inset -7px -7px 15px rgba(255, 255, 255, 0.3), 5px 5px 3px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    animation: up 12s linear infinite;
    /* top: 3699px; */
    top: var(--page-height);
    /* left: 1000px; */
    left: 70%;
    z-index: 5;
}

.bubble1:after {
    content: "";
    position: absolute;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    width: 25px;
    height: 50px;
    left: 15px;
    top: 12px;
    transform: rotate(25deg);
    filter: blur(8px);
}

.bubble2 {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-shadow: inset -7px -7px 15px rgba(255, 255, 255, 0.3), 5px 5px 3px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    /* left: 800px; */
    left: 65%;
    /* top: 3799px; */
    top: var(--page-height);
    animation: up 16s linear infinite;
    z-index: 5;
}

.bubble2:after {
    content: "";
    position: absolute;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    width: 12.5px;
    height: 25px;
    left: 15px;
    top: 7px;
    transform: rotate(25deg);
    filter: blur(8px);
}

.bubble3 {
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-shadow: inset -7px -7px 15px rgba(255, 255, 255, 0.3), 5px 5px 3px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    /* left: 1200px; */
    left: 75%;
    /* top: 3899px; */
    top: var(--page-height);
    animation: up 5s linear infinite;
    z-index: 5;
}

.bubble3:after {
    content: "";
    position: absolute;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    width: 20px;
    height: 40px;
    left: 15px;
    top: 10px;
    transform: rotate(25deg);
    filter: blur(7px);
}

.bubble4 {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-shadow: inset -5px -5px 8px rgba(255, 255, 255, 0.3), 5px 5px 3px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    animation: up 7s linear infinite;
    /* left: 800px; */
    left: 65%;
    /* top: 3799px; */
    top: var(--page-height);
    z-index: 5;
}

.bubble4:after {
    content: "";
    position: absolute;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 10px;
    height: 8px;
    left: 7px;
    top: 5px;
    transform: rotate(25deg);
    filter: blur(5px);
}

.bubble5 {
    position: absolute;
    width: 90px;
    height: 90px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-shadow: inset -7px -7px 15px rgba(255, 255, 255, 0.3), 5px 5px 3px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    /* left: 350px; */
    left: 20%;
    /* top: 3799px; */
    top: var(--page-height);
    animation: up 13s linear infinite;
    z-index: 5;
}

.bubble5:after {
    content: "";
    position: absolute;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    width: 22px;
    height: 48px;
    left: 15px;
    top: 12px;
    transform: rotate(25deg);
    filter: blur(7px);
}

.bubble6 {
    position: absolute;
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-shadow: inset -7px -7px 15px rgba(255, 255, 255, 0.3), 5px 5px 3px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    /* left: 750px; */
    left: 65%;
    /* top: 3799px; */
    top: var(--page-height);
    animation: up 15s linear infinite;
    z-index: 5;
}

.bubble6:after {
    content: "";
    position: absolute;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    width: 22px;
    height: 48px;
    left: 15px;
    top: 12px;
    transform: rotate(25deg);
    filter: blur(7px);
}

.bubble7 {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-shadow: inset -7px -7px 15px rgba(255, 255, 255, 0.3), 5px 5px 3px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    /* left: 600px; */
    left: 50%;
    /* top: 3799px; */
    top: var(--page-height);
    animation: up 10s linear infinite;
    z-index: 5;
}

.bubble7:after {
    content: "";
    position: absolute;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    width: 12.5px;
    height: 25px;
    left: 15px;
    top: 7px;
    transform: rotate(25deg);
    filter: blur(8px);
}

.bubble8 {
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-shadow: inset -7px -7px 15px rgba(255, 255, 255, 0.3), 5px 5px 3px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    /* left: -100px; */
    left: 25%;
    /* top: 3899px; */
    top: var(--page-height);
    animation: up 8s linear infinite;
    z-index: 5;
}

.bubble8:after {
    content: "";
    position: absolute;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    width: 20px;
    height: 40px;
    left: 15px;
    top: 10px;
    transform: rotate(25deg);
    filter: blur(7px);
}

.bubble9 {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-shadow: inset -5px -5px 8px rgba(255, 255, 255, 0.3), 5px 5px 3px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    animation: up 17s linear infinite;
    /* left: 600px; */
    left: 50%;
    /* top: 3799px; */
    top: var(--page-height);
    z-index: 5;
}

.bubble9:after {
    content: "";
    position: absolute;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 10px;
    height: 8px;
    left: 7px;
    top: 5px;
    transform: rotate(25deg);
    filter: blur(5px);
}

.bubble10 {
    position: absolute;
    width: 90px;
    height: 90px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-shadow: inset -7px -7px 15px rgba(255, 255, 255, 0.3), 5px 5px 3px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    /* left: 950px; */
    left: 70%;
    /* top: 3799px; */
    top: var(--page-height);
    animation: up 3s linear infinite;
    z-index: 5;
}

.bubble10:after {
    content: "";
    position: absolute;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    width: 22px;
    height: 48px;
    left: 15px;
    top: 12px;
    transform: rotate(25deg);
    filter: blur(7px);
}

@keyframes up {
    100% {
        transform: translateY(-4000px);
    }
}

#carouselExampleSlidesOnly p,
#carouselExampleSlidesOnly h5 {
    text-shadow: 1px 0 #000, -1px 0 #000, 0 1px #000, 0 -1px #000, 1px 1px #000, -1px -1px #000, 1px -1px #000, -1px 1px #000;
}

#fede:hover {
    color: #c5c4c4 !important;
}

.mails {
    line-break: anywhere;
}

@media only screen and (max-width: 1200px) {
    #carouselExampleSlidesOnly {
        margin-top: 15vw !important;
    }

    #carouselExampleSlidesOnly .carousel-caption {
        bottom: -1.5rem !important;
        padding-bottom: -1.5rem !important;
    }
}

@media only screen and (max-width: 900px) {
    #carouselExampleSlidesOnly .carousel-caption {
        bottom: -2rem !important;
        padding-bottom: -2rem !important;
    }

    #carouselExampleSlidesOnly .carousel-caption p {
        font-size: 15px !important;
    }

    #carouselExampleSlidesOnly .carousel-caption h5 {
        font-size: 1rem;
    }
}

@media only screen and (max-width: 700px) {
    #carouselExampleSlidesOnly {
        margin-top: 20vw !important;
    }

    #journal {
        display: none;
    }
}

@media only screen and (max-width: 582px) {
    #carouselExampleSlidesOnly {
        margin-top: 25vh !important;
    }

    #carouselExampleSlidesOnly .carousel-caption {
        bottom: -2rem !important;
        padding-bottom: -2rem !important;
    }

    #carouselExampleSlidesOnly .carousel-caption p {
        font-size: 10px !important;
    }

    #carouselExampleSlidesOnly .carousel-caption h5 {
        font-size: 0.5rem;
    }

    .navbar-brand {
        font-size: 30px !important;
    }

    .offcanvas-title {
        font-size: 1.5rem !important;
    }

    #pollution {
        width: 20rem !important;
    }

    #dcal {
        width: 300px;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    #dcal iframe {
        transform: scale(0.55);
        margin-left: -120px;
        margin-right: -50vw;
    }
}