

#intro{
    z-index: 100;
    cursor: none;
    background-color: black;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    transition: opacity 1s ease-in-out;
}
#intro.ending{
    opacity: 0;
}
#intro.ended{
    display: none;
}
#intro video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#intro > div{
    position: fixed;
    color: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    grid-template-columns: auto;
    width: 100%;
    justify-content: center;
    align-items: center;
    opacity: 0;
    user-select: none;
}
#intro.playing > div{
    animation-name: introTextAnimation;
    animation-duration: 5s;
    animation-delay: 3.5s;
    animation-fill-mode: forwards;
}
@keyframes introTextAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
#intro > div > h1{
    place-self: end;
    grid-row: 2;
    margin-top: 0vw;
    background: linear-gradient(10deg, #FFF 30%, #DA00F9 100%);
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 0vw;
    transition: font-size 7.75s cubic-bezier(.6,.04,.92,.34), margin-top 7.75s cubic-bezier(.6,.04,.92,.34);
}
#intro.playing > div > h1{
    font-size: 5vw;
    margin-top: -5vw;
}
#intro > div > h3{
    margin: 0;
    font-size: 0vw;
    background: linear-gradient(50deg, #FFF 10%, #DA00F9 100%);
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: font-size 8.25s cubic-bezier(.6,.04,.92,.34);
}
#intro.playing > div > h3{
    font-size: 25vw;
}

/*<editor-fold desc="Scrollbar CSS" defaultstate="collapsed">*/
/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(175, 0, 255, 0.44) transparent;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 0.5rem;
}

*::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    background-color: rgba(175, 0, 255, 0.44);
    border-radius: 20px;
    border: 0px none #ffffff;
}
/*</editor-fold>*/

html{overflow: hidden}
body{
    margin: 0;
    overflow-x: hidden;
    background-color: #1a2023;
    max-width: 100vw;
    max-height: 100vh;
    /*background: linear-gradient(40deg,rgb(24, 171, 228) 0%, rgb(99, 166, 186) 50%, rgb(79, 207, 171) 100%);*/
}
body > .vidContainer {
    position: fixed;
    left: 0;
    top: 0;
    z-index: -1;
    display: grid;
    grid-template-rows: 100vh;
    grid-template-columns: 100vw;
}
body > .vidContainer > *{
    object-fit: cover;
    width: 100%;
    height: 100%;
    scale: 1.25;
    transition: transform 0.4s cubic-bezier(.22,.61,.36,1);
}
body > .vidContainer > *.touchmove{
    transition: none;
}
.azTitle{

    text-align: center;

    color: #fff;
    font-size: 4.5rem;
    margin-top: 2rem;
    user-select: none;
    pointer-events: none;
    text-shadow: 0px 0px 1rem royalblue, 0px 0px 2rem royalblue;
}

main{
    display: grid;

    transition: max-width ease-in-out 1s, margin-left ease-in-out 1s;
    max-width: 100%;
}
main.navMinized{
    max-width: calc(100% - 23rem);
    margin-left: 23rem;
}

.avatars{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 4.2vw;
    margin: 3vw;
    /*margin-top: clamp(10rem,20vw,12rem);*/
    place-self: center;
    max-width: 80rem;
}
.ava{

}
.ava > h1{
    color: white;
    font-family: Segoe print;
    text-align: center;
    margin: 0rem;
    line-height: clamp(1.5rem, 2.5vw, 2.5rem);
    font-size: clamp(1rem, 2.5vw, 2rem);
    user-select: none;
    text-shadow: 0 0 0.5rem rebeccapurple, 0 0 0.5rem rebeccapurple ,0 0 0.5rem rebeccapurple,0 0 0.5rem rebeccapurple;
}
.imgBox{

}
.imgBox > img{
    max-width: 100%;
}

.ava:nth-child(1){
    transform: perspective(3rem) rotateY(-1deg);
}
.ava:nth-child(2){
    scale: 1.2;
    transform: translateY(-0.5rem);
}
.ava:nth-child(3){
    transform: perspective(3rem) rotateY(1deg);
}

.ava h4{
    font-size: 1rem;
    margin: 0rem;
    top: 45%;
    left: 50%;
    transform: translate(-50%,-50%) scaleX(0);
    transition: transform 0.5s ease;
    width: 100%;
    background: #000000a3;
    aspect-ratio: 1 / 1;
    position: absolute;
    color: white;
}
.ava.in h4{
    transition-delay: 0.5s;
}
.ava.activeRotate h4{
    transform: translate(-50%,-50%) scaleX(1);
}
.ava .textBox{
    padding: 0.4rem;
}

