* {
    box-sizing: border-box;
}

@font-face {
    font-family: Pretendard JP;
    src: url(/fonts/pretendard-jp.ttf);
}

@font-face {
    font-family: BIZ UDPGothicBold;
    src: url(/fonts/biz-udpgothic-bold.ttf);
}


:root {
  --light-1: #faf6fe;
  --light-1-t: #faf6fe80;
  --light-3: #ead7fd;
  --base: #ab5eee;
  --base-t: #ab5eee80;
  --dark-3: #6d28a1;
  --dark-5: #3c0c5f;
}

main.meri-index {
    width: 1300px;
    height: 1000px;
    color: var(--dark-3);
    text-align: center;
    background: linear-gradient(var(--light-3), var(--light-1), white);
    border-radius: 10px;
    padding: 20px;
    display: grid;
    grid-template-columns: 22.5% 45% 30%;
    gap: 10px;
    margin: auto;
    animation: myAnimation 1s ease;
    justify-content: center;
    align-items: center;
    border: white solid 2.5px;
    animation: myAnimation 1.5s ease;
}

@keyframes myAnimation {
  from {opacity: 0%; transform: scale(0.955); filter: blur(10px)}
  to {opacity: 100%; transform: scale(1)}
}

main.meri-index-features {
    width: 750px;
    height: fit-content;
    color: var(--dark-3);
    text-align: center;
    background: linear-gradient(var(--light-3), var(--light-1), white);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: auto;
    animation: myAnimation 1s ease;
    justify-content: center;
    align-items: center;
    border: white solid 2.5px;
}



body {
    background: var(--base);
    font-family: Pretendard JP;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6, p {
    margin-top: 5px;
    margin-bottom: 5px;
}

div.meri-index-sections p {
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
    color: var(--dark-3)
}

div.meri-index-sections h1, div.meri-index-sections h2, div.meri-index-sections h3, div.meri-index-sections h4, div.meri-index-sections div.meri-index-sections h5, div.meri-index-sections h6 {
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
    color: var(--light-1)
}

h1, h2, h3, h4, h5, h6 {
    font-family: BIZ UDPGothicBold;
    background-color: var(--base);
    color: var(--light-1);
    width: fit-content;
    padding: 10px;
    border-radius: 10px;
}

::selection {
    background-color: var(--base);
    color: var(--light-3)
}

section.box {
    width: 100%;
    border-radius: 10px;
    border: var(--base) solid 2.5px;
    background: linear-gradient(var(--light-1), var(--light-3));
    filter: drop-shadow(2px 2px 0 var(--base));
    transition: 0.15s ease;
    transform: rotate(-0.5deg);
    height: fit-content;
}

section.box p {
    color: var(--dark-3);
}

section.box:hover, img.chibi:hover {
    transform: translate(-2px, -2px) scale(1.015);
    filter: drop-shadow(6px 6px 0 var(--base));
    transition: 0.15s ease;
}

img.chibi {
    width: 300px;
    transition: 0.15s ease;
    filter: drop-shadow(2px 2px 0 var(--base));
    transition: 0.15s ease;
    transform: rotate(-0.5deg);
}

div.meri-index-sections {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: left;
}

div.meri-text {
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: center;
}


div.meri-index-headers {
    width: 100%;
    background: linear-gradient(to right, var(--base), var(--dark-3));
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    color: var(--light-1);
    font-size: 14.5px;
    padding: 6px;
    font-weight: bolder;
}

i.fa-regular, i.fa-solid {
    margin-right: 5px;
}

i.fa-download {
    margin-right: 0;
}

b.info {
    background-color: var(--base);
    color: var(--light-1);
    padding-left: 2.5px;
    padding-right: 2.5px;
    border-radius: 5px;
}

div.meri-text p {
    padding-top: 1.5px;
    padding-bottom: 1.5px;
}

.slideshow-container {
    width: 100%;
}

.mySlides {
  display: none;
  width: 100%;
  height: fit-content;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: var(--base-t);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.15s ease;
}

.active, .dot:hover {
  background-color: var(--base);
}

.fade {
  animation-name: fade;
  animation-duration: 1s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

div.mySlides img {
    width: 100%;
    margin: auto;
    transition: 0.25s ease;
    opacity: 92.5%;
}

div.mySlides img:hover {
    width: 100%;
    margin: auto;
    filter: drop-shadow(0 0 5px var(--base));
    transition: 0.25s ease;
    transform: scale(1.035) rotate(5deg);
    opacity: 100%
}

div.mySlides .text, div.mySlides .numbertext {
    text-align: center;
}

div.voicebank-info {
     width: 100%;
}

div.voicebank-details, div.relationships {
    padding: 10px;
    border: var(--base) solid 2.5px;
    display: flex;
    margin-top: 5px;
    align-items: center;
    border-radius: 10px;
    background: linear-gradient(var(--light-3), var(--base-t));
    justify-content: space-between;
    width: 100%;
}

div.relationships {
    margin-top: 0;
    gap: 10px;
}

div.info-box {
    background-color: var(--light-1-t);
    padding: 10px;
    width: 100%;
    border-radius: 10px;
    margin-top: 5px;
}

div.info-container {
    width:100%;
}

i.fa-download {
    font-size: 50px;
    color: var(--light-3)
}

div.dl-icon {
    width: 70px;
    height: 70px;
    background-color: var(--dark-3);
    display: flex;
    align-items: center;
    justify-content: center;
     border-radius: 10px;
     animation: downloadAni 1.5s ease-in-out infinite  
}

div.dl-icon-none {
    width: 70px;
    height: 70px;
    background-color: var(--dark-3);
    display: flex;
    align-items: center;
    justify-content: center;
     border-radius: 10px;
}

@keyframes downloadAni {
    0% {box-shadow: 0 0 15px var(--base), 0 0 15px var(--base)}
    50% {box-shadow: 0 0 0 var(--base), 0 0 0 var(--base)}
    100% {box-shadow: 0 0 15px var(--base), 0 0 15px var(--base)}
}

img.rel-icon, div.rel-icon {
    border-radius: 50%;
    background-color: var(--base-t);
    border: var(--base) solid 2.5px;
    width: 150px;
    height: 150px;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

div.rel-icon p {
    color: var(--light-1);
    font-weight: bolder;
}

.relationships .div-icon {
    text-align: center;
    font-weight: bolder;
    display: flex;
    flex-direction: column;
    align-items: center;
}

a, a:visited, a:hover {
    color: var(--dark-3);
font-weight: bolder;
}

hr {
    border: var(--dark-3) solid 1px;
    width: 100%;
    margin-top: 4px;
    margin-bottom: 4px;
}

a.button-style {
    width: 250px;
    padding: 5px;
    display: inline-block;
    text-decoration: none;
    font-weight: bolder;
    border-radius: 10px;
    background-color: var(--base);
    color: var(--light-1);
    transition: 0.25s ease;
    text-align: center;
}

a.button-style:hover {
    background-color: var(--dark-3);
    color: var(--light-3);
    transition: 0.25s ease;
    transform: scale(1.1);
}

