@import url(core.css);
@import url(popup.css);
@import url(card.css);

.img {
    width: 200px;
}

.profile-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
    height: 100%;
    /* width: 1100px; */
    margin: 0 4rem;
}

.profile {
    display: grid;
    grid-template-areas: 
        "image btn"
        "text text"
        "bottom bottom";
    width: 350px;
    height: 100%;
}

.img-container {
    grid-area: image;
    position: relative;
}

.profile-img {
    border-radius: 10px;
    margin: 1rem;
}

.profile-level {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    padding-top: 2px;
    font-size: 1.5rem;
    right: 40px;
    bottom: 50px;
    border: 2px solid black;
}

.profile-edit-btn {
    grid-area: btn;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-around;
    margin-bottom: 2.5rem;
    margin-top: 2.5rem;
}

.profile-text {
    grid-area: text;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.xp-bar-background {
    grid-area: bottom;
    background-color: var(--secondary);
    width: 90%;
    border: 1px solid var(--primary);
    border-radius: 15px;
    height: 15px;
    margin: 1rem;
}

.xp-bar {
    grid-area: bottom;
    background-color: var(--primary);
    width: 40%;
    height: 15px;
    border-radius: 15px;
    margin: 1rem;
}

.btn {
    height: 1.25rem; 
    width: 3.5rem;
}

.btn-wide {
    height: 1.5rem; 
    width: 7rem;
}

.graph-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;

    margin: auto;
    padding-bottom: 5rem;
}

.btn-container {
    text-align: end;
}

.chart-heading {
    padding-top: 2rem;
    margin: 0;
}

.card-container {
    text-align: center;
    opacity: 98%;
    box-shadow: 4.25px 4.25px 4.25px rgba(0, 0, 0, 0.1), 5px 5px 5px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    height: 100%;
    max-width: 700px;
}

.chart-wpm-acc {
    width: 500px;
    height: 550px;
    padding: 1rem;
}

.btn-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
}

.select-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    
    margin: auto;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.chart_missed_keys_container {
    width: 700px;
    height: 400px;
}

.chart_missed_keys {
    margin: auto;
    padding: 1rem;
}

.popup-btn {
    width: 4rem;
    height: 1.5rem;
    padding: 1px;
}

.popup-content-profile {    
    border-radius: 10px;
    padding: 2rem;
    margin: auto;
    margin-bottom: 0;
    width: 500px;
}

.settings-btns-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.feedback-container {    
    background-color: var(--white100);
    border-radius: 10px;
    padding: 3rem;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.settings-container {    
    background-color: var(--white100);
    border-radius: 10px;
    padding: 3rem;
    padding-top: 1rem;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.star-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.star:hover {
    cursor: grab;
}

.review-text {
    resize: none;
    width: 300px;
    height: 100px;
}

.img-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.popup-submit {
    width: 8rem;
    height: 2rem;
    margin-top: 2rem;
}

.settings-row {
    display: flex;
    flex-direction: row;
    justify-content: start;
    margin-bottom: 0.5rem;
}

.popup-container-profile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;    
}

.settings-element {
    width: 25%;    
}

.settings-element-title {
    width:50%;    
}

.settings-option {
    width: 5rem;
    text-align: center;
}