/* Load Fonts */
@font-face {
    font-family: 'Music';
    src: url('../fonts/music_for_empty_apartments/music.ttf') format('truetype');
}

@font-face {
    font-family: 'YoungHeart';
    src: url('../fonts/young_heart/youngheart.ttf') format('truetype');
}
/* ================================================================================================================== */


/* General styles and title */
body, html {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    background-color: #1E2029;
    font-family: Music;
    color: white;
}

h1.display-4 {
    font-family: YoungHeart;
    font-size: 3rem;
}

h1.display-4, #name, h6 {
    color: #D6EAFF;
    text-shadow: 0 4px 3px rgba(0, 0, 0, 0.4), 0 8px 13px rgba(0, 0, 0, 0.1), 0 18px 23px rgba(0, 0, 0, 0.1);
}

.map-panel, .info-panel {
    background-color: #15171d;
    border: 1px solid black;
}

::-webkit-scrollbar {
    height: 4px;
    width: 4px; }
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    -webkit-border-radius: 10px;
    border-radius: 10px; }
::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #D6EAFF;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); }
::-webkit-scrollbar-thumb:window-inactive {
    background: #D6EAFF; }
/* ================================================================================================================== */

/* Map styles */
#map {
    width: 100%;
    height: 90%;
}

#map:focus, .esri-view-root:focus, .esri-view-surface:focus {
    outline: none !important;
}

.esri-widget--button {
    border-radius: 50%;
    background-color: #D6EAFF;
    color: #15171d;
}

.esri-widget--button:hover {
    background-color: #c2e0ff;
}

.esri-component.esri-attribution.esri-widget {
    display: none;
}

.esri-component.esri-zoom.esri-widget {
    background-color: transparent;
}

.esri-expand__panel {
    background-color: transparent;
}
/* ================================================================================================================== */


/* Card styles */
.info-panel {
    overflow-y: scroll;
    height: 100%;
}

#thumbnail {
    width: 175px;
    height: 175px;
    border-radius: 50%;
    object-fit: cover;
    /*border: 1px solid black;*/
}
/* ================================================================================================================== */


/* Social styles */
.social i {
    font-size: 20px;
    color: gray;
    -moz-transition: all 0.25s;
    -o-transition: all 0.25s;
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
    text-shadow: 0 4px 3px rgba(0, 0, 0, 0.4),
    0 8px 13px rgba(0, 0, 0, 0.1),
    0 18px 23px rgba(0, 0, 0, 0.1);
}

.social i:hover {
    color: #D6EAFF;
}
/* ================================================================================================================== */


/* Music player */
.album-cover {
    width: 30px;
    height: 30px;
}


.btn {
    width: 30px;
    height: 30px;
    position: relative;
}

.btn i {
    font-size: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    height: 50%;
    transform: translate(-50%, -50%);
    display: block;
}

.btn-outline-light {
    color: #D6EAFF;
    border-color: #D6EAFF;
}

.btn-outline-light:hover {
    color: #15171d;
    background-color: #D6EAFF;
    border-color: #D6EAFF;
}

.btn-outline-light:not(:disabled):not(.disabled).active, .btn-outline-light:not(:disabled):not(.disabled):active, .show>.btn-outline-light.dropdown-toggle {
    color: #15171d;
    background-color: #D6EAFF;
    border-color: #D6EAFF;
}


/* ================================================================================================================== */


/* Media queries */

@media (max-width: 764px) {

    .map-panel {
        height: 55vh;
    }

    .display-4 {
        font-size: 2rem !important;
    }

    #thumbnail {
        max-width: 95%;
        height: auto;
    }

    h4 {
        font-size: 14pt;
    }

    .main-row {
        height: 100% !important;
    }

    .info-panel {
        height: 40vh;
        overflow-y: scroll;
    }


    #map {
        height: 85%;
    }

    .social i {
        font-size: 14px;
        margin: .25rem !important;
    }

    #song-name {
        font-size: 10pt;
    }

}


@media (max-width: 380px) {

    .map-panel {
        height: 50vh;
    }

    #map {
        height: 80%;
    }

    .social i {
        font-size: 10px;
        margin: .1rem !important;
    }
}

/* ================================================================================================================== */

.btn-disabled {
    pointer-events: none !important;
    background-color: #e3eaf2;
    color: gray;
}

.esri-component.esri-expand.esri-widget.esri-expand--auto {
    background-color: transparent !important;
}
