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

/** Adding a yellow gradient to everything */
body {
    background-image: linear-gradient(#e1ca95, #fdfcf9);
}


/** Header **/
header {
    /* controls the font colour */
    color: white;
    width: 100%;
    text-align: center;
    overflow: hidden;
}

header h1 {
    text-align: center;
    font-family: 'Merienda One', cursive;
    font-size: 5em;
    /* Position absolute drops it on top of the video */
    position: absolute;
    width: 100%;
    margin-top: -600px;
}

video {
       width: 100%;
    object-position: center;
    object-fit: cover;
    left: 0;
    z-index: -500;
}

/** Navigation **/

nav {    
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 8vh;
    background-color: #5D4954;
    font-family: 'Poppins', san-serif;
    position: absolute;
    width: 100%;
    top: 0;
}

.logo{
    color: white;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 22px
}
.nav-links{
    display: flex;
    justify-content: space-around;
    width:40%
}
.nav-links li{
    list-style: none;
}
.nav-links a{
    color: white;
    text-decoration: none;
    letter-spacing: 3px;
    font-weight: bold;
    font-size: 12px;
}
/* Adding a hover colour */
.nav-links a:hover{
    color: #e1ca95;
}

header .bottom {
    position: absolute;
    left: 50%;
    margin-top: 1000px;
}

header img {
    width: 50px;
}

/** ccontent after the video **/

.Section
{
    width: 100%;
    padding-top: 70px;
}

.Section .content
{
    position: relative;
    /*z-index:1;*/
    /*max-width: 1000px;*/
    margin: 50 auto;
    text-align: center;
    font-family: 'Poppins', san-serif;
    font-size: 14px;
    padding:70px;
    font-size: 30px;
    text-transform:none;
    color: #000;
}
    
.Section .content h1
{
    margin: 0;
    text-align: center;
    color: #000;
    font-family: 'Merienda One', cursive;
    
}

/** flexbox style **/

.holdingcontainer{
    width: 100%;
    display: flex;
    /*background: #f8f4eb;*/
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 30px;
    padding-bottom: 30px;
    box-sizing: border-box;
    flex-direction: row;
}

.nobottom{
    padding-bottom: 0px !important;
}

.holdingcontainer h1 {
    text-align: center;
}

/* Making sure the images stay the width of their containers */
.internalcontainerL img,
.internalcontainerM img,
.internalcontainerR img {
    width: 100%;
}

.internalcontainerL{
    flex: 1;
    background: rgba(227, 212, 212, 0.61);
    padding: 30px;
    font-size: 12px;
    font-family: 'Poppins', san-serif;
    margin: 3px;
    /* Rounding the corners of the border */
    border-radius: 25px;
}

.internalcontainerM{
    flex: 1;
    background: #e5e5e5;
    padding: 30px;
    font-size: 12px;
    font-family: 'Poppins', san-serif;
    margin: 3px;
    /* Rounding the corners of the border */
    border-radius: 25px;
}
.internalcontainerR{
    flex: 1;
    background: rgba(227, 212, 212, 0.61);
    padding: 30px;
    font-size: 12px;
    font-family: 'Poppins', san-serif;
    /* Rounding the corners of the border */
    border-radius: 25px;
    margin: 3px;
}

@media screen and (max-width:768px){
    .holdingcontainer{
        flex-direction: column;
    }
}

/** creating footer **/

.main {
 max-height: 550px;;
 background-color: #292c2f;
 color: white;
 font-family: 'Poppins', san-serif;
 font-size: 38pt;
 text-align: center;
 line-height: 550px;
}
footer{
 position:relative;
 bottom: 0;
}
.footer-distributed{
 background-color: #292c2f;
 box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
 box-sizing: border-box;
 width: 100%;
 text-align: left;
 font: bold 14px Poppins;
 
 padding: 55px 50px;
 margin-top: 80px;
}
 
.footer-distributed .footer-left,
.footer-distributed .footer-center,
.footer-distributed .footer-right{
 display: inline-block;
 vertical-align: top;
}
 
.footer-distributed .footer-left{
 width: 40%;
}
 
.footer-distributed h3{
 color:  #ffffff;
 font-family: 'Poppins', san-serif;
 font: normal 36px 'Poppins', cursive;
 margin: 0;
}
 
.footer-distributed h3 span{
 color:  #e1ca95;
}
 
 
.footer-distributed .footer-links{
 color:  #ffffff;
 margin: 20px 0 12px;
 padding: 0;
}
 
.footer-distributed .footer-links a{
 display:inline-block;
 line-height: 1.8;
 text-decoration: none;
 color:  inherit;
}

.footer-distributed .footer-links a:hover{
    color: #e1ca95;
}
 
.footer-distributed .footer-name{
 color:  #5D4954;
 font-size: 14px;
 font-weight: bold;
 margin: 0;
}
 
 
.footer-distributed .footer-center{
 width: 35%;
}
 
.footer-distributed .footer-center i{
 background-color:  #33383b;
 color: #ffffff;
 font-size: 25px;
 width: 38px;
 height: 38px;
 border-radius: 50%;
 text-align: center;
 line-height: 42px;
 margin: 10px 15px;
 vertical-align: middle;
}
 
.footer-distributed .footer-center i.envelope{
 font-size: 17px;
 line-height: 38px;
}
 
.footer-distributed .footer-center p{
 display: inline-block;
 color: #ffffff;
 vertical-align: middle;
 margin:0;
}
 
.footer-distributed .footer-center p span{
 display:block;
 font-weight: normal;
 font-size:14px;
 line-height:2;
}
 
.footer-distributed .footer-center p a{
 color:  white;
 text-decoration: none;;
}
 
.footer-distributed .footer-right{
 width: 20%;
}
 
.footer-distributed .footer-company-about{
 line-height: 20px;
 color:  #92999f;
 font-size: 13px;
 font-weight: normal;
 margin: 0;
}
 
.footer-distributed .footer-company-about span{
 display: block;
 color:  #ffffff;
 font-size: 14px;
 font-weight: bold;
 margin-bottom: 20px;
}
 
.footer-distributed .footer-icons{
 margin-top: 25px;
}
 
.footer-distributed .footer-icons a{
 display: inline-block;
 width: 35px;
 height: 35px;
 cursor: pointer;
 background-color:  #33383b;
 border-radius: 2px;
 
 font-size: 20px;
 color: #ffffff;
 text-align: center;
 line-height: 35px;
 
 margin-right: 3px;
 margin-bottom: 5px;
}

/*Adding the hover colour */
.footer-distributed .footer-icons a:hover{
    color: #e1ca95;
}
 
 
@media (max-width: 880px) {

    header .bottom {
        display:none;
    }
    header h1 {
        margin-top: -350px;
    }
 
 .footer-distributed{
 font: bold 14px sans-serif;
 
 }
 
 .footer-distributed .footer-left,
 .footer-distributed .footer-center,
 .footer-distributed .footer-right{
 display: block;
 width: 100%;
 margin-bottom: 40px;
 text-align: center;
 }
 
 .footer-distributed .footer-center i{
 margin-left: 0;
 }
 .main {
 line-height: normal;
 font-size: auto;
 }
 }

@media (max-width: 550px) {
    header h1 {
        font-size: 3em;
    }

    nav {
        display: block;
    }
    video {
        height: 400px;
    }
    .nav-links {
        width: 100%;
    }
    header .bottom {
        display:none;
    }
    .Section {
        padding-top: 0px;
    }
    .Section .content h1 {
        font-size: 45px;
    }
    .Section .content {
        padding: 10px;
        font-size: 20px;
    }
}