*{
    padding: 0;
    border: 0;
    margin: 0;
    box-sizing: border-box;
}
html, body {
    width: 100%;
    height: 100%;
    font-family: 'roboto', Helvetica, Arial, sans-serif;
    scroll-behavior: smooth;
}
body {
    background-color: var(--background-light);
    position: relative;
}

/** GLOBAL **/
.main-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

.find-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    background-color: var(--finder-bg);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
}

.open-finder {
    display: flex;
}

.close-finder {
    display: none;
}

.finder-buttons,.finder-form {
    display: flex;
    width: 800px;
}

.finder-buttons {
    justify-content: right;
    align-items: center;
    height: 80px;
}
.finder-buttons i {
    font-size: 40px;
    color: var(--finder-input-bg);
    cursor: pointer;
}

.finder-form {
    display: flex;
}

.finder-form input {
    width: 100%;
    height: 60px;
    background-color: var(--finder-input-bg);
    font-size: 30px;
    font-weight: 400;
    padding: 15px;
    margin-right: 10px;
}
.finder-form input:focus{
    outline: none;
}

.finder-submit {
    display: flex;
    width: 60px;
    height: 60px;
    background-color: var(--finder-input-bg);
    cursor: pointer;
}
.finder-submit i {
    color: var(--finder-bg);
    font-size: 35px;
    margin: auto;
}

/** NAVBAR**/
nav {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 50px;
    transition: 0.5s;
    position: fixed;
    z-index: 3;
}
.dark-nav {
    background-color: var(--dark-glass);
}
.dark-nav i {
    color: var(--light-glass);
}
nav ul{
    list-style: none;
}

/** DESKTOP BAR **/
.desktop-bar{
    display: flex;
    justify-content: space-between;
    width: 800px;
    position: relative;
}
.desktop-bar,.mobile-bar {
    height: 100%;
    margin: auto;
}
.logo {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 15px;
}
.logo a {
    width: 200px;
    text-decoration: none;
}
.logo img {
    width: 200px;
}

.nav-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.fa-magnifying-glass {
    font-size: 20px;
    color: var(--dark-glass-hover);
    margin: auto;
    transition: .3s;
}
.fa-magnifying-glass:hover {
    font-size: 23px;
    color: var(--cool-blue);
}

/** MOBILE BAR **/
.mobile-bar{
    display: none;
    width: 100%;
}
.mobile-bar li{
    display: flex;
    justify-content: center;
    align-items: center;
}
.mobile-bar .logo {
    width: 100%;
}
.nav-btn {
    width: 50px;
    height: 100%;
}

/** FOOTER **/
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: var(--footer-light);
}
  
.foot-elements {
    width: 900px;
    margin: auto;
}
  
.foot-elements  a {
    text-decoration: none;
    color: var(--grey-strong);
    transition: 0.3s;
}
  
.social {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 0;
    border-bottom: 0.5px solid var(--grey-strong);
}
.social a {
    font-size: 22px;
    margin: auto 25px;
}
.social a:hover {
    color: var(--cool-blue);
}
  
.credits {
    display: flex;
    justify-content: center;
    padding: 15px 0;
}
.credits p {
    font-size: 13px;
    color: var(--grey-strong);
    margin: auto 3px;
}
.credits a:hover {
    color: var(--cool-blue);
}

@media(max-width: 900px){
    .foot-elements{
        width: 96%;
    }
    .desktop-bar{
        display: none;
    }
    .mobile-bar{
        display: flex;
    }
    .logo a{
        display: flex;
        width: 200px;
    }
    .logo img{
        width: 100%;
        margin: auto;
    }
    .finder-buttons,.finder-form {
        width: 90%;
    }
}
@media(max-width: 450px){
    .finder-form {
        flex-direction: column;
    }
    .finder-form input {
        margin: 0 auto 10px auto;
    }
    .finder-submit {
        width: 100%;
    }

    .credits{
        flex-direction: column;
        align-items: center;
    }
    .credits p{
        margin: 3px auto;
    }
    .social a{
        margin: auto;
    }
}