@font-face {
    font-family: 'KGPrimary';
    src: url('./assets/fonts/KGPrimaryItalics.woff') format('woff');
}

* {
    box-sizing: border-box;
}

body {
    font-family: "KGPrimary";
    background-color: #7CA484;
    color: black;
}

header {
    padding-top: 48px;
    padding-bottom: 48px;
    padding-left: 32px;
    padding-right: 32px;
    margin: auto;
    font-size: 36px;
    text-align: center;
}

header h1 {
    padding-top: 6px;
    background-image: url('logo.png');
    height: 92px;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center left;
    padding-left: 104px;
    text-align: left;
    display: inline-block;
}

header h1 span {
    color: #EC001B;
    text-transform: uppercase;
    font-weight: bold;
}

main {
    padding-top: 36px;
    padding-left: 32px;
    padding-right: 32px;
    max-width: 800px;
    margin: auto;
}

main section {

}

main section:nth-child(1) {

}

main section:nth-child(1) span:nth-child(1) {
    display: block;
    font-size: 54px;
}

main section:nth-child(1) span:nth-child(2) {
    display: block;
    font-size: 104px;
    text-transform: uppercase;
}

main section:nth-child(1) span:nth-child(3) {
    display: block;
    font-size: 54px;
    margin-top: -20px;
}

main section:nth-child(2) {
    text-align: right;
    font-size: 36px;
    background-image: url(assets/images/piano.svg);
    background-size: auto 360px;
    background-position: right top;
    background-repeat: no-repeat;
    color: white;
    padding-right: 108px;
    padding-top: 64px;
    padding-bottom: 260px;
}

footer {
    position: relative;
}

footer:before {
    position: absolute;
    top: -142px;
    left: 50%;
    margin-left: -340px;
    content: '';
    background-image: url(assets/images/dog.png);
    background-size: 100% 100%;
    display: block;
    height: 200px;
    width: 96px;
    background-position: right top;
    background-repeat: no-repeat;
}

footer section {

}

footer section .inner {
    padding-left: 32px;
    padding-right: 32px;
    max-width: 800px;
    margin: auto;
}

footer section:nth-child(1) {
    background-color: #7CA484;
    color: black;
    text-transform: uppercase;
    font-size: 28px;
    font-family: Roboto;
    font-weight: bold;
    text-align: center;
    padding-bottom: 4px;
}

footer section:nth-child(1) span:after {
    display: inline-block;
    vertical-align: middle;
    content: '';
    width: 14px;
    height: 14px;
    margin-left: 12px;
    margin-right: 12px;
    background-color: black;
}

footer section:nth-child(1) span:last-child:after {
    content: none;
}

footer section:nth-child(2) {
    background-color: #EB2F1F;
    color: white;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

footer section:nth-child(2) span:first-child {
    font-size: 54px;
}

footer section:nth-child(2) span:last-child {
    font-size: 46px;
}

footer section:nth-child(2) span:last-child a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

footer section:nth-child(3) {
    background-color: white;
    color: black;
    font-family: Roboto;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 18px;
    text-align: center;
}

footer section:nth-child(3) .inner span {
    display: inline-block;
    vertical-align: middle;
}

footer section:nth-child(3) .inner span a {
    display: inline-block;
    width: 48px;
    height: 48px;
    background-size: 100% 100%;
    margin-left: 20px;
}

footer section:nth-child(3) .inner span a.facebook {
    background-image: url('assets/pictos/facebook.png');
}

footer section:nth-child(3) .inner span a.instagram {
    background-image: url('assets/pictos/instagram.png');
}

@media (max-width: 540px) {
    main {
        padding-left: 16px;
        padding-right: 16px;
    }

    main section:nth-child(1) span:nth-child(2) {
        font-size: 80px;
    }

    footer section:nth-child(1) span {
        display: block;
    }

    footer section:nth-child(1) span:after {
        content: none;
    }

    footer section:nth-child(3) .inner span {
        display: block;
    }

    footer section:nth-child(3) .inner span:first-child {
        margin-bottom: 12px;
    }
}