* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #131313;
    color: #efefef;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 16px;
    /* line-height: 1.5; */
}

/* scrollbar */

::-webkit-scrollbar {
    width: 0.5rem;
}
::-webkit-scrollbar-thumb {
    background: #363636;
    border-radius: 1rem;
}
::-webkit-scrollbar-thumb:hover {
    background: rgb(58, 58, 58);
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: transparent;
}


.background {
    /* background-image: url('img/bg.jpg'); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.5;
    filter: blur(10px);
}

.weather {
    display: flex;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    margin: 2rem;
    padding: 1rem;
    /* text-align: right; */
}

.weather-thing {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    /* margin-bottom: 1rem; */
}

.weather-icon {
    font-size: 2rem;
    margin-right: 1rem;
    flex-direction: column;
}

.weather-temp {
    font-size: 1.5rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 500;
    /* margin-bottom: 1rem; */
    flex-direction: column;
}

.weather-desc {
    font-size: 1.2rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    /* margin-bottom: 1rem; */
    /* font-style: italic; */
}

.main {
    margin: 2rem;
    padding: 3rem;
}

.welcome {
    font-size: 1.5rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 500;
    margin-bottom: 1rem;
}

.clock {
    font-size: 5rem;

    /* margin: 2rem; */
    opacity: 0.8;

}

.date {
    font-size: 1.5rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    /* margin-top: 1rem; */
    opacity: 0.7;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.colon {
    animation: blink 1s linear infinite;
}

.beepboop {
    /* place the search bar and the search button next to each other */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

#search {
    background-color: #12121275;
    color: #efefef;
    border: none;
    border-bottom: 1px solid #efefef;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.5rem;
    padding: 0.5rem;
    margin-bottom: 1rem;
    width: 85vw;
    border-radius: .5rem;
}

#search:focus {
    outline: none;
}

#search::placeholder {
    color: #efefef;
    opacity: 0.5;
    transition: opacity 0.1s ease-in-out;
}

#search:focus::placeholder,#search:active::placeholder,#search:hover::placeholder {
    opacity: 0.8;
}

.submit button {
    background-color: #00000035;
    color: #efefef;
    border: none;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.5rem;
    padding: 0.5rem;
    margin-bottom: 1rem;
    width: 6.2vw;
    border-radius: .5rem;
    cursor: pointer;    
    transition: all 0.2s ease-in-out;
}

