* {
    margin: 0;
    padding: 0;
    /* background-color: #945D60; */
}

html {
    font-size: 50%;
    font-family: 'Barlow Semi Condensed', sans-serif;
}

body {
    padding-bottom: 1rem;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

h1 {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 550;
    color: #3C3C3C;
    font-size: 2rem;
    margin-left: 2rem;
}

p {
    font-family: 'Spectral', serif;
    margin: 2rem;
    color: #3C3C3C;
    font-size: 1.6rem;
    line-height: 2rem;
}

footer {
    font-family: 'Spectral', serif;
    font-size: 1.6rem;
    color: #3C3C3C;
    position: absolute;
    text-align: center;
    bottom: 1;
    width: 100%;
}

.menu-line {
    border-top: 2px solid rgb(60, 60, 60, 0.3);
    border-width: 1px;
    flex-shrink: 0 0 0%;
    margin:0;
	padding:0;
}

.content {
    position:sticky;
    margin-left: 320px;
    padding-bottom: 5rem;
    overflow:hidden;
    /* height: 1000rem;  */
    /* Adjusts height of entire screen; change this to position copyright */
}

.content-mobile {
    display: none;
}

.content-all {
    /* display:block; */
    font-family: 'Spectral', serif;
    color: #3C3C3C;
    font-size: 1.6rem;
}

.content-all:hover{
    color: #51777c; /* This controls all hover colours*/
}

.wrapper, .wrapper2 {
    flex-wrap: wrap;
    margin: 0 auto;
    width: 1025px;
}

.wrapper2 {
    min-height: 87vh;
}

.navbar {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    align-items: center;
}

.hamburger {
    display: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #3C3C3C;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-item {
    display:flex;
    flex-direction:row;
    line-height: 2rem;
    position:relative;
    padding: 0rem;
    margin-left: 2rem;
}

.nav-item2,.nav-item3 {
    display: none;
}

.nav-item4 {
    display:flex;
    flex-direction:row;
    line-height: 1.5rem;
    position:relative;
    padding: 0rem;
    margin-left: 2rem;
}

.nav-link{
    font-size: 2rem;
    color: #3C3C3C;
}

.nav-link:hover{
    color: #51777c; /* This controls all hover colours*/
}

.nav-item a.active, .nav-item2 a.active  {
    font-size: 2rem;
    color: #51777c; /* This controls the active colour -- which site you are selected on */
}

.nav-logo {
    font-size: 3rem;
    text-transform: uppercase;
    color: #51777c; /* This controls the logo colour */
}

/* The side navigation menu */
.sidebar {
    margin: 0;
    padding-top: 1rem;
    width: 320px;
    background-color:rgb(255, 255, 255);
    position:absolute;
    height:85%; /* Change this to make your menu longer or shorter*/
    /* overflow: auto; */
}
  
 /* Sidebar links */
.sidebar a {
    display: block;
    font-family: 'Spectral', serif;
    font-size: 1.6rem;
    line-height: 2rem;
    margin-left: 1rem;
    margin-right: 0rem;
    text-align: left;
    padding: .40rem;
    letter-spacing: 0px;          
} 

.sidebar a {
    display: block;
    justify-content:left;
    align-items: center;
}

  /*Links on mouse-over */
.sidebar a:hover:not(.active) {
    font-family: 'Spectral', serif;
    font-size: 1.6rem;
    line-height: 2rem;
    padding: .40rem;
    letter-spacing: 0px;             
}

.responsive-image {
    display: flex;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.responsive-image2 {
    display: none;
}

.start {
    padding-top: 2rem;
}

.start-centre {
    padding-top: 2rem;
    text-align: center;
}

a {
    position: relative;
    text-decoration: none;
    padding-bottom: 5px;
}

a:before, a:after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #51777c;
}

a:before {
    opacity: 0;
    transform: translateY(-8px);
    transition: transform 0s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0s;
}

a:after {
    opacity: 0;
    transform: translateY(4px);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s;
}

a:hover:before, a:hover:after, a:focus:before, a:focus:after {
    opacity: 1;
    transform: translateY(0);
}

a:hover:before, a:focus:before {
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s;
}

a:hover:after, a:focus:after {
    transition: transform 0s 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0s 0.2s;
}  

/* outer wrapper: set max-width & max-height; max-height greater than padding-bottom % will be ineffective and height will = padding-bottom % of max-width */
#Iframe-Master-CC-and-Rs {
    max-width: 512px;
    max-height: 100%; 
    overflow: hidden;
}
  
