/*basic styles for the whole page and used to center most of the things without any additional styles in the body*/
body
{text-align:center;
font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
margin:auto;}

/*used to style the words written in each a for the navigation bar and used to fit everything in one row*/
nav a
{text-decoration:none;
color:rgb(255, 86, 114);
padding:10px 0;display:block;
float:left;
width:200px;
text-align:center;}
nav a:hover
{background-color:rgb(255, 180, 192);}

/*overflow hidden helps set the background color and gives height*/
nav
{background-color:rgb(250, 215, 234);
  overflow:hidden;}

/*Used to style the content for contact page black ones*/
.A6,.A5,.A9
{text-align:left;
text-decoration:none;
color:black;
margin:50px;}


/*table classical style*/
table,th,td
{
    border:rgb(255, 142, 155) 3px solid;
    border-collapse:collapse; 
    padding: 15px;
    background-color:rgb(255, 238, 247);
    margin:auto;
}
th
{color:rgb(255, 116, 213);}

/*Used to style contact pink ones*/
h2
{text-align:left;
margin:50px;
color:rgb(238, 130, 202);}

/*characters table width*/
.G2
{width:500px;}

/*characters table style*/
.G5,.G2
{font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
text-decoration:none;
color:rgb(255, 116, 202);}
.G2
{color:rgb(255, 145, 145);}

/*Used to style all the pink letters that are big for instance Characters*/
#C40, #A3,#B30,#C400
{padding:40px;
font-size:25pt;
color:rgb(255, 145, 222);
font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;}

/*basic settings for header, content*/
.header
{  background-color: rgb(255, 168, 168);
   text-align: center;
   font-size: 15px;
   color: white;
   width:100%;
 }
.content
{  background-color: rgb(255, 255, 255);
   text-align: center;
   font-size: 15px;
   width:100%;
 }

/*used to style the footer of all the pages*/
footer, footer a
{   width:100%;
    background-color: rgb(255, 158, 134);
    color: white;
    text-align: center;
text-decoration:none;
height:20px;}

/*Used to style the image on top of contact page*/
#myImg {
  cursor: pointer;
  transition: 0.3s;}
#myImg:hover {opacity: 0.7;}

/*White Sanrioland which is hyperlink to home page*/
#logo
{text-decoration:none;
color:white;}

/* The Modal (background) and this also helps resize the image that will later be displayed when clicked */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(255, 255, 255); /* Fallback color */
  background-color: rgb(255, 233, 233); /* helps give color to the background when the image is clicked */
}

/* Modal Content (image); helps resize the image that will later be displayed when clicked */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image; helps style the caption that says 'Sanrio Town' */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: rgb(255, 122, 200);
  padding: 10px 0;
  height: 150px;
  font-family: copperplate;
  font-size: 100px;
}

/* Add Animation */
.modal-content, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;}
/*helps the style on top of this function*/
@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}
@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: rgb(242, 146, 255);;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}
.close:hover,
.close:focus {
  color: rgb(255, 57, 123);
  text-decoration: none;
  cursor: pointer;
}

/*helps give the flip-box visibility*/
.flip-box {
    background-color: transparent;
    width: 300px;
    height: 200px;
    border: 1px solid #f1f1f1;
    perspective: 1000px;
margin:0 600px;
  }
  /*helps the inner side rotate properly and not litke upside down. Helps see the letters written on the other side clearly.*/
  .flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
  }
  
  /*when hoevered, you can see the other side*/
  .flip-box:hover .flip-box-inner {
    transform: rotateX(180deg);
  }
  

  /*flip box size and also it helps hide the other side from view*/
  .flip-box-front, .flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  
  /*flip box color*/
  .flip-box-front {
    background-color: rgb(255, 190, 235);
  }
  .flip-box-back {
    background-color: rgb(255, 249, 253);
    transform: rotateX(180deg);
  }



/*Used to style the message that gets displayed*/
#snackbar {
  visibility: hidden;
  min-width: 250px;
  margin-left: -125px;
  background-color: rgb(255, 162, 162);
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 30px;
  font-size: 17px;
}
/*animation for message appearing*/
#snackbar.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}
@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;} 
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {bottom: 30px; opacity: 1;} 
  to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

/*button for snackbar thing*/
#but1
{

border-radius: 5px;
background-color:rgb(255, 168, 197);
color:white;
border-color:violet;
padding:5px;
margin-bottom:15px;
}


