html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    margin-top: 1vh;
    background-color: black;
    color: white ;
    line-height: 1.5;
    letter-spacing: -0.02em;
    text-rendering: optimizelegibility;
    -webkit-font-smoothing: antialiased;
    text-size-adjust: 100%;
    font-family: Verdana, sans-serif;
    font-size: 1.75em;
}

.main {
    max-width: 80%;
    margin-left: 10% ;
    margin-right: 10% ;
    border-radius: 20px;
    /* background-color: black; */
}

img,
picture,
video {
  max-width: 100%;
}

h1 {
    text-align:left;
    font-size: 2em;
}

h1,p,ol,ul {
    margin-left: 10%;
    margin-right: 10%;
}

ul,ol  {
    margin-bottom: 0;
}

a {
  flex: 1;
  /* text-decoration: none; */
  text-align: center;
  line-height: 3;
  color: white;
}

.banner {
    background: #00000044 url(../img/background.webp);
    background-blend-mode: darken;
    background-clip: border-box;
    /* background-clip: content-box; */
    background-size: cover;
    background-repeat: no-repeat;
    /* montrer prioritairement la droite et le centre vertical de l’image */
    background-position: right center;

    height: 40vh;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    font-size: 80px;
    font-weight: bold;
    margin-bottom: 0;
}

.banner-logo-guess {
    position: absolute;
    /* logo sur la bordure de la banière */
    top: 30vh; 
    right: 10%;
}

img.logo-guess {
    height:15vh;
}

.social-networks { /* barre des logos réseaux sociaux */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: stretch;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 20px;
    margin-left: 10%;
    margin-right: 10%;
    gap: 3%;
}

img.logo-reseaux {
    max-width: 80px;
    max-height: 80px;
}

.footer {
    margin-top: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

@media screen and (width <= 684px) {
    body {
	margin-top: 0;
	font-size: 1em;
	
    }
    .main {
	max-width: 100%;
	margin: 0 ;
	border-radius: 0;
    }
    p {
	margin-top: 10px; 
   }
    .banner {
	background-size: cover;
	border-radius: 0;
	font-size: 50px;
	font-weight: bold;
	margin-bottom: 0;
    }
    .social-networks { /* barre des logos réseaux sociaux */
	flex-wrap: wrap;
	gap: 5%;
    }
    img.logo-reseaux {
	max-width:  50px;
	max-height: 50px;
    }
}
