*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body{
    height: 100vh;
    place-content: center;
    position: relative;
    background-image: url(https://unblast.com/wp-content/uploads/2021/01/Space-Background-Images.jpg)
}

main{
    display: flex;
    flex-direction: column;
    place-self: center;
    background-image: url(https://github.blog/wp-content/uploads/2024/06/AI-DarkMode-4.png?resize=800%2C425);
    width: 400px;
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-repeat: no-repeat;
}

main h2{
    font-size: 30px;
    position: absolute;
    bottom: 92%;
    text-align: center;
    width: 100%;
}

main h3{
    text-align: center;
}

main .containerinfo{
    position: absolute;
    bottom: 0%;
    gap: 20px;
    display: flex;
}

.containerinfo::after{
    content: "";
    position: absolute;
    width: 100%;    
    height: 130%;
    backdrop-filter: blur(10px);
    mask-image: linear-gradient(to top, black 80%, rgba(0, 0, 0, 0), transparent);
    z-index: 1;
}

.containerinfo *{
    z-index: 2;
}

button{
    cursor: pointer;
}

main button{
    padding: 5px 20px;
    display: flex;
    place-self: center;
    border-radius: 20px;
    border: none;
}
main .containerinfo div img{
    width: 40px;
    border-radius: 20px;
    display: flex;
    place-self: center;
    height: 40px;
}

#editeacount{
    position: absolute;
    left: 85%;
}

.textinfo{
text-align: center;
}
.infoandimage{
    display: flex;
    gap: 10px;
}
.buttonsaccounts{
    display: flex;
    gap: 5px;
}


section{
    opacity: 0;
    display: flex;
    flex-direction: column;
    border: 2px solid rgb(154, 20, 216);
    place-content: center;
    position: absolute;
    backdrop-filter: blur(10px);
    left: 25vw;
    bottom: 20vh;
width: 50%;
height: 70%;
    z-index: 3;
    transition: all 0.5s ease;
    border-radius: 20px;
}
.accountscontainer{
  overflow-y: scroll;  
  width: 100%;
  height: 85%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-x: hidden;
  padding: 10px;
}

.accountscontainer img{
    width: 50px;
    height: 50px;
    border-radius: 40%;
}

section button{
    place-self: center;
    padding: 10px 20px;
    background: none;
    border: none;
    font-size: 25px;
    transition: all 0.5s ease;
    border: 2px solid rgb(158, 4, 230);
    border-radius: 20px;
}

section button:hover{
    transform: scale(1.1);
}

.buttonkill{
    color: red;
    position: absolute;
    left: 100%;
    border: none;
    background-color: none;
}
.account{
    display: flex;
    gap: 30px;
    justify-content: space-around;
    transition: all 0.5s ease;
    cursor: pointer;
    padding: 10px;
    align-self: flex-start;
    margin-left: 50px;
    border-radius: 20px;
    border: 2px solid transparent;
}

.account:hover{
    transform: scale(1.05);
    border: 1px solid white;
}

.account button:hover{
    background-color: rgb(158, 4, 230);
}

.eraseacount{
    padding: 5px;
    display: flex;
}

.infocontainer{
    display: flex;
    gap: 50px;
}
.buttonscontainer{
    display: flex;
    gap: 10px;
    place-content: start;
    justify-content: space-between;
    width: 100%;
    padding: 20px;
}

@keyframes aparecer {
    0%{
        opacity: 0.5;
        display: flex;
    }

    100%{
opacity: 1.0;
display: flex;
    }
}

@keyframes desaparecer {
    0%{
        opacity: 1.0;
    }

    100%{
        opacity: 0;
        display: none;
    }
}

::-webkit-scrollbar{
    display: none;
}

@media screen and (max-width: 765px) {
   section{
    display: flex;
    flex-direction: column;
    border: 2px solid rgb(154, 20, 216);
    place-content: center;
    position: absolute;
    backdrop-filter: blur(10px);
    left: 5vw;
    bottom: 20vh;
width: 85%;
height: 70%;
    z-index: 3;
    transition: all 0.5s ease;
    border-radius: 20px;
}
   
    section button{
    place-self: center;
    padding: 10px 20px;
    background: none;
    border: none;
    font-size: 15px;
    transition: all 0.5s ease;
    border: 2px solid rgb(158, 4, 230);
    border-radius: 20px;
}
.account{
    gap: 5px;
    padding: 10px;
    margin-left: 0px;
    display: flex;
    flex-direction: column;
}
.infocontainer{
    gap: 0px;
    flex-direction: column;
}

.buttonkill{
    color: red;
    position: absolute;
    left: 100%;
    border: none;
    background-color: none;
}

}

@media screen and (min-width: 768px) and (max-width: 1024px) {
 section{
    display: flex;
    flex-direction: column;
    border: 2px solid rgb(154, 20, 216);
    place-content: center;
    position: absolute;
    backdrop-filter: blur(10px);
    left: 5vw;
    bottom: 20vh;
width: 80%;
height: 70%;
    z-index: 3;
    transition: all 0.5s ease;
    border-radius: 20px;
}   
}