/*=======================

Looking at the CSS are you?
You are awesome.
Stay awesome.

    .-""""""-.
  .'          '.
 /   O    -=-   \
:                :
|                |  
: ',          ,' :
 \  '-......-'  /
  '.          .'
    '-......-'

======================*/

/*========================================
   RESETS
=========================================*/

* {
    font-size: 16px;
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

a {
    text-decoration: none;
}

/*========================================
   TEXT RULES
=========================================*/

h1, h2, h3, h4, h5, h6 {
    font-family: "swingdancer", sans-serif;
    font-style: normal;
    font-weight: 500;
    color: #ea2031;
    text-align: center;
}

h1 {font-size: 6rem; text-shadow: 0 0 6px #000000;}
h2 {font-size: 4rem; color: #22181C;}
h3 {font-size: 3rem;}
h4 {font-size: 2rem; color: #1995ad;}
h5 {font-size: 1.7rem; color: #22181C; text-shadow: 0 0 7px #000000;}
h6 {font-size: 1.6rem;}

p {
    font-size: 1.2em;
    max-height: 100%;
    max-width: 50rem;
    margin: 0 auto;
    padding: 2rem 0rem;
    text-align: center;
}

.body-text {
    padding: 2rem 0.4rem 1rem 0.4rem;
}


body {
    font-family: "jaf-domus", sans-serif;
    font-style: normal;
    font-weight: 200;
    background-color: #22181C;
    /* background-color: white; */
}

a {
    color: #1995ad;
    font-size: 1.6rem;
}

a:hover {
    transition: color 0.8s ease-in-out;
    color: #ea2031;
}

a:visted{
    color: #22181C;
}

a:active {
    color: #22181C;
}


a:clicked {
    color: #1995ad;
}

/*========================================
   HEADER & NAV RULES
=========================================*/

header {
    background-color: #FFFAFA;
    height: 0rem;
    z-index: 1;
    
}
nav {
    height:auto;
    width: 100%;
}


nav a{
    text-align: center;
    text-decoration: none;
    margin: 0.8rem 0rem 1rem 3.4rem;
    font-size: 1.8rem;
    position:sticky;
    z-index: 25;
    font-family: "swingdancer", sans-serif;
    font-style: normal;
    font-weight: 500;
    color: #FFFAFA;
}

#page-title {
    opacity:1;
}

.hide {
    visibility: hidden;
    opacity: 0;
    transition: opacity .75s ease-in-out;
}

/*========================================
   DYNAMIC MENU / (jQuery 'button' function)
=========================================*/

#menu-container {
    padding: 0.8rem;
    visibility: visible;
}

#menu-lg-screens {
    visibility: hidden;
}

#mobile-menu {
    visibility: hidden;
}

#regular-menu {
    display:none;
}

.menu-float .menu-open {
    margin: 0 auto;
    float: none;
}

.menu-open .mobile-menu-items{
    padding: 3.6rem;
    width: 100vw;
    background-color: #22181C; 
    text-align: center;
    display: block;
    visibility: visible;
    position: static;
    z-index: 100;
    transition: opacity 0.6s ease-in-out;
    opacity: 1;
    margin: 0 auto;
    height: 100%;
}

.mobile-menu-items {
    float: left;
    opacity: 0;
}

.regular-menu-items {
    float: left;
    opacity: 0;
}

.menu-float {
    float: right;
}


/*========================================
   ANIMATED MENU BUTTON
=========================================*/

.menu-button {
    position: sticky;
    margin: 1rem 1rem;
    display: block;
    cursor: pointer;
    float: right;
    z-index: 100;
}

.bar1, .bar2, .bar3 {
    width: 35px;
    height: 5px;
    background-color: #ea2031;
    margin: 6px 0;
    transition: all 0.4s;
    z-index: 100;
}

/* Rotate first bar */
.change .bar1 {
    transform: rotate(-45deg) translate(-9px, 6px);
}

/* Fade out the second bar */
.change .bar2 {
    opacity: 0;
}

/* Rotate last bar */
.change .bar3 {
    transform: rotate(45deg) translate(-8px, -8px);
}

/*========================================
   FOOTER RULES
=========================================*/

footer {
    text-align: center;
    font-family: "jaf-domus", sans-serif;
    font-style: normal;
}

footer p {
    font-size: 1rem;
    padding: 1rem 0;
}

