* {
    box-sizing: border-box;
    transition-duration: 0.3s;
}

body {
    margin: 0;
    background-color: #2a8878;
}

@font-face {
    font-family: 'Cookie';
    font-style: normal;
    font-weight: 400;
    src: local('Cookie-Regular'), url(https://fonts.gstatic.com/s/cookie/v11/syky-y18lb0tSbf9kgqS1NDNpg.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

header {
    background-color: #0c7973;
    display: flex;
    height: 2.5rem;
    justify-content: space-between;
    align-items: center;
    padding: .4rem;

}

header img {
    height: 100%;
}

header span {
    color: white;
    opacity: .7;
    background-color: #2a8878;
    padding: 0.4rem 1rem 0.4rem 0.4rem;
    border-radius: 20%;
}

main {
    text-align: center;
    font-family: Cookie;
    color: #feebda;
    font-size: 2.8rem;
    padding: 1rem;
}

#logo {
    margin-top: 0.8rem;
}

a {
    color: #e782a4;
}

.card {
    position: relative;
    color: #e782a4;
    background-color: #feebda;
    text-align: center;
    padding: 4rem 1rem 1rem 1rem;
    margin-bottom: 1rem;
    width: 100%;

}

h1 {
    margin-top: 0;
}

h3 {
    width: 80%;
    border-bottom: dotted #e782a4;
    margin: auto;
}


nav ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
    background: #feebda;
    margin-top: 0rem;
    font-style: italic;
    font-weight: 700;
    color: #991d42;
    padding: 0.7rem;
}

nav ul li {
    margin: 0 1rem;
}

footer {
    margin-top: 0.5rem;
}

.tablet {
    display: none;
}

section {
    position: relative;
}

@media screen and (min-width:800px) {
    .mobile-only {
        display: none;
    }

    section.top {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
    }

    .top div {
        text-align: left;
    }

    #logo {}

    article {
        display: flex;
    }

    .card {
        margin: 0 0.2rem;
    }

    header {
        justify-content: center;
    }

    .tablet {
        display: inline;
    }

    .top {
        margin-bottom: 2rem;
    }

}

@media screen and (min-width:1000px) {
    header {
        justify-content: flex-end;
    }

    #logo {
        position: absolute;
        bottom: 80%;
        left: 0%;
    }

    nav ul {
        justify-content: flex-end;
    }

    div {
        width: 70%;
        margin: auto;
    }

    div p {
        column-count: 2;
    }

    .desktop {
        position: absolute;
        bottom: 96.4%;
        right: 47%;
    }
}