.main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    height: 100vh;
    width: 100vw;
    min-width: 100vw;
    min-height: 100vh;

    background-image: url("./img/bg1.jpg");
    background-size: cover;
    background-position: center;
}

#watermark-container {
    width: 100vw;
    display: flex;

    justify-content: right;
}

#watermark {
    display: flexbox;
    position: fixed;
    bottom: 1;
    margin: 2rem;
    padding: 10px;

    text-decoration: none;
    color: rgb(255, 255, 255);
    background-color: black;
    opacity: 0.3;

    border: solid black 1px;
    border-radius: 10px;

    transition: all 0.5s ease;
}

#watermark:hover {
    filter: invert();
    opacity: 1;
}

#watermark-text {
    display: none;
    width: 0px;
}

.box {
    display: flex;
    flex-direction: column;

    height: clamp(20rem, 10rem, 30rem);
    width: clamp(20vw, 50rem, 30vw);
    min-width: fit-content;
    min-height: fit-content;

    overflow: hidden;

    padding: 3vh;

    background-color: var(--bio-box-bg);
    backdrop-filter: blur(3px);

    border: solid;
    border-color: transparent;
    border-radius: 30px;
    border-width: 2px;

    transition: all 0.5s ease;
}

.box:hover {
    transform: translateY(-0.5rem);
    background-color: var(--bio-box-bg-hover);
}

#mprofile {
    display: flex;
}


.pfp-container {
    display: flexbox;
}

.pfp {
    width: clamp(60px, 70vh, 11vh);

    border-radius: 100%;

}

.name-container {
    margin-top: clamp(0.1, 3vw, 1rem);
    margin: 1rem;

    #mname {
        display: block;

        color: var(--bio-mname-colour);

        margin-top: 0.1vh;

        font-size: clamp(18px, 3vh, 2.3vh);
    }
    
    #username {
        display: block;

        margin: 0.2rem !important;

        font-size: clamp(15px, 3vh, 2.3vh);
        color: var(--bio-username-colour);
    }
}


#bio {
    padding: 1vh;
    font-size: clamp(15px, 5vh, 1.3vh);
}

@media (max-aspect-ratio: 3/4)  {
    
    .box {
        justify-content: center !important;
        align-items: center;
        text-align: center;
        scale: 1.3;
    }

  #mprofile {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

}