html {
    background-color: #7d7964;
    justify-content: center;
    display: flex;
    padding: 2%;
}

body {
    background-color: #ffffff;
    min-width: 300px;
    max-width: 1000px;
    margin: auto;
    display: flex;
    flex-direction: column;
    font-family: arial;
    background-repeat: no-repeat;
    border-radius: 2%;
}

a {
    text-decoration:none;
    color: #646151;
    font-family: Arial, Helvetica, sans-serif;
}

a:hover {
    color: #ddaa0f;
}

h1 {
    color: #ddaa0f;
    font-family: Arial, Helvetica, sans-serif;
}

h2 {
    color: #ddaa0f;
    font-family: Arial, Helvetica, sans-serif;
}


h3 {
    color: #ddaa0f;
}

p {
    color: #7d7964;
}

hr {
    border: #7d7964 0.1px solid;
    width: 100%;
    z-index: 1;
    margin: auto;
    justify-content: center;  
}

.header {
    height: 100%;
    margin: 10%;
}

.logo {
    display: flex;
    max-width: 40%;
    justify-self: center;
    margin-top: 10%;
    margin: auto;
}

.holdem {
    border: #ddaa0f solid 3px;
}
/* Navigation */

.navbar {
    display: flex;
    justify-self: center;
    flex-direction: row;
    width: 70%;
    margin: auto;
    align-content: center;
}

nav {
    width: 100%;
    font-family: arial;
    color: #c0ba9a;
    display: flex;
    text-align: center;
    flex-direction: row;
    justify-content: center;
    align-content: center;
}


.nav {
    display: flex;
    width: 100%;
    list-style: none;
    display: flex;
    background-color:#fce7ab;
    border-radius: 10%;
    flex-direction: row;
    justify-content: space-around;
    padding: 8%;
    border: #ddaa0f solid 2px;
    box-shadow: 0 0 5px rgba(221,170,15,0.5);
    align-content: center;
}


/* Headpage news section */

main {
    justify-self: center;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    border: #fff9f2;
}

.bookpres {
    display: flex;
    text-align: center;
    max-width: 70%;
}

.booktext {
    display: flex;
    justify-content: center;
    max-width: 70%;
    margin: auto;
}

.bookpic {
    display: flex;
        border: #ddaa0f solid 2px;
  
    max-width: 70%;
    justify-self: center;
    margin: auto;

}

.bookpic:hover {
        border: #ddaa0f solid 2px;
    box-shadow: 0 0 5px rgba(221,170,15,0.5);
}

.lasom {
    display: flex;
    max-width: 60%;
    background-color: #fce7ab;
    padding: 3%;
    border-radius: 15%;
    justify-content: center;
    justify-self: center;
    margin: auto;
    margin-top: 2%;
    margin-bottom: 5%;
    border: white solid 2px;
}

.lasom:hover {
        border: #ddaa0f solid 2px;
    box-shadow: 0 0 5px rgba(221,170,15,0.5);
    color: #ddaa0f;
}

/*Books page*/

.container {
    display: flex;
    max-width: 60%;
    justify-items: center;
    margin: auto;
}

.books {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    justify-content: center;
}

