html{
    font-size: 16px;
    margin: auto;
}
body{
    background-color: #e1e4e3;
    color: #0F0F0C;
    margin: 0;
    height: 100vh;
}

/*Title Bar Styling*/
header {
    background-color: #bfc0c0;
    width: 100%;
    position: sticky;
    top: 0;
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
}
header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    grid-column: 1 / span 1;
    margin-left: 5%;

}
header a {
    text-decoration: none;
}
header nav {
    grid-column: 3 / span 1;
    display: flex;
}
.navitem {
    align-self: ;
    justify-self:center;
}
header figcaption{
    color: #0F0F0C;
    font-size: 0.75rem;
    white-space: nowrap;
}
.navimg {
    max-width: 30px;
    max-height: 30px;
}
footer {
    background-color: #bfc0c0;
    width: 100%;
    position: fixed;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    height: 50px;
}

footer p {
    grid-column: 1 / span 1;
    margin-left: 10%;
    align-self: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
}

footer ul {
    grid-column: 3 / span 1;
    display: flex;
   
}

footer li {
    display: inline;
    list-style: none;
    align-items: center;
    margin: 0 10px;
}
.footerimg {
    width: 30px;
}

main {
    width: 100%;
    height: 100vh;
    display: grid;
    grid-template-rows: 100px 1fr 100px;
    grid-template-columns: 1fr 1fr;
}
.container {
    width:90%;
    margin-left: 5%;
    color: black;
    text-align: center;
    background-color: #d1d9ce;
    grid-row: 2 / span 1;
    grid-column: 1 / span 1;
    border-radius: 10px;
    border: 1px solid black;
    margin-bottom: 70px;
}
.container img{
    width: 50%;
    max-width: 400px; 
}
h1,
h2,h3 {
    font-family:  'Montserrat', sans-serif;
    font-weight: 200;
    font-size: 1.8rem;
    text-transform: capitalize;
}


#seconds, #tens {
    font-family:  'Montserrat', sans-serif;
    font-size: 1.5rem;
}

button {
    width: 150px;
    height: 50px;
    background: white;
    border-radius: 10px;
    margin: 10px;
    outline: none;
    font-family:  'Montserrat', sans-serif;
    
}

button:hover{
    opacity: 0.7;
    font-weight: bold;

}
.reference {
    font-size: 0.5rem;
    font-style: italic;
}

#details {
    grid-row: 2 / span 1;
    grid-column: 2 / span 1;
    background-color: #c8d5b9;
    border: 1px solid black;
    margin-right: 5%;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    margin-bottom: 70px;
    text-overflow: ellipsis;
}
#text-container {
    margin: 10%;
    font-family: 'Montserrat', sans-serif;
}
#text-container h2 {
    font-weight: 800;
    font-size: 1.25rem;
}
#text-container p {
    font-size:0.9rem;
    text-overflow: ellipsis;
    margin-bottom: 1%;
}
#text-container h1 {
    font-size: 1.5rem;
    font-variant: small-caps;
    font-weight: 900;
    margin-bottom: 5%;
}
.button {
    margin-bottom: 5%;
    align-self: center;
}
#details button {
    background-color: #e1e4e3;
    border-radius: 5px;
    padding: 10px;
}
#details button:hover{
    background-color: lightgoldenrodyellow;
}