@import "./general.css";
@import "./header.css";
@import "./footer.css";
@import "./component.css";


.profile {
    /* height: 90%; */
    padding: 10px 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 2fr repeat(3, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    align-items: center;
    justify-items: center;
}

.profile__picture {
    grid-area: 1 / 1 / 2 / 2;
    width: 200px;
    border-radius: 50%;
}

.profile__name {
    grid-area: 1 / 2 / 2 / 3;
}

.profile__about-me {
    grid-area: 2 / 1 / 3 / 3;
    padding: 10px;
}

.profile__count-question {
    grid-area: 3 / 1 / 4 / 2;
}

.profile__count-bookmark {
    grid-area: 3 / 2 / 4 / 3;
}

.profile__counter {
    border: 1px solid black;
    padding: 10px;
    border-radius: 12px;
    width: 90px;

    display: flex;
    align-items: center;
    justify-content: space-around;
}

.profile__counter-image {
    width: 30px;
}

.profile__counter-counter {
    display: inline;
    font-size: 1.5rem;

}


.profile__settings {
    grid-area: 4 / 1 / 5 / 3;
    justify-self: start;

    /* A grid the settings  */
    width: 50%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    padding: 10px;
    align-items: center;
}

.profile__settings__title {
    grid-area: 1 / 1 / 2 / 3;
    margin: 10px 0px;
}

.profile__settings__setting-name {
    grid-area: 2 / 1 / 3 / 2;
}

.switch {
    grid-area: 2 / 2 / 3 / 3;
}


/* Big Screen. */
@media screen and (min-width:700px) {
    .profile {
        /* height: 90%; */
        padding: 10px 15%;
        display: grid;

    }

}