body {
  background: #ffffff url(https://grandatlas.neocities.org/fond.webp);
  background-repeat: repeat;
	background-size: 60%;
  color: #000;
  font-family: 'Times New Roman', sans-serif;
  font-size: 15px;
  overflow-x: auto; /*this was causing issues*/
}

body, * {
  -webkit-font-smoothing: none; /* Pour désactiver sur Webkit (Chrome, Safari) */
  -moz-osx-font-smoothing: grayscale; /* Pour Firefox sur Mac */
  font-smoothing: none; /* Deprecated mais parfois utile */
  text-rendering: geometricPrecision; /* Assure un rendu plus précis */
}

img {
  image-rendering: pixelated; /* Force un rendu pixellisé des images */
  -webkit-optimize-contrast: none; /* Pour forcer un affichage sans traitement */
  max-width:95%;
}

/*used on lists, such as the credits page*/

.biglist {
  font-size: 15px;
  text-align:left;}
  
.smalllist {
  font-size: 14px;
  text-align:left;
  margin-right:10px;}


/*used for landing page*/

.message { /*message box*/

margin: 0 0 auto;
  margin-top: 125px;
  margin-bottom: 20px;
  width: 400px;
  border: 3px #000 solid;
  border-radius: 15px;
  text-align: center;
  background: #fff;
  border-top: 4px #000 solid;
  }
  
.innerbox {
  /*message contents go in this one*/
  text-align:center;
  padding-bottom: 30px;
  padding-top: 30px;
  padding-left: 20px;
  padding-right: 20px;
  }
  
.weirdbox { /*big, contains - and x*/
  text-align: right;
  font-size:14px;
  text-decoration:none;
  max-height:40px;
  }
  
.message-title-short { /*box top/header line*/
  margin-right: -100px;
  float: left;
  margin-left: 0px;
  padding-left: 10px;
  padding-right: 300px;
  padding-top: 1px;
  padding-bottom: 5px;
  background: #000;
  text-align: left;
  color:#ffffff;
  margin-top: -1px;
  }
  
.message-title-long { /*box top/header line*/
  
  margin-right: -100px;
  float: left;
  margin-left: 0px;
  padding-left: 10px;
  padding-right: 250px;
  padding-top: 1px;
  padding-bottom: 5px;
  background: #000;
  text-align: left;
  color:#ffffff;
  margin-top:-1px;
  }
  
.weird {  /*boxes for - and x*/
    position: relative;
    top: -38px;
    padding-left: 2%;
    padding-right: 2%;
    padding-top: 1px;
    padding-bottom: 4px;
    display: inline-block;
    color: #ffffff;
    font-size: 21px;
  }
  
.weird a{
  color:#ffffff;
  text-decoration:none;}

.normal { /*buttons for message*/
  margin: 2%;
  margin-left: 2%;
  margin-right: 2%;
  padding: 1%;
  padding-left: 2%;
  padding-right: 2%;
  border-radius: 13px;
  background: #1894ca;
  display: inline-block;
  text-align: center;
  font-size:14px;
  color:#ffffff;
  }
  

a {
  color: #045086;
}

small {
  font-size: 10px;
  }

midsmall {
  font-size: 13px;
  }
  
  .box { /*main*/
  text-align:left;  
  margin: 0 auto;
  margin-top: 30px;
  margin-bottom: 40px;
  width: 900px;
  border: 3px #000 solid;
  border-radius: 15px;

  background: #fff;
  min-height:650px;
  border-top:4px #000 solid;
  }
  
  
  
