html {
    scroll-behavior: smooth; /* annimates scroll when triggered by a click */
}

body {
    min-width: 300px;
    margin: 0 auto; /* centers the web page when the device width is more than 1450px */
    width: 100vw; /* sets full width assuming device width is equal or less than 1450px */
    font-family: 'Montserrat';
}

.maxwidthcontainer {
    max-width: 1450px;
    margin: auto;
    display: block;
}

.hero {
    height: auto;
    width: 100%; /* sets width the same at the width of the window */
    background-size: cover;
    background-position: left top;  
    padding: 200px 0px 80px 0px;
    box-sizing: border-box;
}

.navbar {
    top: 0;
    height: 115px;
    width: 100%;
    background: #171717b7;
    position: fixed;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    transition: 0.5s;
    z-index: 20;
    border-bottom: #ff8311 3px solid;
    justify-content: center;
}

.logo {
    height: 100%;
    display: flex;
    align-items: center;
    max-width: 200px;
}

.logo img {
    height: 60%;
    width: auto;
    padding: 0 20px;
}

.strapline {
    color: white;
    display: flex;
    flex-direction: column;
    gap: 15px; 
}

hr {
    border: 1px #ff8311 solid;
    width: 80%;
    margin-left: 0;
}

.downloadbutton {
    margin: 10px auto;
    text-align: center;
    color: rgb(0, 0, 0);
    border-radius: 50px;
    font-size: 18px;
    font-weight: 400;
    height: 35px;
    width: auto;
}

.downloadbutton img {
    height: 100%;
    width: auto;
}

/* Pop out form for downloading the content */

.popoutcontainer {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0, 0, 0, 0.567);
    opacity: 0;
    transition-duration: 0.5s;
    z-index: 30;
}
    
.popoutcontent {
    display: block;
    position: relative;
    background-color: #ff8311;
    margin: auto;
    padding: 15px;
    border-radius: 6px;
    width: 80%;
    height: fit-content;
    max-height: 80%;
    max-width: 500px;
    border: 2px solid white;
    overflow-x: hidden;
    overflow-y: auto;
}

.popoutform {
    padding: 24px;   
    height: min-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto 0;
    gap: 20px;
    border-radius: 8px; 
    position: relative;
    overflow: hidden;
}

.popoutform p, .popoutform h2 {
    text-align: center;
}

.popoutform form {
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
}

.popoutform form label {
    margin-bottom: 10px;
}

.popoutform form input {
    margin-bottom: 20px;
    width: 100%;
    border: #000000 solid 1px;
    border-radius: 5px;
    height: 30px;
    text-align: center;
    box-sizing: border-box;
}

