/*-----------------------------------------------*/
/* Global */

@font-face {
    font-family: 'Montserrat';
    src: 
        url('../fonts/Montserrat/Montserrat-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'Montserrat';
    src: 
        url('../fonts/Montserrat/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: 
        url('../fonts/Source_Sans_Pro/SourceSansPro-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'Source Sans Pro';
    src: 
        url('../fonts/Source_Sans_Pro/SourceSansPro-Bold.ttf') format('truetype');
    font-weight: 700;
}

body {
    background-color: #031824;
    color: #fff;
    font-family: 'Source Sans Pro', sans-serif, Arial;
    overflow-x: hidden;
    overflow-y: scroll;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif, Arial;
    font-weight: 700;
}

p,
ol,
li {
    font-size: 1.25rem;
}

a {
    color: #fff;
    cursor: pointer;
    text-decoration: underline;
}
a:hover {
    color: #fff;
    text-decoration: underline;
}

::selection {
    background: #e96e50;
    color: #fff;
}
::-moz-selection {
    background: #e96e50;
    color: #fff;
}

.container-fluid {
    padding: 0;
}


/*-----------------------------------------------*/
/* Weather Search */

.weather-wrapper {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url('../images/weather.jpg');
    position: relative;
}
.weather-wrapper:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #031824;
    background-image: linear-gradient(to bottom right, #031824, rgba(233, 110, 80, .75));
    opacity: .75; 
}

.weather-title {
    font-size: 3rem;
}

.weather-search .weather-search-input {
    height: 64px;
    padding-left: 1.5rem;
    font-size: 1.25rem;
    background-color: rgba(255, 255, 255, .1);
    color: #fff;
    border: none;
    border-radius: 20px;
}
.weather-search .weather-btn {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    font-size: 1.25rem;
    background-color: #e96e50;
    color: #fff;
    border: none;
    border-radius: 20px;
}
.weather-search .weather-btn:hover {
    background-color: #df6547;
}
.weather-search .weather-search-icon {
    width: 20px;
}
.weather-search .weather-credit {
    opacity: .6;
    margin-top: 1rem;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}


/*-----------------------------------------------*/
/* Weather Main */

.weather-main {
    padding: 5rem;
    min-height: 100vh;
}

.weather-overview {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 5rem;
}

.weather-temp  {
    font-size: 7rem;
}

.weather-address {
    font-size: 2.25rem;
}

.weather-date {
    opacity: .7;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 1.5rem;
}

.weather-icon {
    background-color: rgba(255, 255, 255, .15);
    border-radius: 20px;
    width: 5rem;
    height: 5rem;
    display: inline-block;
    margin-right: 1rem;
}
.weather-icon img {
    width: 100%;
}

.weather-text {
    display: inline-block;
    text-transform: capitalize;
}

.weather-details .list-group-item {
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: .5rem 0;
    border-top: 1px rgba(255, 255, 255, .2) solid;
}
.weather-details .list-group-item:first-child {
    border-top: none;
}
.weather-details .list-group-item .float-right {
    font-weight: 700;
}

.weather-details-icon {
    height: 24px;
    width: 24px;
    display: inline-block;
    margin-right: .5rem;
}


/*-----------------------------------------------*/
/* Weather Sidebar */

.weather-sidebar {
    padding: 5rem;
    background-color: rgba(255, 255, 255, .075);
    max-height: 100vh;
    overflow-y: scroll;
    border-left: 1px rgba(255, 255, 255, .3) solid;
    backdrop-filter: blur(10px);

}

.weather-forecast .list-group-item {
    background-color: transparent;
    border: none;
    border-top: 1px rgba(255, 255, 255, .2) solid;
    border-radius: 0;
    padding: 1rem 0;
    font-size: 1.5rem;
}
.weather-forecast .list-group-item .float-right {
    font-weight: 700;
}

.weather-forecast-icon {
    height: 42px;
    background-color: rgba(255, 255, 255, .15);
    border-radius: 12px;
    margin-left: 1rem;
}

.weather-tabs {
    margin-bottom: 2.5rem;
    border-bottom: 1px rgba(255, 255, 255, .3) solid;
}
.weather-tabs .nav-link.active {
    background-color: transparent;
    border-radius: 0;
    font-weight: 700;
    border-bottom: 4px #e96e50 solid;
}
.weather-tabs .nav-link {
    color: #fff;
    text-decoration: none;
    margin-bottom: -1px;
}


/*-----------------------------------------------*/
/* Mobile responsive */

@media screen and (max-width: 992px) {
    .weather-main,
    .weather-sidebar {
        padding: 3rem;
    }

    .weather-overview {
        position: relative;
        padding: 0;
        width: auto;
    }

    .weather-current {
        margin-bottom: 2rem;
    }

    .weather-sidebar {
        max-height: none;
        overflow-y: auto;
    }
}

@media screen and (max-width: 768px) {
    .weather-main,
    .weather-sidebar {
        padding: 2rem;
    }
}