/* inner wrapper: make responsive */
.responsive-wrapper {
    position: relative;
    height: 0;    /* gets height from padding-bottom */
    /* put following styles (necessary for overflow and scrolling handling on mobile devices) inline in .responsive-wrapper around iframe because not stable in CSS:
      -webkit-overflow-scrolling: touch; overflow: auto; */
}
   
.responsive-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: none;
}
  
/* padding-bottom = h/w as % -- sets aspect ratio */
/* YouTube video aspect ratio */
.responsive-wrapper-wxh-572x612 {
    padding-bottom: 120%;
}
  
/* general styles */
/* ============== */
.set-border {
    border: 1px inset rgb(60, 60, 60, 0.3);
}

.set-padding {
    padding: 3px;
}
  
.set-margin {
    margin-top: 2rem;
}

.center-block-horiz {
    margin-left: auto !important;
    margin-right: auto !important;
}

  .hanging {
    margin-left: 4rem;
    text-indent: -2rem
}
  
@media only screen and (max-width: 1025px) {
    .wrapper, .wrapper2 {
        width:100%;
    }

    .content-mobile {
        display:block;
        font-family: 'Spectral', serif;
        color: #3C3C3C;
        font-size: 1.6rem;
    }
    
    .content-mobile:hover{
        color: #51777c; /* This controls all hover colours*/
    }

    .nav-logo {
        font-size: 2rem;
        font-weight: 500;
        margin-top: 3px;
    }

    .nav-menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 10;
        position:absolute;
        left: -100%;
        top: 5.9rem;
        flex-direction: column;
        background-color: rgb(255, 255, 255);
        width: 100%;
        border-radius: 0px;
        text-align: left;
        transition: 0.2s;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: .5rem 0;
    }
    
    .nav-item2 {
        padding: 0rem;
        margin: .5rem 0;
        display:flex;
    }

    .nav-item3 {
        display:flex;
        flex-direction:row;
        line-height: 1.5rem;
        position:relative;
        padding: 0rem;
        margin-left: 2rem;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        padding-bottom: 2px;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        -webkit-transform: translateY(8px) rotate(45deg);
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        -webkit-transform: translateY(-8px) rotate(-45deg);
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .sidebar {
        display: none;
    }

    .responsive-image2 {
        display: block;
        padding-top: 1rem;
        margin-left: auto;
        margin-right: auto;
        border-radius: 50%;
        width: 20rem;
    }

    .content {
        margin-left: 0px;
    }
}
    
@media only screen and (max-width: 700px) {
    html, body {
        font-size: 57%;
        font-family: 'Barlow Semi Condensed', sans-serif;
        }
    
    p {
        font-size: 1.85rem;
    }

    footer {
        font-family: 'Spectral', serif;
        color: #3C3C3C;
        position: relative;
        text-align: center;
        font-size: 1.85rem;
        bottom:0;
        width:100%;
        height:0px;
    }
    
    .content-mobile {
        font-size: 1.85rem;
    }

    .content-all {
        font-size: 1.85rem;
    }
}

@media only screen and (max-width: 400px) {
    .responsive-image2 {
        width: 65%;
    }
}

.contact-form {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 550;
    color: #3C3C3C;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form input[type="submit"] {
    padding: 1rem;
    background-color: #3C3C3C; /* Charcoal/Grey/Black color */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form input[type="submit"]:hover {
    background-color: #51777c; /* Turquoise/Green/Blue color */
}