.ava img{
    transition: transform 0.5s ease;
}
.ava.out img{
    transition-delay: 0.5s;
}
.ava.activeRotate img{
    transform: scaleX(0);
}

.popupPhoneAva{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    background: #000000bf;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    grid-template-rows: 1fr 1fr 1fr;
    justify-content: center;
    z-index: 15;
}
.popupPhoneAva.active{
    display: grid;
}

.popupPhoneAva img{
    max-width: 100%;
    width: 35rem;
    justify-self: center;
    padding-top: 2rem;
}
.popupPhoneAva button{
    justify-self: center;
    width: 7rem;
    background-color: black;
    border: none;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    height: 3rem;
    cursor: pointer;
    padding: 0rem 0.6rem;
}
.popupPhoneAva h4{
    color: white;
    align-self: center;
}
.popupPhoneAva .textBox{
    padding: 0rem;
}

main > h1{
    color: white;
    text-align: center;
    margin-top: 5rem;
    margin-bottom: 0rem;
    font-size: 3rem;
    text-shadow: 0rem 0rem 1rem royalblue, 0rem 0rem 1rem royalblue, 0rem 0rem 1rem royalblue;
    user-select: none;
}
main .headTitle{
    width: 100%;
    max-width: 50rem;
    justify-self: center;
}
main .headTitle .textBox{
    text-align: center;
    color: white;
    font-size: 1.5rem;
    line-height: 1.5;
    text-shadow: 0px 0px 0.5rem #000, 0px 0px 1rem #000;
    border: none;
    margin-bottom: 1.5rem;
}
#hd1, .trumbowyg-dark .trumbowyg-box{
    max-width: 70rem !important;
}
#hd2{
    margin-top: 3rem;
}
main > img{
    transform: scale(1,-1);
    margin: auto;
    max-width: 100%;
    width: 75rem;
    margin-bottom: 1rem;
    animation: blink_uzor 8s linear infinite;
}
@keyframes blink_uzor {
    0% {
        filter: drop-shadow(0 0 0.4rem #00ffcf) drop-shadow(0 0 0.4rem #00ffcf);
    }
    50%{
        filter: drop-shadow(0 0 0.2rem #00ffcf) drop-shadow(0 0 0.2rem #00ffcf);
    }
    100%{
        filter: drop-shadow(0 0 0.4rem #00ffcf) drop-shadow(0 0 0.4rem #00ffcf);
    }
}

.services{
    display: grid;
    grid-auto-flow: row;
    width: 100%;
    grid-gap: 0.5rem;
    margin-bottom: 3rem;
    max-width: 50rem;
    justify-self: center;
    margin-top: 3rem;
}

.service{
    /*max-width: 70rem;*/
    margin: 0rem 1rem;
}
.service > button{
    width: 100%;
    background: #0000004d;
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 1rem;
    border-radius: 2rem;
    text-shadow: 0rem 0rem 0.2rem black, 0rem 0rem 0.3rem black;
    transition: background 0.2s ease, scale 0.1s ease, box-shadow 1s ease, border-radius 1s ease;
}
.service > button:hover{
    background: #000000bf;
    scale: 1.04;
    cursor: pointer;
}

.content{
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    margin: 0rem 2rem;
    transition: grid-template-rows 0.75s, box-shadow 1s ease;
    background: #0000004f;
    color: white;
    border-radius: 0rem 0rem 1rem 1rem;
}
.service.open .content{
    grid-template-rows: 1fr;
    /*box-shadow: 0rem 0.5rem 0.75rem #00f3ff;*/
    box-shadow: 0rem 0.5rem 0.75rem #00f3ff, inset 0rem -0.3rem 0.5rem #00f3ff;
}
.service.open > button{
    /*box-shadow: 0rem -0.5rem 0.75rem #00f3ff;*/
    box-shadow:  0rem -0.5rem 0.75rem #00f3ff, inset 0rem 0.4rem 0.75rem #00f3ff;
}
@media(max-width: 700px){
    .content{
        margin: 0rem;
    }
    .service.open > button{
        border-radius: 2rem 2rem 0rem 0rem;
    }
}

.agreement, .appointment, .appointmentAlert, .appointmentSending{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000000ba;
    z-index: 15;
    display: none;
    overflow-y: auto;
}
.agreement.active, .appointment.active, .appointmentAlert.active, .appointmentSending.active{
    display: initial;
}
.spin-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
}
.spin-wrapper .spinner {
    position: absolute;
    height: 60px;
    width: 60px;
    border: 3px solid transparent;
    border-top-color: #a04668;
    top: 50%;
    left: 50%;
    margin: -30px;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}
.spin-wrapper .spinner:before, .spin-wrapper .spinner:after {
    content: '';
    position: absolute;
    border: 3px solid transparent;
    border-radius: 50%;
}
.spin-wrapper .spinner:before {
    border-top-color: #254e70;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    animation: spin 3s linear infinite;
}
.spin-wrapper .spinner:after {
    border-top-color: #fffbfe;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    animation: spin 4s linear infinite;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.agrGrid{
    display: none;
    opacity: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    justify-items: center;
    align-content: start;
    grid-template-rows: auto auto 1fr auto 2.5rem;
    grid-template-columns: 1fr;
}
.agrGrid.loaded{
    display: grid;
    opacity: 1;
}
.agrGrid > h3{
    color: white;
    margin-top: 8rem;
    font-size: 2.25rem;
    user-select: none;
    pointer-events: none;
    text-shadow: 0px 0px 1rem #a841e1, 0px 0px 2rem #a841e1, 0px 0px 5rem #a841e1;
}
.agrGrid .agrTextContainer{
    border-top: none;
    padding: 1rem;
    color: white;
    width: 96%;
    max-width: 50rem;
    overflow: scroll;
    min-height: 30rem;
    overflow-x: hidden;
    background: #0009;
    border: 15px solid #00000024;
    border-radius: 2rem;
    box-shadow: 0px 0px 1rem #000000c4;
    margin-bottom: 1rem;
}

.agrData{
    font-size: 18px;
    text-align: end;
    padding-right: 1rem;
}

.gridfio{
    display: grid;
    grid-template-columns: auto 1fr;
}
.gridfio > h4{
    margin: 0;
    align-self: end;
    font-size: 1.3rem;
    padding: 0rem 1rem;
}

.agrFIO{
    margin-top: 1rem;
    font-size: 20px;
    padding: 0.5rem;
    text-align: center;
    border-bottom: 1px solid #ccc;
    /*margin-left: 9%;*/
    margin-right: 9%;
    outline: 0px solid transparent;
}

.agrTextContainer .textBox{
    padding-top: 0rem;
}

.agrGrid .agrTextContainer{
    min-height: 35rem;
}

.trumbowyg-dark .trumbowyg-box {
    max-width: 50rem;
}
.agremConfrims{
    display: grid;
    justify-items: stretch;
    grid-template-columns: 1fr 1fr;
    max-width: 35rem;
    width: 100%;
    margin: 1rem 0rem;
}
.agremConfrims .checkBoxContainer{
    grid-column: span 2;
    margin: 0rem 1rem 0.75rem 1rem;
}
.checkBoxContainer input[type="checkbox"] {
    display: none;
    visibility: hidden;
}
.checkBoxContainer label {
    position: relative;
    padding-left: 1.8em;
    padding-right: 0em;
    line-height: 1.4;
    cursor: pointer;
    display: inline-flex;
    color: wheat;
    font-size: 1.25rem;
    user-select: none;
}
.checkBoxContainer label:before {
    box-sizing: border-box;
    content: " ";
    position: absolute;
    top: 0em;
    left: 0;
    display: block;
    width: 1.4em;
    height: 1.4em;
    border: 2px solid #9098A9;
    border-radius: 6px;
    z-index: -1;
}
.checkBoxContainer input[type=checkbox]:checked + label {
    /*padding: 0rem 0.75rem;*/
}
.checkBoxContainer input[type=checkbox]:checked + label:before {
    top: 0rem;
    /*width: 100%;*/
    /*height: 100%;*/
    background: #b7e6c9;
    border-color: #2cbc63;
    content: '✔';
    padding-left: 0.3rem;
    color: black;
}
.checkBoxContainer label,
.checkBoxContainer label::before {
    transition: 0.25s all ease;
}
.agremConfrims .confrim{
    cursor: pointer;
    font-size: 2rem;
    padding: 0.5rem;
    background: #00ff041c;
    border: none;
    border-radius: 1rem 0rem 0rem 1rem;
    text-shadow: 0px 0px 1rem #20ff00, 0px 0px 1rem #20ff00, 0px 0px 1rem #20ff00, 0px 0px 1rem #20ff00;
    transition: background 0.3s ease;
}
.agremConfrims .confrim:hover{
    background: #00ff046b;
    text-shadow: 0px 0px 1rem #20ff00, 0px 0px 1rem #20ff00, 0px 0px 1rem #20ff00, 0px 0px 1rem #20ff00, 0px 0px 1rem #20ff00, 0px 0px 1rem #20ff00, 0px 0px 1rem #20ff00, 0px 0px 1rem #20ff00;
}
.agremConfrims .confrimNOT{
    cursor: pointer;
    font-size: 2rem;
    padding: 0.5rem;
    background: #ff00001c;
    border: none;
    border-radius: 0rem 1rem 1rem 0rem;
    text-shadow: 0px 0px 1rem #f00, 0px 0px 1rem #f00,0px 0px 1rem #f00,0px 0px 1rem #f00;
    transition: background 0.3s ease;
}
.agremConfrims .confrimNOT:hover{
    background: #ff00006b;
    text-shadow: 0px 0px 1rem #f00, 0px 0px 1rem #f00,0px 0px 1rem #f00,0px 0px 1rem #f00, 0px 0px 1rem #f00, 0px 0px 1rem #f00,0px 0px 1rem #f00,0px 0px 1rem #f00;
}

.goAuth{
    margin: 2rem 0rem;
    box-shadow: 0px 0px 0px 2px wheat;
    color: wheat;
    text-decoration: none;
    font-size: 1.6rem;
    padding: 1rem;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    transition: all 0.5s ease;
}
.goAuth:hover{
    text-shadow: 0px 0px 1rem wheat, 0px 0px 2rem wheat, 0px 0px 5rem wheat;
    box-shadow: none;
}

@keyframes alertCheck {
    0% { transform: translate(0px, 2px); }
    33% { transform: translate(-3px, 0px); }
    66% { transform: translate(3px, -2px);  }
    100% { transform: translate(0px, 0px); }
}
.checkBoxContainer.alert {
    animation: alertCheck .2s infinite alternate;
}

.headPartners{
    display: grid;
    grid-auto-flow: row;
    width: 100%;
    margin-bottom: 3rem;
    max-width: 48rem;
    justify-self: center;
}
.headPartners.open .content{
    grid-template-rows: 1fr;
}
.headPartners > button{
    margin-bottom: 0.75rem;
}
.headPartners .content{
    border-radius: 1rem;
}

.mainLink{
    width: max-content;
    justify-self: center;
    text-decoration: none;
    color: white;
    background: #7e00828f;
    padding: 0.7rem 1.2rem;
    border-radius: 2rem;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 0.3rem black;
    box-shadow: 0 0 1rem #00ffcf, inset 0 0 1rem #00ffcf;
    transition: box-shadow 0.3s ease;
    border: none;
}
.mainLink:hover{
    box-shadow: 0 0 1rem #00ffcf, inset 0 0 1rem #00ffcf, 0 0 1rem #00ffcf, inset 0 0 1rem #00ffcf;
    cursor: pointer;
}

.expand{
    overflow: hidden;
    display: grid;
}

.textBox{
    padding: 1rem;
    font-size: 1.3rem;
    padding-bottom: 0rem;
    /*border-top: 0.1rem solid #0000004f;*/
    text-shadow: 0rem 0rem 0.2rem black, 0rem 0rem 0.2rem black;
}
.textBox > p{
    margin: 0;
}

.order{
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 2rem;
    text-align: center;
    font-weight: bold;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: "Times New Roman", Times, serif;

}
.order span{
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transform: scale(0.6);
    background: radial-gradient(ellipse farthest-side at 50%, rgb(255, 0, 215), rgba(252,70,107,0));
    background-repeat: no-repeat;
    transition: transform 0.5s cubic-bezier(.18,.89,.34,2.4);
}
.order:hover span{
    transform: scale(1);
}
.order h1{
    color: white;
    font-size: 1.7rem;
    position: relative;
    text-shadow: 0px 0px 0.5rem black;
}

.appointment > div{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    color: white;
    padding: 0rem 1rem;
}
.appointment > div > * {
    grid-column: 2;
    max-width: 50rem;
}
.appointment [contenteditable]:focus{
    outline: 0px solid transparent;
}
.appoAccept{
    width: max-content;
    margin-top: 1rem;
    background: #0000007d;
    color: #96ffa7;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    text-shadow: 0px 0px 1rem #41e196, 0px 0px 2rem #4187e1;
    transition: text-shadow 0.1s ease-in;
    padding: 1rem;
    border-radius: 1rem;
    justify-self: center;
}
.appoAccept:hover{
    text-shadow: 0px 0px 1rem #41e196, 0px 0px 2rem #4187e1, 0px 0px 1rem #41e196, 0px 0px 2rem #4187e1;
}
.appoHead{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
}
.appoHead > h1 {
    grid-column: 1/4;
    grid-row: 2;
    text-align: center;
    text-shadow: 0px 0px 1rem #8a41e1;
}
.appoData{
    display: grid;
    grid-template-columns: 1fr auto auto 1fr;
    grid-gap: 1.5rem;
}
.appoData > h3{
    grid-column: 2;
    grid-row: 3;
    text-align: center;
    margin: 0;
}
.appoData > .boxName{
    grid-column: 3;
    grid-row: 3;
    min-width: 15rem;
    display: grid;
    justify-content: center;
    align-content: center;
    background: #00000070;
    border: none;
    text-align: center;
    font-size: 1.2rem;
}
.appoData > h3.FIO, .appoData > .boxName.FIO{
    grid-row: 1;
}

.appoData > h4{
    grid-column: 2;
    grid-row: 2;
    text-align: center;
    margin: 0;
}
.appoData > input{
    grid-column: 3;
    grid-row: 2;
    min-width: 15rem;
    background: #00000070;
    color: white;
    border: none;
    text-align: center;
    font-size: 1rem;
}
.appoData > .boxGender{
    grid-column: 2/4;
    grid-row: 4;
    justify-self: center;
    display: flex;
    gap: 3rem;
    margin-top: 0.5rem;
}
.boxGender label{
    font-size: 1.25rem;
    cursor: pointer;
}
.boxGender input{
    appearance: none;
    display: none;
}
.boxGender input + div{
    transition: text-shadow 0.5s ease-in, scale 0.5s ease-in;
    user-select: none;
}
.boxGender #woman:checked + div{
    text-shadow: 0px 0px 1rem #dc41e1, 0px 0px 1rem #dc41e1, 0px 0px 2rem #dc41e1, 0px 0px 3rem #dc41e1;
    scale: 1.5;
}
.boxGender #man:checked + div{
    text-shadow: 0px 0px 1rem #2e44fa, 0px 0px 1rem #2e44fa, 0px 0px 2rem #2e44fa, 0px 0px 3rem #2e44fa;
    scale: 1.5;
}


