body {
  font-family: "Outfit", sans-serif;
}

a {
   text-decoration: none !important;
}

* {
   box-sizing: border-box;
}

header {
   width: 100%;
   padding: 20px 40px 40px 40px;
   display: flex;
   justify-content: end;
   align-items: center;
   position: relative;
   z-index: 1;
}

.topbuttons, .msgbuttons, .shopBox {
   display: flex;
   width: 100%;
   justify-content: end;
   flex-wrap: wrap;
   gap: 20px;
}

.loginarrow {
   position: absolute;
   bottom: -95px;
   right: 20px;
}

.shopBox { 
   position: relative;
   flex-shrink: 0;
   flex-wrap: nowrap;
   width: fit-content;
   align-items: center;
   white-space: nowrap;
   background: #222248;
   padding: 10px 30px 10px 50px;
   height: 100%;
   margin-left: -20px;
 /*  transform: translateX(-100%);*/
   border-radius: 0 30px 30px 0;
}


 .msgbuttons {
   gap: 0px;
   color: #2B2B47;
   font-size: 22px;
   justify-content: space-between;
   font-weight: 600;
   flex-direction: row;
   align-items: center;
   justify-content: center;
   margin-top: 30px;
  /* overflow: hidden;
   width: fit-content;*/
  /* transform-origin: 50% 100%;
   transform: scale(0, 0);
   animation: scaleUp 0.2s ease-out forwards 0.5s;
   animation-delay: 1.4s;*/
 }

