* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: rgba(255, 255, 255, 0.866);

}

body {
    background-attachment: fixed;
    text-transform: capitalize;
    overflow-x: hidden;
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
    background-size: cover;
    background-repeat: no-repeat;
}

#loader {
    position: absolute;
    top: 0px;
    bottom: 0px;
    right: 0px;
    left: 0px;
    background: #262626;
    display: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    z-index: 100;

}

#loader.show {
    display: block;
}


.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: transparent;
    border: 3px solid #3c3c3c;
    border-radius: 50%;
    text-align: center;
    line-height: 150px;
    font-family: sans-serif;
    font-size: 20px;
    color: #fff000;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 0 0 10px #fff000;
    box-shadow: 0 0 20px rgba(0, 0, 0, .5);
    z-index: 100;

}

.ring:before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid #fff000;
    border-right: 3px solid #fff000;
    border-radius: 50%;
    animation: animateC 2s linear infinite;
}

#rotator {
    display: block;
    position: absolute;
    top: calc(50% - 2px);
    left: 50%;
    width: 50%;
    height: 4px;
    background: transparent;
    transform-origin: left;
    animation: animate 2s linear infinite;
}

#rotator :before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff000;
    top: -6px;
    right: -8px;
    box-shadow: 0 0 20px #fff000;
}

@keyframes animateC {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes animate {
    0% {
        transform: rotate(45deg);
    }

    100% {
        transform: rotate(405deg);
    }
}


/*======================
    404 page
=======================*/

#error_page {
    position: absolute;
    top: 0px;
    bottom: 0px;
    right: 0px;
    left: 0px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: white;
    z-index: 100;
    display: none;
}

.page_404 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background: #fff;
    font-family: 'Arvo', serif;
    color: #262626 !important;
    z-index: 100;
}

.page_404 img {
    width: 100%;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.container img {
    width: 500px;
    height: auto;
    background-position: center;
    background-repeat: no-repeat;

}


.row h1 {
    font-size: 80px;
    color: #262626;
    text-align: center;
}

.contant_box_404 h3 {
    font-size: 30px;
    color: #262626;
}

.contant_box_404 p {
    font-size: 20px;
    color: #262626;
}

.link_404 {
    color: #fff !important;
    padding: 10px 20px;
    background: #39ac31;
    margin: 20px 0;
    display: inline-block;
}

#error_page.show {
    display: block;
}

#main {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

#weatherForm {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    width: 95%;
    margin: 0 auto;
    height: 80px;
    padding: 15px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.644), -2px -4px 10px rgba(0, 0, 0, 0.781);
}

.sideHeader {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    color: rgba(255, 255, 255, 0.866);
    font-family: Arial, Helvetica, sans-serif
}

.sideHeader img {
    width: 100px;
    height: auto;
    border-radius: 10px;
    margin-right: 20px;
}

#weatherForm input {
    font-size: 1.3rem;
    padding: 5px 10px;
    margin: 0 10px;
    outline: none;
    border-radius: 10px;
    background-color: rgba(199, 197, 197, 0.403);
    border: 0px;
    border-right: 1px solid gray;
    color: rgb(63, 63, 63);
    width: 180px;
    text-transform: capitalize;
}

#weatherForm label {
    color: rgba(255, 255, 255, 0.897);
    font-size: 1.3rem;
    margin-right: 5px;
}

#weatherForm button {
    background-color: rgba(0, 157, 255, 0.611);
    color: rgba(255, 255, 255, 0.866);
    border-radius: 7px;
    font-size: 1.2rem;
    padding: 4px 6px;
    outline: none;
    border: 0px;
    border: 1px solid transparent;
    box-sizing: border-box;
}

#weatherForm button:hover {
    background-color: rgba(240, 248, 255, 0.808);
    border: 1px solid rgba(0, 157, 255, 0.611);
    border-style: inset;
    color: rgba(0, 157, 255, 0.611);
}


#weatherForm:hover input {
    background-color: rgba(240, 248, 255, 0.4);
}

.currentWeather {
    width: 20%;
    height: 500px;
    margin: 10px 40px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    border-radius: 15px;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.644), -2px -4px 10px rgba(0, 0, 0, 0.781);
}

.heading_2 {
    color: white;
    font-size: 1.5rem;
    font-family: Arial, Helvetica, sans-serif
}