.appoContxt{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto 1fr;
    padding-bottom: 1.5rem;
}
.appoContxt > h3 {
    grid-column: 2;
    margin-top: 3rem;
    font-size: 1.75rem;
}
.appoContxt > div {
    grid-column: 1/4;
    min-height: 5rem;
    background: #00000070;
    border: none;
    padding: 1rem;
    font-size: 1.25rem;
}
.appointment .checkBoxContainer{
    margin: 0.25rem 1rem;
}
.appoAgreem{
    border-top: 2px solid;
    color: burlywood;
    padding-top: 0.5rem;
    margin: 0.75rem;
    margin-bottom: 3rem;
}
.appoAgreem.service > a{
    background: #0000;
    border: none;
    color: burlywood;
    border-radius: 0.2rem;
    text-shadow: 0rem 0rem 0.2rem black, 0rem 0rem 0.3rem black;
    transition: background 0.2s ease, scale 0.1s ease, box-shadow 1s ease;
    text-decoration: none;
    text-align: center;
    display: block;
    font-size: 1.15rem;
    padding: 0.5rem;
}
.appoAgreem.service > a:hover{
    background: #deb88712;
    scale: 1.04;
    cursor: pointer;
}

.appoAgreem.content{
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    margin: 0rem 2rem;
    transition: grid-template-rows 0.75s, box-shadow 1s ease;
    background: #0000004f;
    color: white;
    border-radius: 0rem 0rem 1rem 1rem;
}
.appoAgreem.service.open .content{
    grid-template-rows: 1fr;
    box-shadow: none;
    background: #0000;
    margin-bottom: 1rem;
}
.appoAgreem.service.open > button{
    box-shadow: none;
}

