/*fonts */
@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
    font-family: 'Lato Hairline';
    src: url('../font/Lato-Hairline.woff2') format('woff2'),
        url('../font/Lato-Hairline.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lato';
    src: url('../font/Lato-Black.woff2') format('woff2'),
        url('../font/Lato-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* element selectors */

html {
    background-image: url(../assets/background.png);
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgb(254, 250, 224, .5);
}

p {
    color: #283618;
}

h3 {
    text-align: center;
    text-decoration:underline;
    text-decoration-style: double;
    color:#262f09;
    font-family: 'Lato';
}

ul {
    list-style: square;
}

a {
    color: #2d1a05;
}

body {
    font-family: 'Lexend Deca';
}

h1 {
    font-family: 'Lato';
    font-size: 50px;
}

h2 {
    font-family: 'Roboto';
}

figcaption {
    text-align: center;
}

iframe, video {
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: 2px #bc6c25 dashed;
    border-radius: 5px;
}

figcaption {
    color: #bc6c25;
}

/* class selectors */

.title {
    color: #462b12;
    text-align: center;
}
.main {
    width: 500px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.license {
    text-align: center;
    font-size: small;
}

.habitat {
    width: 500px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.nav {
    display: inline-block;
    font-family: 'Lato Hairline';
    
}

.logo {
    position: absolute;
    right: 16px;
    
}

.squirrel {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 500px;
}

.footer {
    font-family: 'Lato Hairline';
}

#me {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* descendant/child selectors */

.info li {
    color: #283618;
}