.weatherDescription img {
    width: 150px;
    height: auto;
    background-color: rgba(255, 255, 255, 0.159);
    border: 15px solid rgba(255, 255, 255, 0.305);
    border-radius: 50%;
    padding: 20px;
}


.weatherDescription {
    padding: 0px 10px;
}

.weatherDescription h2, h3, p {
    color: rgba(255, 255, 255, 0.897);
    text-align: center;
    padding: 10px 5px;
}

.temp {
    font-size: 3rem;
    color: rgba(225, 226, 227, 0.79);
}

p {
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: center;
}

.weatherDescription p span, .weatherDescription span {
    padding: 0 2px;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.location {
    padding-top: 2px;
}

.currentWeather:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.dayTimeCard {

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 70%;
    height: auto;
    margin: 10px 0 0 0;
    color: rgba(255, 255, 255, 0.897);
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

.wrapper {
    height: 200px;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.button-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    flex-wrap: wrap;
    z-index: 3;
}

.button-wrapper button {
    padding: 3px 5px;
    background-color: rgba(165, 162, 162, 0.156);
    border-radius: 10px;
    font-size: 1.3rem;
    border: 0px;
    color: white;
}

.button-wrapper #left-button:hover {
    transform: translateX(-3px);
    background-color: rgba(255, 255, 255, 0.66);
    color: black;
}

.button-wrapper #right-button:hover {
    transform: translateX(3px);
    background-color: rgba(255, 255, 255, 0.6);
    color: black;
}

.carousel {
    margin: 0;
    padding: 0;
    list-style: none;
    width: 500px;
    display: flex;
    left: 0;
    position: absolute;
    transition: all 1s ease;
}

.card {
    min-width: 130px;
    height: 170px;
    margin-right: 1rem;
    display: inline-block;
}

.dayCard {
    z-index: 1;
    margin: 0 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    list-style: none;
}

.timecard {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    padding: 7px;
    width: 130px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 5px;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.644), -2px -4px 10px rgba(0, 0, 0, 0.781);
    margin-top: 20px;
}

.timecard img {
    width: 70px;
    height: 70px;
}

.timecard h2 {
    font-size: 2rem;
}

.time {
    padding: 10px 0;
    font-size: 1rem;
}

.timecard:hover {
    background-color: rgba(255, 255, 255, 0.15);

}

.mainDisplayArea {
    margin-top: 20px;
    padding: 20px 0;
    width: 100%;
}

.detail_head {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.detail_head .weatherHeading {
    font-size: 1.5rem;
    margin: 0;
    text-align: left;
}

.detail_head #datetime {
    font-size: 1.2rem;
    text-align: center;
    padding: 10px 10px 5px 10px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    backdrop-filter: blur(5px);
    box-sizing: border-box;
    justify-content: baseline;
    width: 300px;
    height: 40px;
}

.detail_head #datetime:hover {
    color: black;
    box-shadow: none;
}

.deatils {
    display: grid;
    grid: auto / auto auto auto auto auto auto;
    text-align: center;
    column-gap: 15px;
}

.deatils p {
    padding-top: 20px;
    margin: 20px 20px 20px 0px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.644), -2px -4px 10px rgba(0, 0, 0, 0.781);
    backdrop-filter: blur(5px);
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    font-size: 1.4rem;
    letter-spacing: 0.09rem;
    text-align: center;
    line-height: 1.8rem;
}

.deatils span {
    font-size: 1.2rem;
}

#weekCards {
    margin-top: 20px;
    width: 100%;
    padding: 15px 40px;
    color: rgba(255, 255, 255, 0.897);
    box-sizing: border-box;
}

.NextWeekCardHoldwer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.NextWeekTimecard {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    padding: 30px 15px;
    width: 35%;
    height: auto;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 5px;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.644), -2px -4px 10px rgba(0, 0, 0, 0.781);
    margin: 20px 40px;

}

.NextWeekTimecard img {
    width: 70px;
    height: 70px;
}

.NextWeekTimecard h2 {
    margin-top: 10px;
    font-size: 1.5rem;
}

.NextWeekdate {
    font-size: 1.2rem;
    font-weight: 700;
}

.NextWeekTimecard:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

footer {
    width: 95%;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.644), -2px -4px 10px rgba(0, 0, 0, 0.781);
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    margin: 0 auto;
    padding: 15px 0;
}

footer p {
    font-size: 1.5rem;
}