@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");

* {
  box-sizing: border-box;
  text-decoration: none;
}

html {
  font: 400 100%/150% ubuntu, Helvetica, Arial, sans-serif;
  background-color: rgba(31, 92, 161, 0.363);
  color: blanchedalmond;
}

main {
  flex: 1;
}

.background {
  background-color: rgba(40, 78, 47, 0.5);
  margin: 1.2rem;
  border-radius: 0.5rem;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 56.6rem;
}

/* Page d'acceuil */

#logo img {
  padding-left: 2rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  height: 250px;
}

.cache-ecran {
  display: none;
}

#acceuil {
  text-align: center;
  font-size: 2rem;
  text-transform: uppercase;
  padding-top: 8rem;
  padding-left: 0px;
}

.about {
  width: 150px;
  height: 150px;
}

/* NAV index */

.menu {
  text-align: center;

  display: block;
}

ul {
  padding-left: 0px;
}

.menu ul,
nav ul {
  margin: 0;
  list-style: none;
  text-transform: uppercase;
  font-weight: 500;
}

@media screen and (min-width: 992px) {
  #fr {
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem;
    border-radius: 0.7rem;
    margin-right: 1rem;
    box-shadow: 10px 5px 5px rgb(0, 0, 0);
    color: rgb(255, 255, 255);
  }
  #en {
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem;
    border-radius: 0.7rem;
    margin-right: 1rem;
    box-shadow: 10px 5px 5px rgb(0, 0, 0);
    color: rgb(255, 255, 255);
  }
}

.menu ul li {
  display: inline;
  color: rgb(255, 255, 255);
}
.menu a:hover {
  border-radius: 0.7rem;
  margin: 0 0.5rem;
  transition: all 1s ease;
}

/* NAV general */
.menu-nav ul li {
  display: inline;
  margin: 0.3rem;
}

.menu-nav {
  margin: 0;
  list-style: none;
  text-transform: uppercase;
  font-weight: 500;
  text-align: end;
  padding: 0.7rem;
}

.menu-nave a:hover {
  border-radius: 0.7rem;
  margin: 0 0.5rem;
  transition: all 1s ease;
}

.menu-nav a:visited {
  color: white;
}

a {
  color: white;
}

a:active {
  color: white;
}

a:visited {
  color: white;
}

/* Contenu principal */

h1 {
  padding-left: 1.4rem;
}

h2 {
  padding-left: 1.4rem;
}

.slideshow h2 {
  padding-left: 1rem;
  font-weight: 800;
  text-align: center;
  font-size: 2rem;
}

p {
  padding-left: 1.4rem;
  max-width: 95%;
}

@media screen and (min-width: 992px) {
  .texte {
    padding-left: 10rem;
  }
}

.slideshow {
  border: 0.3rem solid rgba(0, 0, 0, 0.39);
  border-radius: 0.5rem;
}

.slideshow .image {
  display: block;
}

@media screen and (min-width: 992px) {
  .slideshow .image {
    display: flex;
    margin-left: 10rem;
  }
}

audio {
  width: 250px;
}

.audio {
  text-align: center;
  padding-bottom: 1rem;
}

img {
  border-radius: 0.5rem;
  max-width: 100%;
  max-height: 100%;
}

label {
  display: block;
}

input[type="text"] {
  width: 200px;
  height: 30px;
  padding: 5px;
}

p textarea {
  width: 150px;
  height: 30px;
  padding: 5px;
}

p textarea {
  width: 230px;
  height: 30px;
  padding: 5px;
}
.description {
  width: 250px;
  height: 300px;
}

@media screen and (min-width: 992px) {
  input[type="text"] {
    width: 150px;
    height: 30px;
    padding: 5px;
    box-shadow: 5px 5px 5px rgb(0, 0, 0);
  }

  p textarea {
    width: 300px;
    height: 30px;
    padding: 5px;
  }

  .description {
    width: 305px;
    height: 300px;
  }
}
textarea {
  box-shadow: 1px 5px 5px rgb(0, 0, 0);
}

input,
select,
textarea {
  border-radius: 0.3rem;
}

em {
  color: red;
}

/* A-propos */
.container {
  display: block;
}

.container img {
  max-width: 100%;
  height: 120px;
}

@media screen and (min-width: 992px) {
  .container img {
    max-width: 300px;
    max-width: 300px;
  }
  .container {
    display: flex;
  }
}

.container p {
  max-width: 90%;
}

figcaption {
  font-size: 0.7rem;
}

.a-propos {
  border: 0.3rem solid rgba(0, 0, 0, 0.39);
  border-radius: 0.5rem;
  margin-bottom: 0.1rem;
}

.file {
  width: 185px;
}
