@font-face {
    font-family: 'Lilita One';
    src: url('../fonts/LilitaOne-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-family: 'Lilita One', cursive;
    font-weight: lighter;
    cursor: url("../media/cursor.png"), auto;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: auto;
}

body {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    background-color: #FFD8C7;
    background-image: url("../media/gplay.png");
}

a {
    cursor: url("../media/pointer.png"), pointer;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #644444;
    border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/*
    MAIN STYLES
 */
main {
    position: relative;
    width: max-content;
    margin-top: 5%;
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
}

main img {
    display: block;
    margin: 0 auto;
    width: 326px;
}

main h1, main h2, main p {
    width: max-content;
    max-width: 100%;
}

main h1 {
    font-size: 4em;
}

main p {
    font-size: 2em;
}

main h2 {
    background-color: #644444;
    padding: 10px 20px;
    border-radius: 10px 10px 0 0;
    color: white;
    margin-top: 20px;
    font-size: 2.5em;
}

main h2 > svg {
    margin-right: 10px;
    vertical-align: middle;
    display: inline;
    width: 30px;
    height: 30px;
}

#dato {
    border-radius: 0 10px 10px 10px;
    padding: 10px 20px;
    background-color: #644444;
    color: white;
    width: 900px;
    max-width: 100%;
    text-align: justify;
}

.site-link {
    color: #644444;
}

/*
    NAV STYLES
 */
nav {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}

nav > a {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #644444;
    width: auto;
    padding: 10px;
    border-radius: 5px;
    margin: 20px;
    color: white;
    text-decoration: none;
    transition: .2s ease all;
}

nav > a:hover {
    transform: scale(1.1) rotate(-5deg);
}

nav > a > p {
    margin: 0;
}

nav > a > svg {
    margin-right: 10px;
    vertical-align: middle;
    display: inline;
    width: 30px;
    height: 30px;
}

/*
    FOOTER STYLES
 */
footer {
    left: 0;
    right: 0;
    background-color: #644444;
    padding: 20px 50px;
    margin-top: 20px;
}

footer p {
    font-size: 1.5em;
    width: 100%;
    text-align: center;
    color: white;
}

.mail-link, .twitter-link {
    background-color: white;
    padding: 5px 10px;
    border-radius: 10px;
    transition: .2s ease all;
    display: inline-block;
    margin: 0;
}

.mail-link:hover, .twitter-link:hover {
    transform: scale(1.1) rotate(-5deg);
}

.mail-link {
    color: #644444;
}

.twitter-link {
    color: #1D9BF0;
}

.mail-link svg, .twitter-link svg {
    margin-right: 10px;
    vertical-align: middle;
    display: inline;
    width: 30px;
    height: 30px;
}