@import url('https://fonts.cdnfonts.com/css/rangile');
@import url('https://fonts.cdnfonts.com/css/perandory');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body
{
  background-color: #EFE9E7;
}

main 
{
  display: flex;
  flex-direction: column;
}
header
{
  display: flex;
  flex-direction: column;
  align-content: space-between;
  background-color: #37312F;
  justify-content: space-between;
  height: 80px;
}

header img
{
  width: 70px;
  margin: 15 40 10 60;
}

#naviheader
{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  width: 100vw;
}

nav ul
{
  display: flex;
  list-style: none;
  font-family: "Quicksand", sans-serif;
  padding-right: 60px;
}

nav ul li a 
{
  color: #EFE9E7;
  text-decoration: none;
  padding-left: 30px;
}

nav label 
{
    text-align: right;
    display: none;
    padding: 0.5em;
    line-height: 1.6em;
    align-self: center;
}

nav input[type='checkbox'], nav label {
    display: none;
}

nav ul li a:hover
{
  color: #D02536;
}

nav ul li a:active
{
  color: #FF1F3D;
}

#bar 
{
  background-color: #706E60;
  height: 3px;
  width: 100%;
}

.footer
{
  background-color: #37312F;
  max-width: 100%;
  width: 100%;
  height: 30px;
  position: fixed;
  bottom: 0;
  margin: 0;
  z-index: 7;
}

.footer p
{
  text-align: center;
  color: #706E60;
  padding-bottom: 6px;
  padding-top: 6px;
  font-family: "Quicksand", sans-serif;
  font-size: 10px;
}

/*header and footer styles end*/

#gallerytitle
{
  font-family: "Perandory", serif;
  text-decoration: none;
  color: #706E60;
  font-size: 30px;
  margin: 25 0 17 30;

}

#gallerynav
{
  display: flex;
  flex-direction: column;
}

#gallerynavtop
{
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-left: 60px;
}
#backbutton img
{
  width: 30px;
}

#backbutton img:hover
{
  content: url(../icons/arrow_hover.svg);
}

#backbutton img:active
{
  content: url(../icons/arrow_active.svg);
}

#gallerynavbot
{
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-left: 37px;
}

#vl
{
  background-color: #706E60;
  height: 60px;
  margin-left: 50px;
  margin-right: 47px;
  width: 3px;
}

#char-end ul
{
  display: flex;
  flex-direction: row;
  font-family: "Rangile", serif;
  list-style: none;
  margin: -17px;
}

.char-end
{
    text-decoration: none;
    margin-right: 40;
    color: #706E60;
    font-size: 32px;
    letter-spacing: 1px;
}

#char-end ul li a:hover
{
  color: #D02536;
}

#char-end ul li a:active, .char-end.active
{
  color: #FF1F3D;
}

/* for ending sectionnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn*/

#endlist
{
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  width: 100%;
  height: 100%;
  margin-top: 20px;
}

#endlist div 
{
  width: 220px;
  height: 55vh;
  overflow: hidden;
  margin-left: 1px;

}

#endlist img
{
  width: 24vw;
  height: 50vh;
  object-fit: cover;

}

#endlist img:hover
{
  filter: invert(20%);
}

#endlist img:active
{
  filter: saturate(300%);
}

#overlay1
{
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.7);
  cursor: pointer;
}

#overlay2
{
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.7);
  cursor: pointer;
}

#overlay3
{
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.7);
  cursor: pointer;
}

#overlayend
{
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
}

#endpic1
{
  height: 60vh;
  margin-bottom: 10px;
}

#endpic2
{
  height: 60vh;
  margin-bottom: 10px;
}

#endpic3
{
  height: 60vh;
  margin-bottom: 10px;
}

#overlayend h3
{
  font-family: "Perandory", serif;
  font-size: 180%;
  color: #FF1F3D;
  letter-spacing: 1px;
}

#overlayend p
{
  font-family: "Quicksand", sans-serif;
  font-size: 88%;
  color: #EFE9E7;
}

#endlist p
{
  font-family: "Quicksand", sans-serif;
  font-size: 85%;
  color: #D02536;
}

#endcontent
{
  display: flex;
  flex-direction: column;
}

#endcontent h2
{
  font-family: "Quicksand", sans-serif;
  font-size: 90%;
  letter-spacing: 1px;
  color: #706E60;
  margin: 10 0 0 55;
}

/* for ending sectionnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn end*/

.character-main
{
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100vw;
}

.char-select
{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 15 50;
}

.char-select ul 
{
  list-style: none;
  margin: 10px;
}

.char-select ul li 
{
  display: flex;
  flex-direction: column;
}

.char-select ul li img
{
  height: 80px;
  margin-bottom: 5px;
}

.char-select ul li img:hover
{
  filter: invert(20%);
}

.char-select ul li img:active
{
  filter: saturate(300%);
}

#displayer-paris
{
  display: block;
  flex-direction: column;
  align-content: center;
  width: 200px;
  height: 400px;
  margin: 15 100;
  align-items: flex-start;
}

#displayer-zel
{
  display: none;
  flex-direction: column;
  align-content: center;
  width: 200px;
  height: 400px;
  margin: 15 100;
  align-items: flex-start;
}

#displayer-millie
{
  display: none;
  flex-direction: column;
  align-content: center;
  width: 200px;
  height: 400px;
  margin: 15 100;
  align-items: flex-start;
}

#displayer-viviko
{
  display: none;
  flex-direction: column;
  align-content: center;
  width: 200px;
  height: 400px;
  margin: 15 100;
  align-items: flex-start;
}
#char-display p
{
  text-align: left;
  font-family: "Quicksand", sans-serif;
  font-size: 12.5px;
  width: 250px;
  color: #37312F;
  margin-top: 250px;
}

#char-display
{
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;
  height: 400px;
  margin: 30 auto;
}

#char-display h1
{
  z-index: -2;
  font-size: 140px;
  font-family: "Perandory", serif;
  letter-spacing: 3px;
  color: #706E60;
  margin-top: -400px;
}

#char-display h2
{
  z-index: -2;
  font-size: 140px;
  font-family: "Perandory", serif;
  letter-spacing: 3px;
  color: #D02536;
  margin-top: -400px;
}

#displaybg
{
  display: flex;
  z-index: -1;
  align-items: flex-end;
  height: 390px;
}

#displaybg img
{
  height: 250px;
  filter: contrast(80%);
}

#displayperson
{
  display: flex;
  margin-top: -400px;
}

#displayperson img
{
  height: 350px;
  margin-top: 65px;
}

.char-select ul li p
{
  font-family: "Quicksand", sans-serif;
  font-size: 85%;
  color: #D02536;
}