.appointmentAlert.active,.appointmentSending.active{
    display: grid;
    justify-content: center;
    align-content: center;
    color: white;
}
.appointmentAlert > h1, .appointmentSending > h1{
    text-shadow: 0px 0px 1rem royalblue, 0px 0px 2rem royalblue;
    text-align: center;
}
.appointmentAlert > h2, .appointmentSending > h2{
    justify-self: center;
    margin: 0.5rem 0.5rem 2.5rem 0.5rem;
    text-align: center;
}
.appointmentAlert > h2 > span{
    color: red;
}
.appointmentAlert > button{
    background: transparent;
    border: none;
    color: #97e997;
    font-size: 1.3rem;
    text-shadow: 0px 0px 1rem #97e997, 0px 0px 2rem #97e997;
    transition: text-shadow 0.25s ease-in;
    cursor: pointer;
    width: min-content;
    justify-self: center;
    padding: 0.7rem 1rem;
}
.appointmentAlert > button:hover{
    text-shadow: 0px 0px 1rem #97e997, 0px 0px 2rem #97e997, 0px 0px 2rem #97e997, 0px 0px 3rem #97e997;
}

@media (max-width: 520px){
    .appoData > .boxName.FIO{
        grid-column: 2;
        grid-row: 2;
    }
    .appoData{
        grid-gap: 0.5rem;
    }
    .appoData > .boxName{
        grid-column: 2;
        grid-row: 2;
        min-height: 3rem;
    }
    .appoData > h4{
        grid-row: 3;
    }
    .appoData > input{
        grid-column: 2;
        grid-row: 4;
        min-height: 3rem;
    }
    .appoData > .bName{
        grid-row: 5;
    }
    .appoData > .boxName{
        grid-row: 6;
    }
    .appoData > .boxGender{
        grid-row: 7;
    }
}