@keyframes shake {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-25deg);
    }
    50% {
        transform: rotate(25deg);
    }
    75% {
        transform: rotate(-25deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.submit button:hover>i {
    animation: shake 1s ease-in-out;
    animation-fill-mode: forwards;
    scale: 1.1;
}

.autocomplete {
    background-color: #12121285;
    color: #efefef;
    border: none;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    width: 100%;
    border-radius: .5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    position: relative;
    display: none;
}

.autocomplete ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    top: 100%;
    left: 0;
    width: 100%;
    border-radius: .5rem;
    /* display: none; */
}

.autocomplete ul li {
    margin: 0.5rem 0;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 1rem;
}

.autocomplete ul li:hover {
    background-color: #12121295;
    border-radius: .5rem;
}

/* .autofill {
    background-color: #121212;
    color: #efefef;
    border: none;
    font-family: 'Calabri Regular';
    font-size: 1.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    width: 100%;
    border-radius: .5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.autofill a {
    color: #efefef;
    text-decoration: none;
    font-size: 1.5rem;
    font-family: 'Calabri Regular';
    margin: .5rem;
}

.autofill a:hover {
    color: #fff;
} */

.stuffers {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.schedule {
    background-color: #12121295;
    color: #efefef;
    border: none;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    width: 40%;
    border-radius: .2rem;
    /* cursor: pointer; */
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    border-left: 3px solid #efefef;
}

.schedule li {
    list-style: none;
    margin: 0.5rem 0 1rem 0;
    /* text-transform: lowercase; */
    background-color: hsla(0, 0%, 15%, 0.3521);
    padding: 1rem;
    border-radius: calc(.5rem - .2rem);
}

.schedule a {
    color: #efefef;
    text-decoration: none;
    font-size: 1.5rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: .5rem;
}

.schedule .title {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.schedule .expired {
    display: none;
}

/* make in an apple calender style */
.events {
    background-color: #12121295;
    color: #efefef;
    border: none;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    width: 40%;
    border-radius: .2rem;
    /* cursor: pointer; */
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    border-left: 3px solid #efefef;
}

.events li {
    list-style: none;
    margin: 0.5rem 0 1rem 0;
    /* text-transform: lowercase; */
    background-color: hsla(0, 0%, 15%, 0.3521);
    padding: 1rem;
    border-radius: calc(.5rem - .2rem);
}

.events a {
    color: #efefef;
    text-decoration: none;
    font-size: 1.5rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: .5rem;
}

.events .title {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.gg {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 100;
}

.links ul {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

.links ul li {
    list-style: none;
    margin: 1rem 1.5rem;
}

.links ul li a {
    background-color: hsla(0, 0%, 15%, 0.521);
    padding: 1rem;
    border-radius: .5rem;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.links ul li a:hover {
    /* background-color: hsla(0, 0%, 15%, 0.721); */
    color: #efefef;
}

.links ul li a img {
    border-radius: 50%;
    transition: all 0.2s ease-in-out;
}

/* make it so when you hover the link it makes the image bigger */
.links ul li a:hover img {
    transform: scale(1.25);
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 1.0);
}

.gay {
    color: #efefef;
    text-decoration: none;
}

/* settings modal */
.settings {
    position: absolute;
    top: 25%;
    left: 25%;
    transform: translate(-50%, -50%);
    width: 50vw;
    height: 60vh;
    background-color: #4d4d4d42;
    border-radius: .5rem;
    padding: 1.5rem;
    z-index: 9999;
    display: none;
    visibility: hidden;
    pointer-events: none;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    /* blur the background for a glass effect */
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    /* then we add even more blur on the edges */
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
    /* and an even blurrier border */
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.settings-button {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background-color: #00000035;
    border: none;
    color: #efefef;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    padding: 0.5rem;
    border-radius: .5rem;
}


.settings-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.settings-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
}

.settings-item-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: .3rem;
    width: 100%;
}

.add-fav {
    color: #efefef;
    border: none;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.2rem;
    padding: 0.3rem;
    margin: 0.3rem;
    border-radius: .5rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    background-color: #121212;
}

.settings-instructions {
    font-size: 0.8rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    opacity: 0.7;
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
}

.settings-instructions img {
    vertical-align: middle;
    margin-right: .3rem;
    filter: invert(1);
}

.settings-close {
    color: #efefef;
    border: none;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.5rem;
    padding: 0.5rem;
    border-radius: .5rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.settings-close:hover {
    filter: brightness(0.7);
}

.settings-title i {
    font-size: 2rem;
}


@keyframes blink {
    0% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.8;
    }
}

@media only screen and (max-width: 800px) {
    body {
        background-size: cover;
    }
    
    .clock {
        font-size: 3rem;
    }

    .date {
        font-size: 1rem;
    }

    .events {
        width: 100%;
    }

    .events li {
        font-size: 1rem;
    }

    .events .title {
        font-size: 1rem;
    }

    .gg {
        font-size: .8rem;
    }

    .beepboop {
        display: block;
    }

    #search {
        max-width: 100%;
    }

    .submit button {
        display: none;
    }

    .submit button {
        background-color: #6b6b6b;
    }
}

@media only screen and (max-width: 400px) {
    .clock {
        font-size: 2rem;
    }

    .date {
        font-size: 1rem;
    }

    .events {
        width: 100%;
    }

    .events li {
        font-size: 1rem;
    }

    .events .title {
        font-size: 1rem;
    }

    .gg {
        font-size: .8rem;
    }

    .beepboop {
        display: block;
    }

    #search {
        max-width: 100%;
    }

    .submit button {
        display: none;
    }

    .schedule {
        width: 100%;
    }

    .schedule li {
        font-size: 1rem;
    }

    .schedule .title {
        font-size: 1rem;
    }
    
    .links ul li {
        margin: 1rem 0.5rem;
    }

    .links ul li a {
        padding: 0.5rem;
    }

    .weather {
        margin: 1rem;
    }

    .weather-thing {
        margin: 0.5rem;
    }

    .stuffers {
        flex-direction: column;
    }
}

.summer-progress-container {
    background-color: #12121295;
    color: #efefef;
    border-left: 3px solid #efefef;
    border-radius: .2rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-family: system-ui, sans-serif;
}

.summer-bar {
    width: 100%;
    background-color: #333;
    height: 1.2rem;
    border-radius: 1rem;
    overflow: hidden;
    margin: 0.5rem 0 1rem 0;
}

.summer-fill {
    background: linear-gradient(90deg, #ffb653, #ff6b6b);
    height: 100%;
    width: 0%;
    border-radius: 1rem 0 0 1rem;
    transition: width 0.6s ease-in-out;
}
