#informations-distance {
    background-image: url('../../img/background-line-300-hike.svg');
    height: 162px;
    background-repeat: no-repeat;
    background-position: center;
    grid-area: a;
}

#informations-markup {
    grid-area: b;
}

#informations-duration {
    grid-area: c;
}

#informations-elevation-gain {
    grid-area: d;
}

#informations-city {
    grid-area: e;
}

.informations-size {
    height: 73px;
}

.informations-container-title {
    font-family: Lato;
    font-size: 23px;
    font-weight: 900;
}

#informations-grid {
    display: grid;
    gap: 16px;
    grid-template-areas: 
        "a c"
        "a d"
        "b b"
        "e e";
}

.position-relative {
    position: relative;
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--base-white);
    font-size: 40px;
    font-weight: bold;
    font-family: Manosque;
    padding: 2px 5px;
    border-radius: 4px;
    text-align: center;
    z-index: 3;
}

.overlay-text + img {
    filter: brightness(50%);
}

.hike-image-large {
    aspect-ratio: 1;
    width: 336px;
}

.hike-image-small {
    aspect-ratio: 1;
    max-width: 176px;
}

.hike-image-small-filter {
    max-height: 176px;
    filter: brightness(50%)
}

img {
    border-radius: 24px;
    object-fit: cover;
}

.btn-more-information {
    border-radius: 16px;
    background: var(--primary-50);
    color: var(--primary-900);
}

.btn-more-information:hover {

    color: var(--primary-900);
}

.container-ico-info {
    display: flex;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background: var(--primary-500);
}

.ico-star-color {
    background-color: var(--primary-300) !important;
}

.ico-info-color {
    background-color: var(--primary-800) !important;
}

.btn-more-information-reviews {
    font-family: Lato;
    font-size: 12px;
    color: var(--base-grey);
}

.review-average {
    font-family: Manosque;
    font-size: 69px;
    font-style: normal;
    font-weight: 400;
}

.user-image {
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

.review-image {
    border-radius: 16px;
    width: 48px;
    height: 48px;
}

.review-star {
    height: 16px !important;
    width: 16px !important;
}

.progress-bar-review {
    background-color: var(--primary-100);
    border-radius: 10px;
    overflow: hidden;
    height: 8.5px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    flex-grow: 1;
}


.google-map {
    width: 100%;
    height: 300px;
    border-radius: 24px;

}

.map {
    position: relative;
}

.overlay-image {
    position: absolute;
    left: -140px;
    z-index: -1;
}

.no-review {
    color: var(--base-grey);
    font-family: Manosque;
    font-size: 69px;
}

.review-pending {
    background-color: var(--accent-200);
    color: var(--accent-700);
    border-radius: 50px;
    font-family: Lato;
    font-size: 12px;
    text-align: center;
}

.images-container {
    max-height: 368px;
}

.review-option-modal {
    z-index: 3;
    position: absolute;
    width: 181px;
}

.review-option {
    position: relative;
    cursor: pointer;
}

.description-section {
    max-width: 525px;
}

.review-sort {
    border: 1px solid var(--primary-300);
    border-radius: 50px;
    padding: 8px 16px;
    cursor: pointer;
    min-width: 150px;
    text-align: center;
}

.review-sort-selected {
    background-color: var(--primary-300);
}

.starrating>input {
    display: none;

}

/* Remove radio buttons */

.starrating>label:before {
    content: "\f005";
    /* Star */
    margin: 2px;
    font-size: 2rem;
    font-family: 'Font Awesome 5 Free', sans-serif;
    font-weight: 900;
    display: inline-block;
}

.starrating>label {
    color: white;
    -webkit-text-stroke: 2px black;
    /* Start color when not clicked */
}

.starrating>input:checked~label {
    color: #ffca08;
    -webkit-text-stroke: 2px #ffca08;
}

/* Set yellow color when star checked */

.starrating>input:hover~label {
    color: #ffca08;
    -webkit-text-stroke: 2px #ffca08;
}


/* Modal Add/Update Review */

.dashed-square {
    position: relative;
}

.dashed-square svg {
    stroke-width: 1;
    stroke-dasharray: 6, 4;
    fill: none;
    stroke: var(--primary-500);
}

.dashed-square .center-items {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
}

.dashed-sizes {
    width: 100%;
    height: auto;
}

.dashed-main-icon {
    height: 48px;
    width: 48px;
}

.uploaded-image {
    width: 100%;
    object-fit: cover;
    position: relative;
    aspect-ratio: 1;
}

.delete-image-review {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: white;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#sort-buttons {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.modal-bottom .modal-body {
    max-height: 620px;
}

.adaptative-grid {
    display: grid;
    column-gap: 16px;
    grid-template-columns: repeat(4, 1fr);

}

.difficulty {
    height: 32px;
    width: 32px;
}

#comments {
    display: grid;
    gap: 64px;
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {

    .hike-image-large {
        aspect-ratio: auto !important;
        height: 368px !important;
    }

    .hike-image-large-md {
        height: 368px !important;
        max-width: 100%;
    }

    .hike-image-small:not(.hike-image-large-md) {
        height: 176px !important;
        max-width: 100%;
    }

    #informations-grid {
        grid-template-areas: 
            "a a b b"
            "a a c d"
            "e e e e";
    }

    #comments {
        grid-template-columns: repeat(2, 1fr);
    }

    #stars {
        width: 245px;
        position: sticky;
        top: 0;
    }

}

@media (max-width: 992px) {

    .adaptative-grid {
        display: grid;
        column-gap: 16px;
        row-gap: 16px;
        grid-template-columns: repeat(2, 1fr);
        max-height: 330px;
        overflow-y: auto;
    }
    
    .images-container {
        max-height: 100%;
    }

    .modal-bottom .modal-body {
        max-height: none;
    }

}

@media (max-width: 576px) {

    .container {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 27px;
    }

}

.shadow-top {
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.add-review {
    width: max-content;
}