@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html,body{
    margin: 0px;
    padding: 0px;
    font-family: Lato;
    color: white;
}

body{
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-height: 100vh;
}

section.top-section{
    padding: 20px;
}

section.bottom-section{
    padding: 30px 100px;
    min-height: 40vh;
}
section.search-section{
    margin-right:auto;
    margin-left:auto;
    padding-top: 0.5em;
    padding-bottom: 0.09em;
    padding-left: 8em;
    padding-right: 8em;
    text-align: center;
    width: 50em;
}

#search-bar {
    background-color: #2f3143;
    height: 3em;
    width: 100%;
    border-radius: 0.75em;
    border-style: hidden;
    padding-left: 0.75em;
    padding-right: 0.75em;
    box-shadow: 4px 4px 15px 5px rgba(0, 0, 0, 0.3);
}

#search-bar:focus-visible {
    border-style: hidden;
    outline: none;
}

#date{
    font-family: "Work Sans", sans-serif;
    font-size: 40pt;
    font-weight: 600;
    text-align: center;
    margin-top: 10px;
    margin-bottom: auto;
}
#time{
    font-family: "Work Sans", sans-serif;
    font-size: 75pt;
    font-weight: 600;
    text-align: center;
    margin-bottom: auto;
}

#welcome{
    font-family: "Work Sans", sans-serif;
    font-size: 20pt;
    font-weight: 500;
    text-align: center;
    background-repeat: no-repeat;
    background-size: cover;
}

ul{
    list-style: none;
    display: flex;
    flex-direction: row;
    border-radius: 6px;
    background-color: #2f3143;
    height: 76px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}
li{
    flex: 1;
    padding: 17px 0;
    text-align: center;
    transition: background-color .5s ease;
    cursor: pointer !important;
}
li.p {
    color: #fff;
    border-radius: 6px 0 0 6px;
}

li:hover{
    background-color: #1b2836;
    cursor: pointer;
}

a{
    width: 100%
}

.row-1{
    color: #3391ff !important;
    overflow: hidden;
}

.row-2{
    color: #b22222 !important;
    overflow: hidden;
}

.row-3{
    color:  #344a62 !important;
    overflow: hidden;
}

.sliding-middle-out {
    display: inline-block;
    position: relative;
    padding-bottom: 3px;
    overflow: hidden;
}
.sliding-middle-out:after {
    margin: 12px auto 0 auto;
    content: '';
    display: block;
    height: 3px;
    width: 0px;
    background: transparent;
    transition: width .5s ease, background-color .5s ease;
}
.sliding-middle-out:hover:after {
    width: 100%;
    background: #3498db;
}
