html {
   height: 100%;
}

body {
    background-color: #121d47;
    margin: 0;
    color: #afb2be;
    min-height: 100%;
}

.header {
   min-height: 204px;
}

.header .wrapper {
    align-items: center;
    display: flex;
    border-bottom: 3px solid #afb2be;
}

.header img {
    margin-right: 50px;
    max-width: 200px;
}


.wrapper { 
    max-width: 900px;
    margin: 0 auto; 
    background-color: #121d47;
}

.main .wrapper {
    min-height: calc(100vh - 204px);
    grid-template-columns: 250px auto;
    display: grid;
}

.content {
    padding: 20px 20px 20px 0;
    grid-column: 2/span 1;
}

.left-side {
    grid-column: 1/span 1;
    width: 250px;
    font-family: 'Cinzel', serif;
    text-align: left;
    margin-top: 40px;
}

.left-side h3 {
    border-top: none;
}

.contact-details p {
    margin-bottom: 0;
}

.navigation ul {
    list-style: none;
    text-align: left;
    margin: 0;
    padding: 0;
}

.navigation li {
    margin: 0;
}

.navigation a {
    font-family: 'Cinzel', serif;
    text-decoration: none;
    font-size: 20px;
}

h1 {
    font-size: 30px;
    height: 100%;   
}

h1, h2, h3 {
    font-family: 'Cinzel', serif;
}

h2 {
    font-size: 30px;   
    margin-top: 0;
}

h3 {
    border-top: 1px solid  #afb2be;
    padding-top: 8px;
    margin-top: 25px; 
}
p, li {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.7; 
}
a {
    color: #9aeced;
}

.footer {
    border-top: 1px solid  #afb2be;
    padding-top: 8px;
}

.footer span:last-child {
    display: block;
    float: right;
}

.footer span img {
    max-width: 20px;
}

.visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }



@media screen and (max-width: 768px) {
    .main .wrapper {
        max-width: none;
    }    
    .content {
        margin-left: 0;
        padding-right: 0;
    }
    .header .wrapper {
        display: block; 
        text-align: center;
    }
    .header img {
        margin-right: 0;
    }
    .wrapper {
        padding: 0 12px;
    }

    .main .wrapper {
        display: block;
    }

    .left-side {
        width: 100%;
        margin-top: 10px;
    }

    .contact-details {
        margin-top: 10px;
        border-top: 1px solid white;
        padding-top: 8px;
        overflow: hidden;
    }

    .contact-details p {
        float: left;
    }

    .contact-details p:last-child {
        float: right;
    }

    .contact-details h3 {
        display: none;
    }

    h2, h3 {
        text-align: center;
    }
    p {
        font-size: 105%;
    }  

    .footer span span {
        display: none;
    }

    .footer span:last-child {
        float: none;
    }

    .footer span img {
        max-width: 30px;
        margin-top: 12px;
    }
}

@media screen and (max-width: 1024px) {
    body {
        background-color: #121d47
    }
  }