* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: url(images/background.jpg) no-repeat center center fixed;
    background-size: cover;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    background-color: grey;
}

.nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    
    height: 60px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;

    padding: 10px;

    font-size: 14px;
}

a:link,
a:visited {
    color: white;
    text-decoration: none;
}

.nav > a {
    margin-right: 15px;
    padding: 5px;
}

.nav > a:last-of-type {
    margin-right: 0px;
}

.nav > .grid-icon:hover,
.nav > .profile-icon:hover {
    background-color: rgb(221, 221, 221, 0.08);
    border-radius: 50%;
}

.nav > .gmail:hover,
.nav > .images:hover {
    text-decoration: underline;
}

.profile {
    display: block;
    height: 35px;
    width: 35px;
}

.profile .secondary {
    fill: white;
}

.profile .primary {
    fill: grey;
}

.grid {
    display: block;
    height: 25px;
    width: 25px;
    fill: white;
}

.page {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 900px; 

    padding: 20px;
    color: white;
}

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

.header {
    height: 92px;
    width: 272px;
    margin-bottom: 40px;
    
    font-size: 80px;
}

.search-bar {
    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    width: 75%;
    padding: 12px;
    margin-bottom: 32px;

    background-color: white;
    border-radius: 25px;
}


.icon-search {
    width: 20px;
    margin-right: 15px;
}

.icon-search .primary {
    fill: white;
}

.icon-search .secondary {
    fill: grey;
}

.icon-microphone {
    width: 20px;
    cursor: pointer;
}

.icon-microphone .primary {
    fill: orange;
}

.icon-microphone .secondary {
    fill: blue;
}


input {
    width: 100%;

    font-size: 16px;
    border: none;
}

input:focus {
    outline: none;
}

.recents {
    display: flex;
    flex-wrap: wrap;

    width: 70%;
}


.recent {
    display: flex;
    flex-direction: column;
    align-items: center;

    /* 20% width = 5 per row */
    width: 20%;
    padding: 12px 0px;
    margin-bottom: 20px;
}

.recent:hover {
    background-color: rgb(221, 221, 221, 0.08);
}

.icon {
    height: 50px;
    width: 50px;
    position: relative;
    margin-bottom: 20px;

    background-color: rgb(224, 230, 233);
    border-radius: 50%;
}

.icon img {
    height: 25px;
    width: 25px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.caption {
    width: 75px;
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    height: 60px;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;

    padding: 20px;

    
    color: white;
    fill: white;
}

.photo-source {
    display: flex;
}

.photo-source svg {
    margin-right: 5px;
}

.footer a {
    font-size: 12px;
    text-decoration: underline;
}

.footer svg {
    display: inline-block;
    height: 1em;
    width: 1em;
}
