* {
    box-sizing: border-box;
}

.content--profile {
    max-width: 1400px;
    width: 100%;
    min-height: 94vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 600px 1fr;
    grid-template-areas:
        "perfil perfil"
        "literatura matematicas";
    gap: 30px;
}

.section--profile {
    align-self: left;
    padding: 20px;
    margin: 0;
    width: 100%;
    grid-area: perfil;
}

.section--profile__div{
    padding:30px 0 30px 0;
}

.profile--img__div {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-area: imagen
}

.profile--img__div img {
    width: 400px;
    max-width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    box-shadow: 0 0 6px 0 #666;
}

.section--literatura {
    grid-area: literatura;
    box-shadow: 0 0 12px 0 #777;
    border-radius: 20px;
    padding: 30px;
    /*
        max-height: 800px;
        overflow-y: auto;*/
}

.section--matematicas {
    grid-area: matematicas;
    box-shadow: 0 0 12px 0 #777;
    border-radius: 20px;
    padding: 30px;
}

.section--profile__div {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr, 90px;
    grid-template-areas:
        "imagen contenido"
        "boton boton";
    border-radius: 12px;
    box-shadow: 0 0 15px 0 #777
}

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

.profile--content {
    max-width: 700px;
    margin: 20px;
    border: 1px solid #777;
    padding: 20px 30px;
    border-radius: 20px;
    grid-area: contenido
}

.profile--edit__div {
    grid-area: boton;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 22px 20px 22px;
}

.profile--edit__div a {
    display: block;
    padding: 7px 14px;
    border: 1px solid rgb(17, 84, 189);
    border-radius: 12px;
    text-decoration: none;
    color: rgb(17, 84, 189);
    transition: color 0.3s, background-color 0.3s ease;
}

.profile--edit__div a:hover {
    background-color: rgb(17, 84, 189);
    color: #fff
}

.span--description-field {
    font-size: 0.8em;
    font-weight: bold;
}

.lm--profile__content {
    overflow: auto;
}

.section--subtitle__profile {
    text-align: center;
    color: rgb(17, 84, 189);
    padding: 5px 10px;
    font-size: 2.2em;
    text-shadow: 0 0 2px #48e;
}

.lm--profile__div {
    max-height: 250px;
    overflow-y: auto;
    margin: 20px 0
}

.div--like {
    max-height: 170px;
}

.h4--profile__div {
    background-color: #fff;
    width: 100%;
    height: 100%;
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 20px;
}


/*----------MATEMATICAS SECTION---------*/
.mate--div {
    max-height: 650px;
}

.progress__container {
    padding: 3px;
    border: 1px solid black;
    width: 100%;
    height: 47px;
    border-radius: 8px;
}

.progress__container>div {
    border-radius: 5px;
    background-color: rgb(17, 84, 189);
    height: 100%;
}

.curse__container-panel p {
    padding: 0;
    margin: 0;
    margin-bottom: 5px;
}

.content__container-mate {
    display: flex;
    align-items: center;
    justify-content: stretch;
    flex-direction: column;
    gap: 30px;
    padding:3px 20px;
}

.curse__container-panel {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.mate-h4 {
    margin-left: 0;
    padding-left: 0;
}

.mate--div-ex {
    margin-top: 50px;
}

.exercise__span {
    color: red;
}


@media screen and (max-width:1418px) {

    .section--literatura,
    .section--matematicas {
        border-radius: 0;
        margin: 0 20px;
        border-radius: 5px;
        box-shadow: 0 0 4px 0 #444;
    }

    .section--profile__div {
        box-shadow: 0 0 8px 0 #888;
        padding:30px 0;
        padding-bottom: 0;
        margin:0;
    }
}

@media screen and (max-width:1014px) {
    .profile--edit__div {
        margin-top: 0;
        padding-top: 0;
    }

    .section--literatura, .section--matematicas{
        padding:20px;
        padding-left: 10px;
    }

    .content--profile {
        width: 100%;
        min-height: 94vh;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        grid-template-areas:
            "perfil"
            "literatura"
            "matematicas";
        gap: 30px;
    }

    .section--profile__div {
        grid-template-columns: 1fr;
        grid-template-areas:
            "imagen"
            "contenido"
            "boton";
        gap: 20px;
        border-radius: 5px;
        box-shadow: 0 0 6px 0 #444;
    }

    .profile--img__div img {
        margin-top: 15px;
        border-radius: 50%;
        box-shadow: 0 0 4px #666;
    }

    .profile--img__div{
        box-shadow: none;
    }

    .profile--content{
        padding:20px;
    }

    .data-information-container{
        flex-direction: column;
        align-items: start;
        justify-content: start;
    }

    .basic-information-h3{
        text-align: center;
    }

    .section--data{
        padding-left:0;
        padding-right: 0;
    }
}

.profile--content{
    border: none !important;
    box-shadow: 0 0 3px #666;
}

.data-information-container{
    display: flex;
    align-items: center;
    gap:10px;
}

.data-information-container p{
    margin:0;
    padding:0;
}