.cssload-container {
    width: 100%;
    height: 49px;
    text-align: center;
}

.cssload-zenith {
    width: 49px;
    height: 49px;
    margin: 0 auto;
    border-radius: 50%;
    border-top-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
    box-shadow: 3px 3px 1px rgb(182, 171, 241);
    animation: cssload-spin 1050ms infinite linear;
    -o-animation: cssload-spin 1050ms infinite linear;
    -ms-animation: cssload-spin 1050ms infinite linear;
    -webkit-animation: cssload-spin 1050ms infinite linear;
    -moz-animation: cssload-spin 1050ms infinite linear;
    filter: drop-shadow(0px 0px 1rem royalblue) drop-shadow(0px 0px 1rem royalblue) drop-shadow(0px 0px 1rem royalblue);
}



@keyframes cssload-spin {
    100%{ transform: rotate(360deg); transform: rotate(360deg); }
}

@-o-keyframes cssload-spin {
    100%{ -o-transform: rotate(360deg); transform: rotate(360deg); }
}

@-ms-keyframes cssload-spin {
    100%{ -ms-transform: rotate(360deg); transform: rotate(360deg); }
}

@-webkit-keyframes cssload-spin {
    100%{ -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

@-moz-keyframes cssload-spin {
    100%{ -moz-transform: rotate(360deg); transform: rotate(360deg); }
}

/*.board{*/
/*    display: grid;*/
/*    grid-template-columns: repeat(auto-fit, minmax(17.5rem, max-content));*/
/*    grid-gap: 1rem;*/
/*    justify-content: center;*/

/*    width: 100%;*/
/*    border-radius: 3rem;*/
/*    position: relative;*/
/*    padding: 1rem 0rem;*/
/*}*/
/*.board > div{*/
/*    display: grid;*/
/*    grid-template-columns: auto;*/
/*    grid-template-rows: auto 1fr;*/
/*    justify-items: center;*/

/*    margin: 1rem;*/
/*    box-shadow: 0rem 0rem 1rem #b0f;*/
/*    border-radius: 5rem;*/
/*    overflow: hidden;*/
/*    max-width: 18rem;*/
/*    position: relative;*/
/*    transition: transform 0.3s ease-in-out;*/
/*}*/
/*.board > div:hover, main > .board > div:active{*/
/*    transform: scale(1.1);*/
/*}*/
/*.board > div > h3{*/
/*    color: white;*/
/*    text-align: center;*/
/*    font-size: 2rem;*/
/*    width: 100%;*/
/*    background-color: #000000bd;*/
/*    margin: 0px;*/
/*    padding: 1.1rem;*/
/*}*/
/*.board > div > button{*/
/*    background-color: #000000bd;*/
/*    text-decoration: none;*/
/*    text-align: center;*/
/*    color: white;*/
/*    border: none;*/
/*    box-shadow: 0rem 0rem 1rem #b0f;*/
/*    position: absolute;*/
/*    bottom: 0px;*/
/*    font-size: 1.5rem;*/
/*    width: 100%;*/
/*    padding: 0.5rem 0rem;*/
/*    opacity: 0;*/
/*    transition: opacity 0.5s ease-in-out, background-color 0.25s ease-in-out;*/
/*}*/
/*.board > div:hover > button, main > .board > div:active > button{*/
/*    opacity: 1;*/
/*}*/
/*.board > div > button:hover, main > .board > div > button:active{*/
/*    background-color: #ff01e347;*/
/*    cursor: pointer;*/
/*}*/
/*.board > div > .imgBox > img{*/
/*    object-fit: cover;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*}*/
/*.board > div > .imgBox > img[src = '../account/imgs/default.png']{*/
/*    filter: invert(1);*/
/*}*/
/*.board > div > button.boardAchievements{*/
/*    bottom: 2.84rem;*/
/*}*/
/*@media (any-pointer: coarse) {*/
/*    main > .board > div > button{*/
/*        opacity: 1;*/
/*    }*/
/*}*/

/*.board .boardItemAdd{*/
/*    font-size: 15rem;*/
/*    cursor: pointer;*/
/*    color: lime;*/
/*    background: #68ff001c;*/
/*    display: none;*/
/*    max-height: 17rem;*/
/*}*/
/*.board .boardItemRemove{*/
/*    bottom: 2.84rem;*/
/*    color: red;*/
/*    display: none;*/
/*}*/
/*.board .boardItemRemove:hover{*/
/*    background-color: #ff0707;*/
/*    cursor: pointer;*/
/*    color: black;*/
/*}*/

/*.board .boardItemRemove.visible{ display: initial;}*/
/*.board .boardItemAdd.visible{ display: grid; }*/

/*.boardItem > h3 > .textBox*/
/*{*/
/*    border-top: none;*/
/*    padding: 0;*/
/*}*/


nav{
    display: grid;
    grid-template-columns: 20rem 3rem;
    grid-template-rows: auto auto 1fr auto;
    min-width: 23rem;
    overflow: hidden; /*Correct to mobile version and scrollable for pc*/
    transition: margin-left 1s ease-in-out, margin-right 1s ease-in-out;
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    height: 100%;
}
nav.hide{
    margin-left: -20.5rem;
}

.navHead,.navMode,.navList,.navFooter,.navButton{
    z-index: 30;
}

.navHead{
    grid-row: 1;
    grid-column: 1;

    font-size: 2rem;
    color: white;
    padding: 1rem;
    background: radial-gradient(circle, rgba(2,0,36,0) 0%, rgba(9,99,121,1) 81%, rgba(0,239,255,0.43) 100%);
    text-align: center;
}

/*<editor-fold desc=".navMode" default-state="collapsed">*/
.navMode{
    grid-row: 2;
    grid-column: 1;

    display: grid;
    grid-template-columns: auto auto auto;
    cursor: pointer;
    justify-items: center;
}
.navMode > span{
    color: white;
    font-size: 3.2rem;
    justify-items: center;
    display: inline-grid;
    align-items: center;
    width: 90px;
    height: 90px;
    transition: text-shadow 1s cubic-bezier(.50,-0.80,.50,1.80), color 0.5s cubic-bezier(.50,-0.80,.50,1.80);
}
.navMode > span.moon{
    color: #64cff980;
    margin-top: -0.2rem;
}
.navMode > span.moon.checked{
    color: #64cff9;
    text-shadow: 0px 0px 1rem #64cff9,-10px 0px 2rem #64cff9,-20px 0px 3rem #64cff9,
    0px 0px 1rem #64cff9, 12px 0px 2rem #64cff9, 20px 0px 3rem #64cff9;
}
.navMode > span.sun {
    color: #fff55880;
}
.navMode > span.sun.checked{
    color: #fff558;
    text-shadow: 0px 0px 1rem #fff880,0px 0px 2rem #fff880,0px 0px 3rem #fff880,0px 0px 2rem #fff880,0px 0px 4rem #fff880;
}
.navModeChecker{
    display: inline-grid;
    justify-items: center;
    align-items: center;
}
.navModeChecker input[type="checkbox"] {
    display: none;
}
.navModeChecker input[type="checkbox"]:checked + label {
    transform: rotate(360deg);
    background-color: #fff;
}
.navModeChecker input[type="checkbox"]:checked + label:before {
    transform: translateX(115px);
    background-color: #000;
}
.navModeChecker label {
    display: flex;
    width: 130px;
    height: 16px;
    border: 6px solid;
    border-radius: 99em;
    position: relative;
    transition: transform 0.95s ease-in-out, background-color 0.95s ease-in-out;
    transform-origin: 50% 50%;
    cursor: pointer;
    background-color: #000;
    color: #ffffff2b;
}
.navModeChecker label:before {
    transition: transform 0.85s ease;
    transition-delay: 0.1s;
    content: "";
    display: block;
    position: absolute;
    width: 14px;
    height: 14px;
    background-color: #fff9;
    border-radius: 50%;
    top: 1px;
    left: 1px;
}
/*</editor-fold>*/

/*<editor-fold desc=".navList" default-state="collapsed">*/
.navList{
    grid-row: 3;
    grid-column: 1;

    display: grid;
    grid-template-columns: auto;
    grid-auto-rows: min-content;

    overflow-x: hidden;
    overflow-y: auto;

    padding-bottom: 2rem;
}
.navList > h3{
    margin: 0px;
    margin-bottom: 0.5rem;
    font-size: 2rem;
    color: white;
    text-align: center;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    text-shadow: 0px 0px 0.5rem #51beff, 0px 0px 1.5rem #51beff;
    user-select: none;
}
.navList > a{
    font-size: 1.35rem;
    padding: 0.3rem 0rem 0.3rem 1.2rem;
    color: white !important;
    text-decoration: none !important;
    transition: font-size 0.5s ease, background-color 0.3s ease;
}
.navList > a:hover{
    font-size: 1.4rem;
    background-color: #71f8ff0d;
}
.navList > a.LinkToLearn{
    text-align: center;
    font-size: 1.8rem;
    width: min-content;
    justify-self: center;
    background-color: #66339936;
    margin-top: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    transition: padding-left 0.3s ease,scale 0.3s ease, background-color 0.5s ease, box-shadow 1s linear;
}
.navList > a.LinkToLearn:hover{
    scale: 1.3;
    background-color: #8b008b61;
    box-shadow: inset 0rem 0rem 1rem 0.1rem rebeccapurple;
}
.navList > br{
    margin-bottom: 2rem;
}
/*</editor-fold>*/

.navFooter{
    grid-row: 4;
    grid-column: 1;
}

/*<editor-fold desc=".navBackground" default-state="collapsed">*/
.navBackground{
    grid-row: 1/5;
    grid-column: 1;

    background: linear-gradient(90deg,rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 90%);
    backdrop-filter: blur(0.2rem);
    position: relative;
}

/*</editor-fold>*/

/*<editor-fold desc=".navButton" default-state="collapsed">*/
.navButton{
    grid-row: 1/5;
    grid-column: 2;

    background-color: transparent;
    border: none;
    padding: 0px;
    display: inline-grid;
    align-items: start;
}
.navButton > input{
    display: none;
}
.navButton > label{
    display: inline-grid;
    height: 99.45%;
    width: 2.5rem;
    color: rgba(0,239,255,0.7777311608237045);
    font-size: 2.5rem;
    align-items: center;
    text-shadow: 0px 0px 0.3rem,0px 0px 0.3rem, 0px 0px 0.6rem black;
    border: 0.1rem rgba(0, 239, 255, 0.3) solid;
    border-radius: 0rem 1rem 1rem 0rem;
    border-left-color: transparent;
    border-left-width: 0px;
    padding: 0rem 0.2rem;
    cursor: pointer;
    box-shadow: inset -1.5rem 0rem 2.5rem -1rem rgba(0, 239, 255, 0.44);
    transition: box-shadow 0.4s cubic-bezier(.22,.61,.36,1), transform 0.8s ease-in-out,
    border-radius 1s ease-in-out, border-color 0.4s ease-in-out, border-width 0.4s ease-in-out,
    margin-left 0.8s ease-in-out;
}
.navButton > label:hover{
    box-shadow: inset -3rem 0rem 2rem -1rem rgba(0, 243, 255, 0.44);
}
.navButton > input[type="checkbox"]:checked + label{
    transform: scaleX(-1);
    border-right-color: transparent;
    border-right-width: 0px;
    border-radius: 1rem 0rem 0rem 1rem;
}
/*</editor-fold>*/

/* Mobile version */
@media (max-width: 450px) {
    .navButton > label{
        height: 3rem;
        /*padding-bottom: 0.3rem;*/
        margin-top: 0.5rem;
        transform: scaleX(-1);
        margin-left: -3rem;
        place-items: start;
        align-content: center;
    }
    .navButton > input[type="checkbox"]:checked + label{
        margin-left: 0rem;
        transform: scaleX(1);
        border-radius: 0rem 1rem 1rem 0rem;
        border-left-width: 0px;
    }
    .navHead{
        /*padding-right: 3rem;*/
    }
    nav{
        grid-template-columns: 100vw 3rem;
        min-width: 100vw;
    }
    nav.hide{
        margin-left: -100vw;
        margin-right: -3rem;
    }
}
