/* NEWS */

#news {
    sdisplay: none;
}

#news {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgb(20, 20, 20, 0.8);
    z-index: 200;
}

#news .container {
    position: static;
    width: 100vw;
    height: 100vh;
}

#news p {
    position: static;
    position: fixed;
    display: block;
    height: auto;
    width: 50%;
    margin: auto;
    margin-top: 15vh;
    margin-left: 15vw;
    text-align: center;
    padding: 5% 10% 5% 10%;
    line-height: 1.3;
    border: 3px solid white;
    border-radius: 10px;
    
    font-family: var(--main-font);
    font-size: calc(1.5rem + 1vw);
    sfont-size: 3rem;
    color: white;
    background-color: blue;
}

@media screen and (min-width:600px) {
    #news .container img#saint_valentin {
	position: static;
	display: block;
	height: 70%;
	width: auto;
	margin: auto;
	margin-top: 10%;
    }

    #news img#sortir {
	position: fixed;
	width: 5vw;
	height: 5vw;
	top: 5%;
	right: 5%;
    }
}

@media screen and (max-width:600px) {
    #news img#sortir {
	position: fixed;
	width: 10vw;
	height: 10vw;
	top: 5%;
	right: 5%;
    }
    
    #news .container img#saint_valentin {
	position: static;
	display: block;
	width: 90%;
	height: auto;
	margin: auto;
	margin-top: 30%;
    }
}

/* Barre Hippo-camp */

#hippocamp-search-widget-container {
    margin-top: 30px;
}

@media screen and (max-width:600px) {
    div#hippocamp-search-widget-container.bootstrap-iso {
        width: 96%;
        margin-right: auto;
        margin-left: auto;
    }
}

/* Index, intro aside */

#index {
    display: flex;
    flex-flow: row nowrap;
}

#intro {
    margin-right: 0.5em;
}

aside {
    font-family: var(--main-font);
    font-size: calc(0.6rem + 1vw);
    background-color: white;
    margin: 2em 4vw;
    margin-left: 0;
    padding: 1em 0.5em;
    border: 2px solid black;
    border-radius: 2em;
    
    width: 15vw;
    min-width: 180px;
    display: flex;
    flex-flow: column nowrap;
    border-radius: 2em;
    justify-content: space-around;
    align-items: center;
}

aside img, aside div {
    margin: 0.5em 0;
}

aside img {
    width: 70%;
}

aside a img {
    width: 100%;
}

@media screen and (max-width:600px) {
    #index {
	flex-flow: column nowrap;
    }

    #intro {
	margin: 2em 4vw;
    }
    
    aside {
	display: flex;
	flex-flow: column wrap;
	justify-content: space-around;
	align-items: center;

	margin: 0em 4vw;
	margin-bottom: 2em;
	width: 92vw;
	width: auto;
	height: 700px;
	border-radius: 2em;
    }
    
    aside a img{
	width: 80%;
	margin-left: 10%;
    }

    aside img {
	width: 30%;
    }
}

@media screen and (max-width:380px) {
    aside {
	flex-flow: column nowrap;
	height: auto;
    }
    aside img {
	width: 40%;
    }
}










/* Slideshow container */
.slideshow-container {
    position: relative;
    margin: auto;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

.slideshow-container p {
    position: absolute;
    top: 10vh;
    width: 100%;
    margin: 0 0 0 0;
    padding: 0;
    margin:auto;
    color: var(--color-txt);
    acolor: rgba(0, 150, 250, 1);
    acolor: white;
    line-height: 2.5;
    font-size: calc(3*(0.6rem + 1vw));
    atext-shadow: 2px 2px 4px rgba(0, 0, 0, 0.74);
    text-shadow: -2px 0 white, 0 2px white, 2px 0 white, 0 -2px white;
    atext-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
    text-align: center;
    font-family: "Permanent Marker", var(--main-font);
    afont-family: "Julee Regular", var(--main-font);
    font-variant: small-caps;
    aborder-bottom: 2px solid black;
    z-index: 11;
}

.slideshow-container p .etoile {
    font-size: calc(0.5*(0.6em + 1vw));
    color: yellow;
    text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
    font-family: var(--main-font);
}


.slideshow-container #logo {
    display: flex;
    flex-direction: row;
    flex-flow: row wrap;
    justify-content: space-around;
    align-content: center;
    align-items: center;
    position: absolute;
    width: 100%;
    aheight: 80px;
    bottom: 0vh;
    background-color: rgb(0, 0, 0, 0.5);
    background: linear-gradient(rgb(255, 255, 255, 0.2), rgb(0, 0, 0, 0.5));
    background: linear-gradient(transparent, black 80%);
    z-index: 10;
}

.slideshow-container #logo img {
    padding: 0.5em 1.5em;
}

/* Hide the images by default */
.mySlides {
    position: static;
    display: none;
    width: 100%;
    height: 90vh;
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .75}
  to {opacity: 1}
}

section:first-of-type h2 {
    margin-top: 0em;
}

