@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;1,400&display=swap');

/************************************************
GENERAL
************************************************/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#757575 url('bg.png');
    font-family:"Lato",sans-serif;
    font-weight:400;
    font-style:normal;
    font-size:20px;
    color:#000;
}

#wrapper{
    width:644px;
    margin:10px auto 0;
}

/************************************************
HEADER
************************************************/

header{
    position:relative;
    width:644px;
    height:637px;
    background:url('head.png') no-repeat;
}

nav{
    position:absolute;
    top:159px;
    left:0;
    width:100%;
    text-align:center;
}

nav a{
    display:inline-block;
    margin:0 12px;
    font-family:Arial Black, Arial, sans-serif;
    font-size:18px;
    text-decoration:none;
    text-transform: uppercase;
    color:#757576;
    font-weight: 800;
    transition:color .35s ease;
}

nav a:hover{
    color:#814962;
}

/************************************************
CONTENT
************************************************/

main{
    margin-top:40px;
}

main p{
    margin-bottom:25px;
}

main a{
    color:#63233f;
    text-decoration:underline dotted #834f6a 1px;
    text-underline-offset:4px;
    text-decoration-thickness:1px;
}

main a:hover{
    color:#3f4954;
    text-decoration:underline dotted #192d44 1px;
    text-underline-offset:4px;
}

h1{
    font-family:Arial Black, Arial, sans-serif;
    font-size:24px;
    color:#3f4954;
    margin-bottom:15px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

h2{
    font-family:Arial Black, Arial, sans-serif;
    font-size:20px;
    color:#475159;
    margin-bottom:12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

h3{
    font-family:Arial Black, Arial, sans-serif;
    font-size:16px;
    color:#4f5a5f;
    margin-bottom:10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

i,
em{
    font-style:italic;
    color:#853658;
}

b,
strong{
    font-weight:700;
    color:#1f2b41;
    letter-spacing: 2px;
}

/************************************************
FOOTER
************************************************/

footer{
    margin:60px 0 40px;
    text-align:center;

    font-size:16px;
    letter-spacing:2px;
    color:#3f4954;
}

footer a{
    color:#3f4954;
    text-decoration:none;
}

footer a:hover{
    color:#834f6a;
}

/************************************************
RESPONSIVE
************************************************/

@media (max-width:700px){

    #wrapper{
        width:100%;
    }

    header{
        width:100%;
        height:auto;
        aspect-ratio:644 / 637;
        background:url('head.png') center top/contain no-repeat;
    }

    nav{
        position:absolute;
        top:20%;
        left:0;
        width:100%;
    }

    nav a{
        display:block;
        margin:12px 0;
    }

    main{
        margin:40px 20px 0;
    }

    footer{
        margin:50px 20px 30px;
    }

}