#footer-content {
    border-top: solid 0.3rem #1995ad;
    max-width: 100%;
    font-weight: 300;
    margin: 0 auto;
}

#copyright {
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 1.4rem;
}

/*========================================
   WHOLE PAGE CONTAINER
=========================================*/

#container {
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0px 0px 50px #000000;
}

/*========================================
   SECTION CONTAINER
=========================================*/

.page-content {
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
}

/*========================================
   SECTION TITLES
=========================================*/

.page-content h2 {
    margin: 0 auto;
    padding: 2rem 0 1rem 0;
    border-bottom: 0.8rem solid #ea2031;
}

.page-content h3 {
    margin: 0 0;
    padding: 0 0;
    border-bottom: 0.4rem solid #ea2031;
    border-top: 0.4rem solid #ea2031;
    border-radius: 0;
}

/*========================================
   MAIN SECTION P TEXT
=========================================*/

.text-content {
    background: linear-gradient(rgba(25, 149, 173, 0.1), rgba(255,255,255,0.1));
    margin: 0rem 0rem 3rem 0rem;
    padding: 0rem auto;
}

/*========================================
   SOCIAL BAR
=========================================*/

#social-bar {
    background-color: #1995ad;
    height: 5rem;
    width: 23rem;
    z-index: 30;
    transform: skewY(-14deg);
    top: -3rem;
    z-index: 30;
    max-width: 100vw;
    position: relative;
    overflow: hidden;
}

#icon-container {
    transform: rotate(-14deg) translateY(1rem) !important;
    transform-origin: left;
    margin-left: 0.4rem;
    margin-top: -4.3rem;
    position: relative;
    z-index: 50;
    left: 0%;
    overflow: auto;
}

.svg-inline--fa {
    margin: 0.5rem;
    color: #22181C;
    position:relative;
}

.svg-inline--fa:hover {
    transition: color 0.8s ease-in-out;
    color: #ea2031;   
}

/*========================================
   Font Awesome
=========================================*/

#arrow {
    display:flex;
    justify-content: center;
}

.fa-angle-down {
    flex: auto;
    font-size: 4rem;
    margin: 3rem;
    color: #ea2031;
    filter:drop-shadow(0px 0px 2px #000 )
}

/*========================================
   REUSABLE PAGE SPACER
=========================================*/

.spacer{
    height: 2rem;
}

/*========================================
   IMAGE BANNERS
=========================================*/

.strapline {
    color: #FFFAFA;
    margin-top: 1rem;
}

.banner-container {
    margin-top: -5rem;
}

.banner {
    height: 50rem;
    max-width: 100%;
    background-attachment: auto;
    background-position: bottom;
    background-repeat: no-repeat;
    background-size:cover;
    z-index: 0;
}

#banner-one {
    background-image: url("images/2021images001@2x.jpg");
    margin-top: 5rem;
    height:35rem;
}

#banner-one h1 {
    vertical-align: middle;
    padding-top: 5rem;
}

#banner-two {
    background-image: url("images/2021images004@2x.jpg");
}
#banner-three {
    background-image: url("images/2021images005@2x.jpg");
}
#banner-four{
    background-image: url("images/2021images006@2x.jpg");
}

@media only screen and (-Webkit-min-device-pixel-ratio: 1.5),
only screen and (-moz-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min-device-pixel-ratio: 1.5)
{ 
    #banner-one {
        background-image: url("images/2021images001@2x.jpg");
        height: 40rem;
        max-width: 100%;
        background-position: center; /* Center the image */
        background-repeat: no-repeat; /* Do not repeat the image */
        background-size: cover;
    }
    #banner-two {
        background-image: url("images/2021images004@2x.jpg");
        background-size: 3840px 2560px;
        height: 30rem;
        max-width: 100%;
    }
    #banner-three {
        background-image: url("images/2021images005@2x.jpg");
        background-size: 3840px 2560px;
        height: 30rem;
        max-width: 100%;
    }
    #banner-four{
        background-image: url("images/2021images006@2x.jpg");
        background-size: 3840px 2560px;
        height: 30rem;
        max-width: 100%;
    }
}

/*========================================
   COLOURED BARS
=========================================*/

.blue-bar {
    display:block;
    background-color: #1995ad;
    width: 100%;
    height: 3rem;
    transform: skewY(-1.9deg);
    position: relative;
    z-index: 15;
    top: -1.2rem;
}

