/* RESET CSS TO REMOVE DEFAULT STYLING */
* {
    margin: 0;
    border: 0;
    padding: 0;
    text-decoration: none;
}

/* --- TYPOGRAPHY STYLES === */
h1,
h2,
h3,
p,
li,
button {
    color: #FFF;
    text-align: center;
    font-family: broadacre-medium-1;
    font-size: 2rem;
    font-style: normal;
    font-weight: 500;
    line-height: 33px;
    letter-spacing: 3.36px;
}

p,
h3,
li {
    font-size: 14px;
}

p {
    font-family: broadacre-light-0;
    font-weight: 200;
    font-style: normal;
    line-height: 20px;
    letter-spacing: 0.7px;
}

button {
    font-size: 16px;
}

li {
    font-family: broadacre-light-0;
}

ul {
    list-style: none;
}


/* --- HEADER & NAVIGATION === */
header {
    background-color: #493550;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    position: sticky;
    z-index: 2;
    top: 0;
    filter: drop-shadow(0 4px 10px rgba(7, 4, 40, 0.40));
}

.logo {
    display: flex;
}

.logotype {
    padding-left: 20px;
}

.bar-nav {
    display: none;
}

.drawer-nav {
    padding: 20px 0px;
    position: fixed;
    top: -300px;
    left: 0px;
    width: 100%;
    background-color: #493550;
    z-index: 1;
    transition: top .33s;
}

.drawer-nav li {
    padding: 10px 0px;
}

.opened {
    top: 58px;
}

.bar-nav li {
    padding: 5px 15px;
    border-radius: 10px;
}

li:hover {
    color: #34FFA4;
    transition:
        box-shadow .33s,
        color .33s,
        background-color .33s;
    cursor: pointer;
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.33) inset;
    background-color: rgba(0, 0, 0, 0.1);
}

.menu-icon:hover {
    cursor: pointer;
}

/* --- MAIN CONTENT === */
body {
    background: radial-gradient(circle at top, #1F5E5A 0%, #070428 33%);
}

.tagline {
    margin: 50px;
}

.ornament {
    width: 100%;
    height: 30px;
    background-image: url("../images/ornament.svg");
    background-blend-mode: lighten;
    background-position: center;
    background-size: cover;
    opacity: 0.66;
    position: relative;
    z-index: -999;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
}

.card-title {
    margin: 30px 0px 15px 0px;
    padding-bottom: 15px;
    border-bottom: solid 4px #34FFA4;
}

.card-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.learn-more {
    color: #070428;
    padding: 10px 20px;
    border-radius: 10px;
    margin-top: 30px;
    background-color: #FFF;
    transition:
        box-shadow .33s,
        color .33s,
        background-color .33s;
}

.learn-more:hover {
    color: #FFF;
    background-color: rgba(255, 255, 255, 0);
    box-shadow: 0 0 0 5px white inset;
    transition:
        box-shadow .33s,
        color .33s,
        background-color .33s;
    cursor: pointer;
}

/* --- TABLET SIZE ---*/
@media screen and (min-width: 740px) {

    /* --- NAVIGATION --- */
    .menu-icon {
        display: none;
    }

    .bar-nav {
        display: flex;
    }

    li {
        margin-left: 30px;
        text-align: left;
    }

    .opened {
        top: -300px;
    }


    /* --- MAIN CONTENT --- */
    .card {
        flex-direction: row;
        align-items: start;
    }

    .card-text {
        align-items: start;
        padding-left: 50px;
        padding-top: 0px;
    }

    .card-title {
        margin-top: 0px;
    }

    h2,
    p {
        text-align: left;
    }
}

/* --- DESKTOP SIZE ---*/
@media screen and (min-width: 1440px) {
    .card {
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        max-width: 27.5%;
    }

    .card-text {
        align-items: center;
        justify-content: space-between;
        padding-left: 0px;
        padding-top: 0px;
    }

    h2,
    p {
        text-align: center;
    }

    .card-title {
        margin-top: 50px;
    }

    .triptic {
        display: flex;
        align-items: stretch;
        flex-wrap: wrap;
    }

    .hideable {
        display: none;
    }
}