/*CSS RESET FROM https://github.com/Lazzzer00/Best-CSS-Reset-2024 */
*, *::before, *::after{box-sizing: border-box;}
*{margin: 0; padding: 0;}
ul[role='list'], ol[role='list']{list-style: none;}
html:focus-within{scroll-behavior: smooth; }
a:not([class]){text-decoration-skip-ink: auto;}
img, picture, svg, video, canvas{max-width: 100%;height: auto; vertical-align: middle; font-style: italic; background-repeat: no-repeat; background-size: cover;}
input, button, textarea, select{font: inherit;}
@media (prefers-reduced-motion: reduce){
    html:focus-within {scroll-behavior: auto;}
    *, *::before, *::after {animation-duration: 0.01ms !important;animation-iteration-count: 1 !important;transition-duration: 0.01ms !important;scroll-behavior: auto !important;transition: none;}
}
body, html{ height: 100%; width: 100%; top: 0; }



:root {
    --BackColor1: #1e2340;
    --BackColor2: #5e5ba6;
    --TextColor1: #FFFFFF;
    --TextColor2: #b4baff;
    --spoilerGradient: #5e5ba6 #727199;
}

body {
    background-color: var(--BackColor1);
    color: var(--TextColor1);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

h1 {font-size: 2.3em;padding-bottom: .2em;}
p{font-size: 1.2em;}
a{color: var(--TextColor2);font-style: none;text-decoration: none;}
a:hover {text-decoration: underline;}
button{background: transparent; border: none; color: var(--TextColor2);}
select{background-color: transparent;padding: .1em ;border-radius: .2em;color: var(--TextColor2);}
option{background-color: var(--BackColor2);color: var(--TextColor1);}
.spoiler {background: var(--BackColor2);border-radius: .2em; padding: 0 .1em;}
.spoiler:not(.clicked){
    color: #FFFFFF00;
    cursor: pointer;
    animation: spoilGradient 4s linear infinite;
    -webkit-animation: spoilGradient 4s linear infinite;
    background-repeat: repeat;}

@keyframes spoilGradient {
    0% {background: #C291F2; }
    25% {background-color:#898EF9 ;}
    50% {background-color: #8F79DB;}
    75% {background:#898EF9;}
    100% {background-color: #C291F2;}
}

.content{
    display: flex;
    flex-direction: column;
    padding: 10vw;
    gap: 2em;
    z-index: 1;
}

.content .mainmg {
    transform: rotate(10deg);
    border-radius: .5em;
    max-width: 80vmin;
    margin: 7%;
    z-index: -1;
}

.content .contentText {/*for latter*/}

#menuToggle {
    position: absolute;
    padding: .5em;
    height: 3.5em;
    width: 3.5em;
    z-index: 100001;
}
#menuToggle img {
    filter: invert();
}

#headLinkList {
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    background-color: var(--BackColor1);
}
#headLinkList.active {
    display: flex;
}

#headLinkList ul {
    height: 50svh;
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-content: center;
    justify-content: space-between;
    z-index: 100000;
    font-size: 2em;
}

@media screen and (min-width: 100vmax) {
    .content {
        flex-direction: row-reverse;
        align-items: center;
        justify-content: center;
        max-height: 100svh;
        padding: 10vw;
        overflow: hidden;
    }
    .mainmg {
        width: 20vw;
    }
    .contentText {
        max-width: 50em;
    }
    #headLinkList{
        display: flex;
        background: none;
        height: auto;
        padding: 1em;
    }
    #headLinkList ul {
        flex-direction: row;
        height: auto;
        width: auto;
        gap: 2em;
        list-style: none;
        font-size: 1.7em;
    }

    select {
        border: none;
        padding-right: 0;
    }
    #menuToggle {
        display: none;
    }
}