*{
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    height: 100vh;
    max-height: 100%;
    transition: background 0.2s linear;
}

body.dark {
    background-color: #292c35;
}

header {
    display: flex;    
    justify-content: space-between;
    
    height: 10vh;
    
}

/* dark/light theme toggle */
.label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;

    height: 35px;
    width: 67px;
    background-color: #111;
    border-radius: 50px;
    /* padding: 5px; */
}

#checkbox {
    opacity: 0;
    position: absolute;
}

.ball {
    position: absolute;
    background-color: #fff;
    height: 35px;
    width: 35px;
    border-radius: 50%;
    transition: transform 0.2s linear;
}

#checkbox:checked + .label .ball {
    transform: translateX(35px);
}

.fa-moon {
    color: #f1c40f;
}

.fa-sun {
    color: #f39c12;
}

nav ul {
    display: inline;
    justify-content: space-between;
    margin: 0px 20px;
    
}

nav i {
    margin: 0px 15px;
}

nav ul li {
    display: inline;
    justify-content: space-between;
    text-decoration: none;
    list-style-type: none;
    color: #e8e8e8;
    margin: 0px 15px;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 70vh;
    width: 100%;
    
}



input {
    padding: 20px 0;
    /* border-radius: 50px; */
    width: 600px;
    border: 1px solid #d9d9d9;
    border-left: 0;
    border-right: 0;
    
}

input:focus {
    outline: none;
    
}

.search-bar {
    margin: 20px 0;
    position: relative;
}

.search-bar .fa-search {
    font-size: 1.5em;
    color: #413e3e6c;
    position: absolute;
    top: 0.3px;
    left: -50px;

    padding: 15.3px;

    border: 1px solid #d9d9d9;
    border-right: 0;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    
}



.search-bar .fa-microphone {
    font-size: 25px;
    color: #2f46c9;
    
    position: absolute;
    top: 0.3px;
    right: -47px;

    padding: 15px;

    border: 1px solid #d9d9d9;
    border-left: 0;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;

    cursor: pointer;
    
}

.sub-btn {
    display: inline;
    margin: 20px 0;
}

button {
    background-color: #f7f7f7;
    font-size: 20px;
    padding: 15px 20px;
    margin: 10px;
    border: 0;
    cursor: pointer;
}

.sub-btn button:hover {
    border: 1px solid #e8e8e8;
    
}

a {
    text-decoration: none;
    
}

footer {
    max-width: 100%;
    font-size: 20px;
    margin: 0;
    height: 10vh;
}

footer ul {
    list-style-type: none;
}

footer ul li a {
    color: #7a7575;
}

footer .row1,
footer .row2 {
    background-color: #f2f2f2;
    color: #7a7575;

    padding: 10px 10px;
    
}

div.row1 {
    border-bottom: 1px solid rgb(209, 207, 207);
    margin-bottom: 0;
    padding: 1.5em 0 1.5em 2.5em;
}

footer .row2 {
    margin-top: 0;
    margin-bottom: 0;
    
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}



.left-list ul li {
    display: inline;
    margin-right: 10px;
    
    
}

div.right-list {
    margin-right: 1.5em;
}

.right-list ul li {
    display: inline;
    margin-left: 10px;
    
}

