@charset "utf-8";

html {box-sizing: border-box;}
*, *:before, *:after {box-sizing: inherit;}

body {
    font-family: "Cambay", sans-serif;
    font-weight: 400;
    color: #0f2619;
    background-color: #dedede;
    font-size: 110%;
}

h1, h2, h3, h4 {
    font-family: "Cherry Bomb One", system-ui;
    font-weight: 400;
}

h1 {
    font-size: 70px;
    font-weight: 600;
    text-align: center;
}

h2 {
    font-size: 40px;
    margin-bottom: 16px;
    color: #0f2619;
}

h3 {
    font-size: 35px;
    margin-bottom: 16px;
}

h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

p {
    margin-bottom: 16px;
    color: #555;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

li::before {
    content: "✓ ";
    color: #82d110;
    font-weight: bold;
}

header {
    background-color: #402619;
    background-image: url(../images/header.jpg);
    background-repeat: repeat-x;
    color: #fff;
    padding: 24px;
    text-align: center;
    width: 100%;
    min-height: 220px;
}

header h1 {
    font-size: 300%;
    color: #fff;
    margin: 0;
	text-shadow: 5px 5px 5px #000000; 
}

header img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto;
}

nav {
    background-color: #402619;
    border-bottom: 2px solid #82d110;
    display: inline-block;
    text-align: center;
    width: 100%;
}

nav a {
    color: #fff;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    text-align: center;
    display: block;
}

nav a:hover {
    background-color: #2e541b;
}

.btn, .btn-secondary {
    text-decoration: none;
    padding: 14px 34px;
    border-radius: 50px;
    font-weight: bold;
    display: inline-block;
}

.btn {
    background-color: #335424;
    color: #fff;
}

.btn:hover {
    background-color: #223713;
}

.btn-secondary {
    background-color: transparent;
    color: #335424;
    border: 2px solid #335424;
}

.btn-secondary:hover {
    background-color: #335424;
    color: #fff;
}

#wrapper {
    margin: 0 auto;
    width: 100%;
    padding: 32px 16px;
}

main, article {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    background-color: #f0f0f0;
    border-radius: 32px;
    padding: 24px;
    margin-bottom: 32px;
}

main img, article img, main iframe, article iframe {
    width: 100%;
    height: auto;
    border-radius: 24px;
}

main div, article div {
    max-width: 600px;
}

aside {
    background-color: #dedede;
    text-align: center;
    margin-bottom: 32px;
}

aside h2 {
    color: #82d110;
    font-weight: 300;
}

.column {
    padding: 24px;
    border: 2px solid #82d110;
    border-radius: 24px;
    background-color: #f9f9f9;
    text-align: center;
    margin-bottom: 32px;
}

.column img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    margin-bottom: 16px;
}

.profile-icon {
    width: 80px!important;
    height: 80px!important;
    border-radius: 50%!important;
    margin: 0 auto 16px!important;
}

.icon {border-radius: 0!important}

.section2, .section3 {
    text-align: center;
    border-radius: 24px;
    margin-bottom: 32px;
}

.section2 {
    background-color: #82d110;
}

.section2 h2, .section2 p {
    color: #0f2619;
}

.section3 {
    background-color: #fff;
}

.btn-group {
    display: flex;
    flex-direction: column;
	text-align: center;
	justify-content: center;
}

.small {
    color: #777;
    font-size: 14px;
}

.rating {
    color: #82d110;
    margin-bottom: 16px;
    font-size: 18px;
}

.author {
    font-weight: 600;
    margin-top: 16px;
    color: #0f2619;
}

footer {
    background-color: #402619;
	border-top: 2px solid #82d110;
    color: #fff;
    padding: 24px;
    text-align: center;
}

footer p {
    margin-bottom: 16px;
    color: #ccc;
}

.footer-links {
    color: #999;
    font-size: 14px;
    display: inline-block;
    width: 100%;
}

.footer-links a:hover {
    color: #82d110;
}

.logos {height: 30px; display: inline-block; margin-right: 10px}

@media screen and (min-width: 960px) {
    nav {
        padding: 16px 32px;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    nav a {
        padding: 8px 16px;
        display: inline-block;
    }

    #wrapper {
        max-width: 1400px;
        padding: 48px 32px;
        display: flex;
        flex-wrap: wrap;
    }

    main, article, .section2, .section3 {
        width: 100%;
        padding: 48px;
    }

    main img, article img, main iframe, article iframe {
        width: 45%;
        height: auto;
    }

    main div, article div {
        width: 45%;
        text-align: left;
		margin-left: 32px;
    }

    aside {
        width: 100%;
    }

    .column {
        width: 30%;
        margin-left: 1.5%;
        margin-right: 1.5%;
    }

    .btn-group {
        flex-direction: row;
		justify-content: center;
    }

    .btn-group .btn {
        width: auto;
        max-width: 200px;
        margin-right: 16px;
    }
	
	.btn-group {width: 100%;}

    .footer-links {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-links a {
        width: auto;
        padding: 0 10px;
    }
}