.popoutform form button {
    margin-top: 10px;
    background: linear-gradient(to right, #131313, #3a3a3a);
    text-align: center;
    color: white;
    border-radius: 50px;
    border: black;
    font-size: 18px;
    font-weight: 400;
    width: 200px;
    height: 60px;
    z-index: 1;
    position: relative;
}

.popoutform form button p {
    margin: auto 0;
}

/* .popoutcontent .right, .subnavcontent .right {
    position: absolute;
    left: -20px;
    bottom: 18px;
    transform: translateY(-50%);
    width: 80px;
}

.popoutcontent .left, .subnavcontent .left {
    position: absolute;
    right: -20px;
    bottom: 18px;
    transform: translateY(-50%);
    width: 80px
} */

.right {
    position: absolute;
    left: -20px;
    width: 100px;
    transform: translateY(-135%);
}

.left {
    position: absolute;
    right: -20px;
    width: 100px;
    transform: translateY(-135%);
}

.left2 {
    position: absolute;
    right: -20px;
    width: 100px;
    bottom: 22px;
}

.right2 {
    position: absolute;
    left: -20px;
    width: 100px;
    bottom: 22px;
}

.close {
    position: absolute;
    background-color: #ff8311;
    right: 15px;
    top: 7px;
    margin: auto;
    display: flex;
    align-self: center;
    font-weight: 400;
    z-index: 9;
    margin: 0;
    width: auto;
    height: auto;
    text-align: center;
    font-size: 30px;
}

/* Subnav */

.subnavcontainer {
    position: fixed;
    left: 100%;
    top: 118px;
    width: 100vw;
    height: calc(100% - 118px);
    overflow: auto;
    background-color: rgb(0,0,0);
    opacity: 1;
    transition-duration: 0.5s;
    z-index: 10;
}

.subnavcontent {
    background-color: #ff8311;
    margin: 10px auto 30px auto;
    padding: 15px;
    margin-bottom: 90px;
    border-radius: 6px;
    width: 80%;
    min-width: 80%;
    max-width: 500px;
    border: 2px solid white;
    align-items: center;
    overflow: hidden;
    display: block;
    position: relative;
    height: fit-content;
    text-align: center;
}

.menuitem {
    position: relative;
    color: white;
    text-align: center;
    padding: 20px 0px;
    font-size: 30px;
    height: fit-content;
    display: block;
    width: fit-content;
}

.getintouch img {
    height: 60%;
}

@media screen and (max-width:414px) {

.form {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    padding-bottom: 20px;
}

.formleft {
    width: 80%;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    align-self: center;
    display: flex;
    padding-bottom: 20px;
}

.formleft img {
    width: 90%;
    box-sizing: border-box;
}

.formright {
    width: 90%;
    box-sizing: border-box;
    align-self: center;
    display: flex;
    flex-direction: column;
}

.logo h3 {
    display: none;
}
.navbarheadings {
    display: none;
}

.navicon {
    height: 100%;
    display: flex;
    align-items: center;    
}

.navicon img {
    height: 30px;
    width: auto;
    padding: 0 20px 0 0;
}

.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(./img/hero-small-2.png);
}

.herobody {
    margin: 0px 24px;
}

.download {
    background: #ff8411c6;
    border-radius: 50px;    
    width: 75%;
    max-width: 300px;
    margin: 40px auto 0px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.download p {
    margin: 10px 45px 0px 45px;
    text-align: center;
    width: auto;
    font-weight: 500;
}

.strapline {
    width: 100%;
}

.downloadform {
    display: none;
}

.getintouch {
    margin: auto;
    font-family: "Open Sans", sans-serif;
    color: white;
    text-decoration: none;
    font-size: 16px;
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 9;
    border-radius: 50%;
    height: 70px;
    width: 70px;
    background:linear-gradient(to left top, #ff8311, #b05907);
    transition: all 0.2s ease-in-out;
}

}

@media screen and (min-width:415px) and (max-width:789px) {

.form {
    display: flex;
    flex-direction: row;
    width: 100%;
    position: relative;
    padding-bottom: 20px;
}

.formleft {
    width: 30%;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    display: flex;
}

.formleft img {
    width: 90%;
    box-sizing: border-box;
}

.formright {
    width: 70%;
    box-sizing: border-box;
    align-self: center;
    display: flex;
    flex-direction: column;
}

.navbarheadings {
    display: none;
}

.navicon {
    height: 100%;
    display: flex;
    align-items: center;    
}

.navicon img {
    height: 30px;
    width: auto;
    padding: 0 20px;
}

.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(./img/hero-medium-2.png);
}

.herobody {
    margin: 0px 40px;
}

.download {
    background: #ff8411c6;
    border-radius: 50px;    
    width: 75%;
    max-width: 350px;
    margin: 40px auto 0px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.download p {
    margin-top: 10px;
    text-align: center;
    width: 100%;
    font-weight: 500;
}

.strapline {
    width: 100%;
}

.downloadform {
    display: none;
}

.getintouch {
    margin: auto;
    font-family: "Open Sans", sans-serif;
    color: white;
    text-decoration: none;
    font-size: 16px;
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 9;
    border-radius: 50%;
    height: 80px;
    width: 80px;
    background:linear-gradient(to left top, #ff8311, #b05907);
    transition: all 0.2s ease-in-out;
}

}

@media screen and (min-width:790px) {   

.form {
    display: flex;
    flex-direction: row;
    width: 100%;
    position: relative;
    padding-bottom: 20px;
}

.formleft {
    width: 30%;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    display: flex;
}

.formleft img {
    width: 90%;
    box-sizing: border-box;
}

.formright {
    width: 70%;
    box-sizing: border-box;
    align-self: center;
    display: flex;
    flex-direction: column;
}

.logo {
    padding-left: 20px;
}

.navbarheadings {
    height: 100%;
    padding-right: 20px;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: white;
}

.navbarheading {
    padding: 0 20px;
}

.navbarheadings img {
    height: 30px;
    padding: 0 20px;
}

.navicon {
    display: none;
}   

.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(./img/hero-large-2.png);
}

.herobody {
    display: flex;
    margin: 0px 80px;
    justify-content: space-between;
}

.strapline {
    max-width: 50%;
    justify-content: baseline
}

.download {
    display: none;
}

.downloadform {
    padding: 24px;
    width: 40%;    
    background-color: #ff8411c6;
    height: min-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto 0;
    gap: 20px;
    border-radius: 8px; 
    border: 2px white solid;
    position: relative;
    overflow: hidden;
}

.downloadform p, .downloadform h1 {
    text-align: center;
}

form {
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
}

form label {
    margin-bottom: 10px;
}

form input {
    margin-bottom: 20px;
    width: 100%;
    border: #ff8311 solid 1px;
    border-radius: 5px;
    height: 30px;
    padding: 0px 10px;
    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 300;
    text-align: center;
    box-sizing: border-box;
}

form button {
    margin-top: 10px;
    background: linear-gradient(to right, #131313, #3a3a3a);
    text-align: center;
    color: white;
    border-radius: 50px;
    border: black;
    font-size: 18px;
    font-weight: 400;
    width: 200px;
    height: 60px;
    z-index: 1;
}

form button p {
    margin: auto 0;
}

.downloadbutton {
    display: none;
}

.getintouch {
    margin: auto;
    font-family: "Open Sans", sans-serif;
    color: white;
    text-decoration: none;
    font-size: 22px;
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9;
    border-radius: 50%;
    height: 100px;
    width: 100px;
    background:linear-gradient(to left top, #ff8311, #b05907);
    transition: all 0.2s ease-in-out;
}

}

@media (hover: hover) and (pointer: fine) {

.navbarheading:hover {
    cursor: pointer;
    scale: 1.1;
    transition: scale 0.1s linear
}

.navbarheadings img:hover {
    cursor: pointer;
    scale: 1.1;
    transition: scale 0.1s linear
}

.navicon img:hover {
    cursor: pointer;
    scale: 1.1;
    transition: scale 0.1s linear
}

.download:hover {
    background-color: #ff8311;
    cursor: pointer;
}

.close:hover, .close2:hover {
    cursor: pointer;
    font-weight: 600;
}

.formbutton:hover {
    cursor: pointer;
    scale: 1.1;
    transition: scale 0.1s linear
}

.getintouch:hover {
    box-shadow: 0px 0px 8px 5px rgba(85, 85, 85, 0.425);
    cursor: pointer;
    scale: 1.1;
}

.menuitem:hover {
    scale: 1.1;
}

}