@import url('https://fonts.googleapis.com/css2?family=Outfit&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

html, body {
    width: 100%;
    height: 100%;
}

body {
    display: grid;
    grid-template-rows: auto 1fr auto;
    background-color: #D7D9CE;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    background-image: url(../images/pattern2.jpg);
    background-size: cover;
}

img {
    width: 100%;
}

.grid3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    grid-gap: 30px;
}

/* COLORS */
.text-dark {color: black;}
.text-light {color: white;}

.viridian-green {background-color: #119DA4;}
.teal-blue {background-color: #0C7489;}
.midnight-eagle {background-color: #13505B;}
.rich-black {background-color: #040404;}
.timberwolf {background-color: #D7D9CE;}
.transparent-bg {background-color: rgba(12, 116, 137, .9);}

/* NAV BAR STYLES */
nav {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr;
}

nav h1 {
    display: flex;
    align-self: center;
    list-style: none;
    color: white;
    font-size: 30px;
    margin: 10px 0;
}

nav ul {
    display: flex;
    position: relative;
    justify-content: right;
    list-style: none;
}

nav ul li a {
    display: block;
    padding: 1em;
    color: white;
    font-weight: bold;
    text-decoration: none;
    transition: all 500ms;
}

nav ul li a:hover {
    background-color: #D7D9CE;
    border-radius: 50px;
    color: black;
    transform: scale(1.2);
}

/* MAIN AREA STYLES */
main {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 70px 100px;
}

/* BOX STYLE */

.box {
    border: 10px solid #D7D9CE;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.box > div {
    height: 100%;
    border: 5px solid #D7D9CE;
    border-radius: 5px;
    padding: 20px 20px;
}

/* FOOTER STYLE */
footer {
    background-color: #040404;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 1em;
}

footer h6 {
    color: white;
    text-align: center;
}

#social ul {
    display: flex;
    justify-content: right;
    list-style: none;
}

#social ul li {
    margin-left: 10px;
}

#social ul li a {
    display: flex;
    width: 30px;
    height: 30px;
    background-color: white;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    font-size: 20px;
    color: black;
    transition: all 300ms;
}

#social ul li a:hover {
    margin-top: -5px;
}