.box-title { /*box top/header line*/

    margin-left: 0px;
    padding-left: 20px;
    min-width: 360px;
    padding-top: 8px;
    padding-bottom: 0px;
    background: #000;
    text-align: left;
    color: #ffffff;
    margin-top: -1px;
    height: 28px;
    border-radius: 10px 10px 0 0;
  }
  
  .side{
    margin:10px;
    margin-left:25px;
    width:150px;
    position:absolute;
    border: 0px solid #000;
    text-align: center;
    padding:5px;
    margin-top:30px;
    border-radius:5px;
    }
    
  .box-inner {
  /*normal*/
  text-align:left;
  padding-bottom: 30px;
  padding-top: 30px;
  margin-left:200px;
  padding-left: 20px;
  padding-right: 20px;
  }
    
    .footer {
      padding:10px;
      padding-top:25px;
      bottom:5px;
      text-align:center;
      }
  
  .sidecon { /*sidebar buttons*/
  background: #000;
  text-align: left;
  color:#ffffff;
    padding:10px;
    padding-top:7px;
    padding-bottom:7px;
    border-radius:5px;
    list-style-type:none;
    margin: 0 auto;
    margin-left:-35px;
    margin-right:5px;
    margin-top:15px;
    margin-bottom:15px;
    }
  .sidelist {
      list-style-type:none;
    }
  .sidecon a{
    color:#ffffff;
    }
  
  .subcon { /*currently unused*/
    text-align:left;
    margin-left:-50px;
    list-style-type:none;
    font-size:13px;
    }
    .subcon a {
      color:#111123;
    }
    
  .bar {
    text-align:center;
    margin-left:-10px;
    margin-top:25px;
    margin-bottom:25px;
    }
      
    .ramen {
      text-align:center;
      font-size:11px;
      margin:0 auto;
      margin-top:-15px;
      }
      
  .shift {
    margin-left:25px;}
    
    .songlist {
      font-size:14px;
      margin-left:25px;}
      
    .song {
      margin-left:0px;}
      
      
      .lyrics {
    font-size:13px;
    }
    
    .shift2 {
      margin-left:50px;}
    
    
    
    .word {
      letter-spacing:0.5px;
      min-width:160px;
      font-style:italic;
      display: inline-block;
      }
      
    .conlang-quote {
      font-style: italic;
      font-size: 17px;
      }      
      
       .boxvideo { /*main*/
  text-align:center;  
  margin: 0 auto;
  margin-top: 30px;
  margin-bottom: 40px;
  width: 800px;
  border: 3px #000 solid;
  border-radius: 12px;

  background: #fff;
  height:450px;
  }
      
      
        @media(max-width:950px) {
      .box {
        font-size:16px;
        width:700px;
        }
      .box-title {
        min-width:640px;
        }
        .bar img {
          max-width:350px;}
        .lyrics {
          font-size:14px;}
       .boxvideo { /*main*/
  text-align:center;  
  margin: 0 auto;
  margin-top: 30px;
  margin-bottom: 40px;
  width: 800px;
  border: 3px #000 solid;
  border-radius: 12px;

  background: #fff;
  height:450px;
  }
    }
    
    
    @media(max-width:750px) {
      .box {
        font-size:17px;
        width:550px;
        }
      .box-title {
        min-width:490px;
        }
      .box-inner {
        margin-left:140px;
        }
        .bar img {
          max-width:150px;}
        .side {
          font-size:15px;
          width:120px;
          margin-left:10px;
          }
        .lyrics {
          font-size:15px;
          }
        .word {
          min-width:140px;}
     .boxvideo { /*main*/
  text-align:center;  
  margin: 0 auto;
  margin-top: 30px;
  margin-bottom: 40px;
  width: 512px;
  border: 3px #000 solid;
  border-radius: 12px;

  background: #fff;
  height:360px;
  }
    }
    
    @media(max-width:600px) {
      .box {
        min-width:150px;
        max-width:480px;

        
        }
        .box-inner {
          margin-left:100px;
          }
      .box-title {
        min-width:85%;}
        .side {
          font-size:13px;
          width:90px;
          margin-left:1%;
          margin-right:1%;
          }
        .footer {
          padding-top:-5px;}
          
        .word {
          min-width: 130px;}
      }
      
       @media(max-width:490px) {
      .box {
        min-width:150px;
        max-width:360px;
     
        
        }
        .box-inner {
          margin-left:0px;
          }
      .box-title {
        min-width:85%;
        color:black;}
        .side {
          font-size:13px;
          width:90px;
          margin-left:1%;
          margin-right:1%;
          display:contents;
          padding:0;
          }
          ul {display:flex;
          width:95%;
          padding-left:10px;}
          .sidecon {margin:2px!important;}
          
        .footer {
          padding-top:-5px;}
          
        .word {
          min-width: 130px;}
        .boxvideo {
  text-align:center;  
  margin: 0 auto;
  margin-top: 30px;
  margin-bottom: 40px;
  width: 360px!important;
  border: 3px #000 solid;
  border-radius: 12px;

  background: #fff;
  height:360px;
  }
      }
      
   