.black-bar {
    display: block;
    background-color: #22181C;
    width: 100%;
    height: 3rem;
    transform: skewY(-0.5deg);
    position: relative;
    z-index: 20;
    margin-top: -1rem;
}

nav .black-bar {
    margin-top: -0.2rem;
    height: 4rem;
}

.red-bar {
    display: block;
    background-color: #ea2031;
    width: 100%;
    height: 3.5em;
    transform: skewY(0.5deg);
    position: relative;
    z-index: 10;
    margin-top: -4.3rem;
}

nav .red-bar {
    top: 2rem;
}

.drop-shadow {
    box-shadow: 0 0.3rem 0 rgba(64,64,64,0.17);
}

/*========================================
   BACK TO TOP BUTTON
=========================================*/

#scroll {
    position:fixed;
    left: 0rem;
    bottom:0rem;
    cursor:pointer;
    width:4rem;
    height:4rem;
    background-color:#ea2031;
    text-indent:-9999px;
    display:flex;
    border-radius: 1rem 1rem 0 0;
    z-index: 100;    
}
#scroll span {
    position:absolute;
    top:50%;
    left:50%;
    margin-left:-8px;
    margin-top:-12px;
    height:0;
    width:0;
    border:8px solid transparent;
    border-bottom-color:#ffffff;
    filter: drop-shadow(0px 0px 2px #000 );
}
#scroll:hover {
    transition: background-color 0.8s ease-in-out;
    background-color: #1995ad;
    opacity:1;
    filter:"alpha(opacity=100)";
    -ms-filter:"alpha(opacity=100)";
}

#scroll:active,
#scroll:visited {

    background-color:#ea2031;
}


/*========================================
  Video
=========================================*/

video {
    padding: 2rem;
    width: 100%;
    max-height: 100%;
}

/*========================================
   RESPONSIVENESS
=========================================*/
@media only screen and (min-width: 600px) {

    h1 {
        font-size: rem;    
    }
    
    #banner-one h1 {
        padding-top: 6rem;
    }
    
    .body-text {
        padding: 2rem 4rem 1rem 4rem;
    }

}

@media only screen and (min-width: 800px) {
    
    h1 {
        font-size: 8rem;    
    }

    h2 {
        text-shadow: 0px 4px 1px rgba(64,64,64,0.2);
    }
    
    nav a{
        margin: 0.8rem -2rem 1rem 3.4rem;
    }
    
    .page-content {
        text-align: center;
        max-width: 90%;
        margin: 0 12%;
    }
    
    .page-content h2 {
        margin: 0 auto;
        padding: 2rem 0 1rem 0;
        border-bottom: 0.8rem solid #ea2031;
        border-bottom-style: ridge;
        border-radius: 3%;
    }
    
    .spacer{
        height: 5rem;
    }
    
    .banner {
        height: 30rem; 
        background-attachment: fixed;
    }
    
    #banner-one h1 {
        padding-top: 7rem;
        transform: rotate(0);
        transition: all 0.3s ease-in;
    }
    
    #banner-one h1:hover {
        transform: rotate(-3deg);

    }
  
    #menu-lg-screens {
        visibility: visible;
    }
  
    .menu-button {
        display:none;
    }

    #mobile-menu {
        display: none;
    }

    #regular-menu {
        display:contents;
    }

    .regular-menu-items{
        position: sticky;
        z-index: 100;
        transition: opacity 0.6s ease-in-out;
        opacity: 1;
    }

    .body-text {
        padding: 2rem 7rem 1rem 7rem;
    }
    
    .software-list {
        border-top: 0.8rem ridge #1995ad;
        margin: 0 5%;
        border-radius: 1rem;
    }
    
    #footer-content {
        max-width: 60%;
    }
}

@media only screen and (min-width: 1024px) {
    
    h1 {
        font-size: 9rem;    
    }
    
    h5 {
        font-size: 2.5rem;   
    }

    nav a{
        margin: 0.8rem 2rem 1rem 3.4rem;
    }

    #banner-one h1 {
        padding-top: 7rem;
    }
    
    #container {
        max-width: 100%;
    }
}

@media only screen and (min-width: 1600px) {

    #container {
        max-width: 1080px;
    }

    .page-content {
        text-align: center;
        max-width: 100%;
    }
    
    #scroll {
        border-radius: 0 1rem 1rem 0;
    }

    .banner {
        background-size:auto;
    }
}