/*This CSS is used on the index, credits, and 404 pages.*/

/*Same for all views*/
@font-face {
	font-family: "Kiwi Soda";
	src: url('/font/KiwiSoda.ttf')  format('truetype'),
	}

@font-face {
  font-family: basiic;
  src: url('/font/basiic.ttf')  format('truetype'),
  }

body {
  background: rgb(250, 244, 240);
  background-image: url("/img/gingham_pink.png");
  background-position: left top;
  background-attachment: fixed;
  background-repeat:repeat;
  font-family: basiic, "Courier New", monospace;
  font-size:1em;
  color: rgb(189, 56, 92);
  }

h1{
  font-family: "Kiwi Soda", "Courier New", sans-serif;
  font-size:3em;
  color: #700031;
  text-align:center;
  margin:auto;
}

h2{
  font-family: "Kiwi Soda", "Courier New", sans-serif;
  font-size:1.8em;
  color: rgb(112, 0, 49);
  text-align:center;
}

p ul{color:#bd385c; 
}

a{color: #bd50de;
} 

/*Desktop view*/

.centertext {
text-align: center; 
}

.years {
position:absolute;
width:fit-content;
bottom:5%;
left:35%;

}

.container {
  background-color: #faf4f0;
  border:10px double rgb(112, 0, 49);
  border-radius: 30px;
  position: relative;
  margin: 0 auto;
  width:800px;
  height:600px;
  margin-top:5px;
  }
  
.warnings {
  background: #ffffff;
  border:3px dotted rgb(112, 0, 49);
  border-radius: 10px;
  position: absolute;
  left: 15px;
  height:250px;
  width: 500px;
  }

.webrings {
  background: #ffffff;
  border: 3px dotted rgb(112, 0, 49);
  border-radius: 10px;
  float:right;
  position:relative;
  top:200px;
  left: -15px;
  height: 200px;
  width: 350px;
  }
  
.webrings img {
  border: 3px dotted rgb(112, 0, 49);
  margin: 0 auto;
  margin-left: -3px; /*border pushes it to the right otherwise*/
  }

/*Prevent image overflow*/  
.warnings img, .webrings img {
  max-width: 100%;
  height: auto;
  }
  
.enter {
  background-color: rgb(255, 217, 152);
  border: 10px double rgb(255, 153, 21);
  border-radius: 20px;
  padding: 0px 5px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  position:absolute; 
  bottom:100px;
  left:175px;
}

.webrating {
  margin: auto; 
  position: relative; 
  display: block; 
  height: 80px; 
  width: 225px;
}

.ringlinks {
  margin-left: 125px;
}

/*Mobile view*/
@media only screen and (max-width:550px) {
  .container {
    width: 90%;
    min-height: 900px;
    text-align:center;
  }

  .main {
    margin-left:15%;
    text-align:center;
    }
  .side {
    width:10%;
    text-align:center;}

    .warnings {
      height:33%;
      max-height:fix-content;
      width: 90%;
      text-align:center;
      }
    
    .webrings {
      height:25%;
      max-height:fix-content;
      width: 90%;
      top:35%;
      text-align:center;
      
      }

    .webrating {
      height: 20%; 
      width: 100%;
      position: relative;
      bottom:13px;
      left:20%;
    }

    /*Prevent image overflow*/  
    .warnings img, .webrings img {
      max-width: 100%;
      height: auto;
      }
      
    .enter {
      height:10%;
      position:relative;
      top: 36%;
      left:2%;
      text-align:center;
    }

    .years{
      left: 25%;
    }
    
    p ul a h1 h2 {
      text-align:center;
      margin:auto;
    }

    .ringlinks {
      margin-left: auto;
    }
  }


  
  
  
  
  
