/* color custom fzu #9c8685 */

body {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: Consolas, monaco, monospace;
    font-size:xx-large;
    overflow: hidden;
    background-color: #000000;
}

h1, p {
    background-color: rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    font-family: Consolas, monaco, monospace;
    font-weight: 100;
    border-radius: 10px;
    margin-bottom: -15px;
}

h2 {
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 12px;
    position: relative;
    z-index: 1;
    text-align: center;
    margin: 5px 0;
    color: white;
    font-family: Consolas, monaco, monospace;
    font-weight: 17;
    border-radius: 10px;
    font-size: medium;
}
.cloudy-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
  }

  .cloud {
    position: absolute;
    opacity: 0;
    font-size: 100px;
    transform: translateX(100%);
    color: yellow;
  }

.container{

    height: 180%;
    padding: 7%;
    border: 5px solid white;
    transition: 0.5s;
    padding: 0%;    
    margin-top: 10%;
    z-index: 1;
    position: relative;
    border-radius: 10px;
}
.menu_principal{
    width: 100%;
    height: 10%;
    background-color: #000000;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    z-index: 1;
}

.container_matieres{
    background-color: rgba(0, 0, 0, 0.4);
    padding: 10px;
    margin-top: 10%;
    margin-bottom: 10%;
    display: flex;
    color: #ffffff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
    border-radius: 10px;
}

.container_matieres a {
    text-decoration: none;
    
}

.matiere{
    color: #ffffff;
    padding: 0;
    display: flex;
    justify-content: center;
    text-decoration: none;
    text-align: center;
    z-index: 1;
    transition: 0.5s;
}

.matiere:hover{
    background-color: #cecece;
    cursor: pointer;
    transform: scale(1.1);
    transition: 0.2s;
    border-radius: 5px;
}

h1:hover{
    transform: scale(1.1);
    transition: 0.5s;
}

h2:hover{
    transform: scale(1.1);
    transition: 0.5s;
}

.container:hover{
    transition: 0.5s;
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.4);
}
canvas {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.2;
    width: 100%;
    height: 100%;
    z-index: -999;
  }

.footer {
    position: fixed;
    bottom: 5px;
    padding: 10px;
    padding-left: 15px;
    padding-right: 15px;  
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    text-align: center;
    z-index: 1;

    border-radius: 10px;
  }

.poly{
    color: rgba(0, 159, 227, 1);
}

.home_button{
    z-index: 1;
}

iframe{
    width: 90%;
    height: 40%;
    padding: 5%;
    border-radius: 10px;
}

.bgbody {
    font: 900 100px/0.65 system-ui;
    margin: 0;
    overflow: hidden;
    width: 110%;
  }
.bgspan {
    display: inline-block;
    text-indent: -2rem;
    position: relative;
  }

  #doodle {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    display: grid;
    grid-template-columns: repeat(15, 1fr);
    cursor: pointer;
    min-width: 100%;
    font-size: 60px; /* Adjust the font size as needed */
    color: #000; /* Adjust the color as needed */
    animation: spin-scale 10s infinite;
    opacity: 0.2;
  }
  span {
    display: inline-block;
    text-indent: -2rem;
    position: relative;
  }

  @keyframes spin-scale {
    0% {
      transform: scale(2) rotate(0deg);
      top: -20%;
      opacity: 0.1;
    }
    50% {
      transform: scale(3) rotate(180deg);
      top: 20%;
      opacity: 0.2;

    }
    100% {
      transform: scale(2) rotate(360deg);
      top: -20%;
      opacity: 0.1;
    }
  }

#title{
  margin-top: -5%;
  margin-left: 1%;

}

footer{
    font-size: 0.6em;
    text-align: center;
    margin-top: 12%;
    text-decoration: none;
    color: #ffffff;
}