.msgbuttons > div:nth-child(1) {
   border-radius: 30px;
   background: #BCFFCF;
   color: #2B2B47;
   font-weight: 700;
   padding: 12px 40px;
   letter-spacing: 1px;
   position: relative;
   z-index: 2;
 }


 .shopBox div {
   display: flex;
  
   align-items: center;
   color: #fff;
   font-size: 14px;
   gap: 8px;
   letter-spacing: 1px;
   transition: transform 0.1s, filter 0.1s;
 }

  .shopBox div svg {
  position: relative;
  display: block;
  }

 .shopBox div:hover {
   transform: scale(1.1);
   transition: transform 0.1s;
}

 .msgbuttons div > div:nth-child(1):hover {
   filter: drop-shadow(0 0 7px #ffb28249);
}

 .msgbuttons div > div:nth-child(2):hover {
   filter: drop-shadow(0 0 7px #84e38a49);
}

 .msgbuttons div > div:nth-child(3):hover {
   filter: drop-shadow(0 0 7px #ffa2c749);
}

.topbuttons div {
   transition: 0.2s;
   position: relative;
}

.topbuttons div:last-child .sparkle {
   top: -3px;
   right: -3px;
   fill: #fcb3ff;
}

.topbuttons div:last-child:hover .sparkle {
   fill: #fff;
}

.topbuttons div:last-child {
   border-radius: 30px;
   background: #2B2B47;
   color: #C8FFCD;
   font-weight: 600;
   padding: 12px 35px;
   font-size: 18px;
   letter-spacing: 1.8px;
}

.topbuttons div:last-child:hover {
   background: #C8FFCD;
   color: #2B2B47;
}

.decorcontBG {
   z-index: -1;
   padding: 0;
   margin: 0;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   position: absolute;
   position: fixed;
   background: linear-gradient(180deg, #161B37 0%, #1f2547 100%);
    background: linear-gradient(180deg, #16162b 0%, #161620 100%);
    
}

.decor1 {
   width: 688px;
   height: 659px;
   position: absolute;
   display: block;
   border-radius: 30% 70% 70% 30% / 30% 51% 49% 70% ;
   background: #1d1f61;
   opacity: 1;
   animation: spin 40s linear infinite;
   bottom: -300px;
   opacity: 0.3;
   left: 0px;
}
.decor3 {
   width: 688px;
   height: 659px;
   position: absolute;
   display: block;
   border-radius: 30% 70% 70% 30% / 30% 51% 49% 70% ;
   border: 2px solid #6e6cce;
   background: none;
   opacity: 1;
   animation: spin 40s linear reverse;
   bottom: -300px;
   left: 0px;
}
.decor2 {
   width: 604px;
   height: 604px;
   position: absolute;
   border-radius: 450px;
  /* background: #17132c;
  */
   display: block;
   background: none;
   animation: spin 150s linear infinite reverse;
   border: 3px dashed #6662c7;
   opacity: 0.7;
   top: -300px;
   right: -200px;
}

@keyframes spin {
   to {
       transform: rotate(360deg);
  }
}

  .logoname {
   gap: 12px;
   color: #1F1F3A;
   font-size: 30px;
   font-weight: 900;
   letter-spacing: 3px;
   display: flex;
   width: 100%;
   justify-content: center;
  /* flex-wrap: wrap;*/
}

.acc.logoname {
   width: fit-content;
   font-size: 20px;
}

.hubTitle {
   color: #e4e4ff;
   font-weight: 900;
   margin-top: 10px;
   white-space: nowrap;
}

.acc.hubTitle {
   margin-top: 0;
   margin-left: 30px;
   letter-spacing: 1px;
}

.logoname > span {
   padding: 5px 15px;
   position: relative;
}

.logoname > span svg:nth-child(1) {
   width: 45px;
   height: auto;
}

.logoname.acc > span svg:nth-child(1) {
   width: 30px;
   height: auto;
}


.sparkle {
   width: 18px;
   height: auto;
   position: absolute;
   top: -9px;
   right: -9px;
}

.logoname > span:nth-child(1) {
   background: #2B2B47;
   padding: 0px 7px;
   display: flex;
   align-items: center;
}

.logoname > span:nth-child(2) {
   background: #BCFFCF;
}
.logoname > span:nth-child(3) {
   background: #fcb3ff;
}


.socials {
   position: fixed;
   bottom: 40px;
   display: flex;
   flex-direction: column;
   z-index: 110;
   left: 30px;
}
.socials div .socialhover {
   opacity: 1;
   transition: 0.3s linear;
   stroke-dashoffset: 1000;
   stroke-dasharray: 1000;
}
.socials div:hover .socialhover {
   opacity: 1;
   stroke-dashoffset: 920;
}
.socials div:hover {
   transform: scale(1.05);
}
.socials div {
   margin: 5px 0;
   transition: 0.2s linear;
   vertical-align: middle;
   position: relative;
}


.site-footer {
   position: relative;
   z-index: 2;
   margin-top: 60px;
   padding: 32px 40px 4px;
   text-align: center;
}

.site-footer-social {
   display: flex;
   justify-content: center;
   gap: 14px;
   margin-bottom: 20px;
}

.site-footer-social a {
   width: 36px;
   height: 36px;
   border-radius: 50%;
   background: #2B2B47;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: background 0.15s, transform 0.15s;
}

.site-footer-social a:hover {
   background: #353568;
   transform: translateY(-2px);
}

.site-footer-links {
   display: flex;
   justify-content: center;
   align-items: center;
   flex-wrap: wrap;
   gap: 10px;
   font-size: 14px;
   color: #a9a8d4;
}

.site-footer-links a {
   color: #a9a8d4;
   transition: color 0.15s;
}

.site-footer-links a:hover {
   color: #BCFFCF;
}

.site-footer-links .dot {
   opacity: 0.5;
}

.site-footer-links .contact-btn {
   background: none;
   border: none;
   padding: 0;
   margin: 0;
   font: inherit;
   color: #a9a8d4;
   cursor: pointer;
   transition: color 0.15s;
}

.site-footer-links .contact-btn:hover {
   color: #BCFFCF;
}

.site-footer-copy {
   margin-top: 16px;
   font-size: 12px;
   color: #6f6e94;
   letter-spacing: 0.3px;
}

.avatar {
   width: 72px;
   height: 72px;
   flex-grow: 0;
   flex-shrink: 0;
   position: relative;
   top: -10px;
   border-radius: 50%;
   outline: 2px solid #AEDBFF;
   outline-offset: -1px;
}

.infobody {
   position: relative;
   gap: 30px;
   justify-content: center;
   display: flex;
   margin-top: 70px;
}

 section {
   display: flex;
   justify-content: center;
   flex-direction: column;
   align-items: center;
 }

.accbody {
   position: relative;
   gap: 30px;
   justify-content: center;
   display: flex;
   margin-top: 70px;
   background: #35356871;
   padding: 60px 40px 25px 40px;
   width: 70%;
   border-radius: 12px;
}

.accheader {
   position: absolute;
   top: 0;
   width: 100%;
   height: fit-content;
   display: flex;
   justify-content: flex-start;
   padding: 5px 10px 0 30px;
   background: #353568;
   border-radius: 12px 12px 0 0;
}

.accheader div:nth-child(1) {
   background: linear-gradient(90deg, #9C98FF 0%, #BA9BFF 100%);
   border-radius: 10px 10px 0 0;
   padding: 5px 35px;
}


.messages {
   display: flex;
   gap: 17px;
   flex-direction: column;
   width: 565px;
   position: relative;
}

.messages .msg {
   background: #fff;
   border-radius: 30px;
   padding: 12px 30px;
   width: fit-content;
   color: #000;
   font-family: "Fredoka", "Outfit", serif;
   font-size: 21px;
   font-style: normal;
   font-weight: 400;
   position: relative;
   transform-origin: 0 100%;
   transform: scale(0, 0);
   animation: scaleUp 0.25s ease-out forwards 0.4s;
   z-index: 5;
}

.messages div:nth-child(3) {
  animation-delay: 0.5s;
}

.messages div:nth-child(4) {
   animation-delay: 0.6s;
 }


 .typing {
   position: relative;
   top: 0;
   left: 0;
   width: 41px;
   height: 7px;
   display: inline-block;
 }

 .typing span {
   content: '';
   animation: blink 1s infinite;
   animation-fill-mode: both;
   height: 8px;
   width: 8px;
   background: #2B2B47;
   position: absolute;
   left: 0;
   top: 0;
   border-radius: 50%;
  animation-delay: 0.1s;
}

.typing span:nth-child(2) {
   animation-delay: 0.3s;
   margin-left: 17px;
}
.typing span:nth-child(3) {
   animation-delay: 0.5s;
   margin-left: 34px;
}
@keyframes blink {
   0% {
      opacity: 0.1;
  }
   20% {
      opacity: 1;
  }
   100% {
      opacity: 0.1;
  }
}

.pseudoType {
   background: #fff;
   border-radius: 50px;
   padding: 10px 30px;
   width: fit-content;
   color: #000;
   font-family: "Fredoka", "Outfit", serif;
   font-size: 21px;
   font-style: normal;
   font-weight: 400;
   position: relative;
   transform-origin: 0 100%;
   position: absolute;
   left: 2px;
   transform: scale(0, 0);
   animation: scaleUp 0.2s ease-out forwards, scaleDown 0.2s ease-out forwards 0.4s;
   z-index: 0;
}

@keyframes scaleDown {
   0% {
      transform: scale(0);
   }
   100% {
      transform: scale(0);
   }
}


.msg1 > svg, .pseudoType svg {
   position: absolute;
   bottom: 0;
   left: -10px;
}

 .username {
   position: absolute;
   transform: translateY(-100%);
   top: -10px;
   color: #e4e4ff;
   font-family: "Nunito", "Outfit", serif;
   font-size: 21px;
   font-weight: 600;
   display: flex;
   align-items: center;
   gap: 7px;
   left: 0;
 }



@keyframes scaleUp {
   70% {
      transform: scale(1.1, 1);
   }
   100% {
      transform: scale(1, 1);
   }
}
