@font-face {
    font-family: 'grenette-semibold';
    src: url('fonts/grenette-semibold.woff2') format('woff2'),
        url('fonts/grenette-semibold.woff') format('woff'),
        url('fonts/grenette-semibold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    padding: 0;
    margin: 0;

    font-size: 1.2rem;
    /* text-align: center; */
    font-family: 'grenette-semibold';
    
    display: flex; 
    flex-direction: row;

    background-image: url("images/watercolor-raw.png");
    background-repeat: repeat-x;
    background-size: 100% 70px;
}

main {
    width: 50%;
    padding: 10rem 7rem 12rem 0rem;
}

nav ul {
    list-style-type: none;
    font-size: larger;
    text-decoration: none;
    padding: 0;
    line-height: 4rem;
}

nav li {
    display: inline;
    padding-right: 2em;
}
nav a {
    text-decoration: none;
    color: #3c4866;
}
nav li a#currentPage {
    text-decoration: underline;
    text-decoration-thickness: 10px;
    text-decoration-color: #bccdde;
    text-underline-offset: 5px;
}

a.buttonPB {
    border: 1px solid black;
    color: black;
    display: block;
    width: 50%;
    line-height: 2.5;
    padding: 0 20px;
    font-size: 1.5rem;
    text-align: center;
    border-radius: 0px;
    padding: 0.3rem;
    background-color: white;
    margin-bottom: 4rem;
}

aside {
    width: 50%;
    position: relative;
}


/* //////////// Debugging, giving backgrounds colors */

/* main {
    background-color: rgba(0, 255, 0, 0.4);
}
aside {
    background-color: rgba(255, 255, 0, 0.4);
} */

/* //////////// END debug */



aside img {
    width: 90%;
}

aside img:nth-child(1) {
    position: absolute;
    transform: rotate(-3deg); 
    top: 10rem;
}

aside img:nth-child(2) {
    position: absolute;
    transform: rotate(1deg); 
    top: 30rem;
    left: 5%;
    z-index: 0;
}

aside img:nth-child(3) {
    position: absolute;
    width: 80%;
    transform: rotate(-1deg); 
    top: 49rem;
    left: 5%;
    z-index: 0;
}

h1 {
    font-size: 4rem;
}

h2 {
    margin: 3rem 0rem 0rem 0rem;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 0.13rem;
}

p {
    margin: 0.7rem 0rem 1.4rem 0rem;
    line-height: 2rem;
    font-family: Helvetica, Arial, sans-serif
}

a {
    color: #29568b;
}

/* Responsive layout - makes a one column layout instead of a two-column layout */
@media (max-width: 800px) {
    body {
        flex-direction: column-reverse;
    }
    main {
        padding: 5rem 1rem 0rem 1rem;
        width: 93%;
    }
    aside {
        width: 98%;
        position: relative;
    }
    aside img {
        position: relative;
    }
    aside img:nth-child(2)  {
        position: relative;
    }
    a.buttonPB {
       
        width: 80%;
      
    }
    nav li {
        display: inline;
        padding-right: 1em;
    }
  }