.book-title {
    display: flex;
    max-width: 100%; 
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

.varttog {
    display: flex;
    max-width: 100%;
    justify-content: center;
    margin: auto;
    text-align: center;
    border: #ddaa0f solid 2px;
}

.varttog:hover {
        border: #ddaa0f solid 2px;
    box-shadow: 0 0 5px rgba(221,170,15,0.5);
}

.resa:hover {
        border: #ddaa0f solid 2px;
    box-shadow: 0 0 5px rgba(221,170,15,0.5);
}

.resa {
    display: flex;
    max-width: 100%;
    justify-content: center;
    text-align: center;
    margin: auto;
    border: #ddaa0f solid 2px;
}

.drawing {
    margin: auto;
    margin-top: 5%;
    max-width: 100%;
    justify-self: center;
    border: #ddaa0f solid 2px;
}

/*About me page*/

.aboutme {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    justify-content: center;
    margin: auto;
    align-content: center;
}

.aboutsection {
    display: flex;
    flex-direction: row;
    max-width: 100%;
}

.author {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: auto;
    justify-self: center;
    max-width: 100%;
}

.author2 {
    display: flex;
    max-width: 100%;
}

.authorhead {
    display: flex;
    text-align: center;
    justify-self: center;
    margin: auto;
}

.authorpic {
    display: flex;
    max-width: 40%;
    margin: 4%;
    object-fit: scale-down;
    border: #ddaa0f solid 3px;
    border-radius: 5%;
    background-color: #ddaa0f;
}

.ameliabild {
    display: flex;
    justify-content: center;
    max-width: 60%;
    margin: auto;
}

.ameliaillustration {
    display: flex;
    align-content: end;
    margin: auto;
    max-width: fit-content;
    position: relative;
}

.authorpres {
    display: flex;
    max-width: 80%;
    justify-self: center;
    text-align: left;
    margin: 2%;
    position: relative;
}


/*Contact page*/

.contactpage {
display: flex;
justify-self: center;
justify-items: center;
justify-content: center;
align-items: center;
width: 100%;
margin: 0;
padding: 0;
color: #7d7964;
text-align: center;
}

.contacts {
  flex-direction: column;
  display: flex;  
   align-items: center;
     margin: 0;
     padding: 0;
     max-width: 60%;
     margin-left:23%;
}


.Nadina-bild {
    display: flex;
    margin: 0;
    margin-left: -9%;
    padding: 0;
    justify-content: center;
    align-items: center;
    max-width: 30%;
visibility: hidden;
}

.Nadina {
    display: flex;
    margin: auto;
    max-width: 100%;
    width: 40%;
    height: auto;
    padding: 0;
}

.name {
    font-size: 1rem;
    line-height: 120%;
    width: 30%;
}

.mail {
    line-height: 100%;
    text-decoration: none;
    margin-bottom: 7%;
    z-index: 50;
}

.socialmedia {
    display: flex;
    flex-direction: row;
    justify-self: center;
    max-width: 100%;
    max-height: 3rem;
    align-content: center;
    padding: 2%;
    justify-content: center;
}

.linkedin,
.insta,
.youtube,
.facebook {
    display: flex;
    height: 25px;
    width: 20px;
    padding: 5%;
    border: transparent solid 2px;
    justify-content: center;
}

.linkedin:hover,
.insta:hover,
.youtube:hover,
.facebook:hover { 
    border: #ddaa0f solid 2px;
    box-shadow: 0 0 5px rgba(221,170,15,0.5);
    border-radius: 20%;
    background-color: #fce7ab;
}

/* Partner page */

.partners {
    display: flex;
    max-width: 100%;
    justify-self: center;
}

.partner {
    display: flex;
    flex-direction: row;
    max-width: 100%;
    overflow: hidden;
    margin: auto;
}

.partnerlogo {
    display: flex;
    width: 30%;
    margin-left: 5%;
    margin-right: 5%;
    align-self: center;
}

.logo {
    max-width: 100%;
    
}

.partnerinfo {
    display: flex;
    flex-direction: column;
    width: 50%;
    margin: auto;
}

/*Footer section*/

footer {
    display: flex;
    max-width: 100%;
    margin: 0;
    margin-top: 5%;
}

.footer {
    width: 100%;
    background-color: #fce7ab;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: small;
    margin-left: 0;
    padding: 2%;
}

.footer-links {
    display: flex;
    flex-direction: column;
    list-style: none;
    justify-content: center;
    max-width: 60%;
    margin: 0;
}

.fdd {
    display: flex;
    flex-direction: column;
    max-width: 37%;
    align-content: flex-end;
    justify-content: right;
    text-align: right;
    font-size: small;
    margin-right: 3%;
}

.fddlogo {
    width: 50%;
    opacity: 80%;
}