@font-face {
    font-family: 'Cavalhatriz';
    src: url('../font/Cavalhatriz.ttf') format('truetype');
}

@font-face {
    font-family: 'PixelPoiiz';
    src: url('../font/pixelpoiiz.ttf') format('truetype');
}

@font-face {
    font-family: 'RainyHearts';
    src: url('../font/rainyhearts.ttf') format('truetype');
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    line-height: 1.5;
    position: relative;

    background-image: url('../media/sonanella_bg.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
    pointer-events: none;
}

header, main, footer {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 920px;
    width: 100%;
    margin: 0 auto;
    padding: 0 50px;
    text-shadow: 0 2px 4px rgba(0,0,0,1);
}

h1, h2 {
    font-family: 'Cavalhatriz', sans-serif;
    text-align: center;
}

header {
    font-family: 'Cavalhatriz', sans-serif;
    text-align: center;
    margin-top: 20px;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    font-family: 'PixelPoiiz', sans-serif;
    color: #f1ceff;
    text-align: justify;
}

.signature {
    font-family: 'RainyHearts', sans-serif;
    width: 100%;
    text-align: right;
}

.logo {
    max-width: 80%;
    height: auto;
    margin-bottom: 20px;
}

footer {
    font-family: 'RainyHearts', sans-serif;
    color: #64ffe2;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}