@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,700;1,300;1,700&display=swap');

body { font-family: 'Open Sans', sans-serif; font-size: 16px; font-weight: 300; color: #555; margin: 0; padding: 0; }
#homepage { margin: 0 auto; position: relative; }

/* a Contact form class to check that it's not spam */
.checkingit {display: none;}

/* Text */
h1 { margin: 0 0 1em 0; font-size: 2.8em; font-weight: 700; }
h2 { margin: 0 0 .5em 0; font-size: 1.8em; font-weight: 700; line-height: 1.1em;}
h3 { margin: .5em 0 .5em 0; font-size: 1.3em; font-weight: 700; }
h4 { margin: 0 0 1.5em 0; font-size: 1em; font-weight: 700; }

p { margin: 0 0 1em 0; }
a { color: #007eff; }
a:visited { color: #65b1ff; }
a.btn { font-size: 1.2em; text-decoration: none; color: #000; border: 1px solid #000; padding: 4px 15px; 
    transition: background-color .5s; 
}
a.btn:hover { background-color: rgba(0,0,0,.3); }

button { font-size: 1.2em; text-decoration: none; color: #FFF; border: 1px solid #000; padding: 8px 15px; 
    transition: background-color .5s; background-color: rgba(0,0,0,.85);
}
button.clearit {background-color: rgba(204, 204, 0,75%); color: #000;}

/* Header */
header { 
    height: 200px; 
    background: #cccc00; 
    position: relative;
}

header a.logo { 
    position: absolute; 
    display: block; 
    width: 70px; 
    height: 45px; 
    background: url(../images/web-logo2.jpg) no-repeat 0 0; 
    background-size: contain; 
    top: 12px; 
    left: 40px;  
    z-index: 1;
}

header a.logo span { 
    display: none; 
}

/*header div.hero { 
    position: absolute; 
    width: 42%; 
    top: 40px; 
    left: 35%;
} */
header div.hero { 
    position: absolute; 
    width: 350px; 
    top: 40px; 
    left: 35%;
}
header div.hero h1 { 
    line-height: 1em; 
    margin: 60px 0 10px 0; 
    text-align: center;
    color: #fff; 
}
header div.hero h2 { 
    line-height: .75em; 
    margin: 0 0 15px 0px; 
    text-align: center;
    color: #fff; 
}

/* section all */

section { 
    padding: 0 30px; 
}
section::after { 
    content: ''; 
    display: block; 
    clear: both; 
}

/* section thankyou */

section.secretimprov { 
    background-color: #fff; 
    padding-top: 25px; 
    padding-bottom: 25px; 
    color: rgba(0,0,0,.85);; 
    position: relative;
}

section.secretimprov div {
    padding-top: 30px;
    padding-left: 20px;
}

section.secretimprov div.green {
    background-color: rgba(204, 204, 0,25%);
}

section.secretimprov div.green div.imageSlider {
    position: relative;
    width: 500px;
    Height: 500px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}



/* navigation */

nav { 
    background-color: rgba(0,0,0,.85);
    position: absolute;
    top: 0px; 
    left: 0px;
    padding: 20px 0 0 0;
    width: 100%;
}

nav ul { 
    list-style: none; 
    margin: 0; 
    padding: 0px; }

nav ul li:hover { 
    background-color: #cccc00; 
    color: #000;
}

nav ul li:hover > ul { 
    display: block; 
}

nav ul li a { 
    display: inline-block;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    width: 125px;
    position: relative;
}

nav::after { 
    content:''; 
    display: block; 
    clear: both;
}

nav ul li a:visited { 
    color: #fff; 
}

nav ul li a:hover { 
    background-color: #cccc00; 
    color: #000;
}

nav ul ul { 
    position: absolute; 
    top: 100%; 
    background-color: #2b0306; 
    display: none; 
}

nav ul ul li { 
    position: relative; 
}

nav ul ul ul { 
    left: 100%; 
    top: 0px;
}

/* top level */

nav > ul { 
    padding-left: 130px;
}

nav > ul > li { 
    float: left; 
}

nav > ul > li > a { 
    width: auto; 
    padding: 10px 20px 15px 20px;
}

nav a[aria-haspopup="true"]::after {
    content:'';
    display: block;
    width: 0px; 
    height: 0px;
    position: absolute;
    top: 16px; right: 15px;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 4px solid #fff;
}

nav > ul >li > a[aria-haspopup="true"]::after {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #fff;
    left: 20px; 
    right: auto;
    bottom: 6px; 
    top: auto;
}

/* Footer */

footer { 
    background-color: rgba(0,0,0,.85);; 
    padding-top: 20px; 
    padding-bottom: 10px; 
    color: #000; 
    position: relative;
    font-size: .8em; 
    margin: 0px; 
    color: #FFF; 
}
footer p {
    margin-left:30px;
}
footer .content { 
    display: inline; 
}
footer a { 
    margin-left: 30px; 
    color: #777;
}
footer a:visited { 
    margin-left: 30px; 
    color: #777;
}
footer a:hover { 
    margin-left: 30px; 
    color: #000;
}

/* */
/* Screen 1000px */
/* */

@media screen and (max-width: 1000px) {
    h1 {font-size: 2.4em; }
    
    /* header */
    
    header div.hero { 
        width: 350px; 
        left: 30%;
    }
    header div.hero h1 {
        margin-bottom: 10px; 
    }   
    header div.hero h2 {
        padding-bottom: 0px; 
        
    }
    
    
    /* section thankyou */

    section.secretimprov { 
        padding-top: 25px; 
        padding-bottom: 25px; 
    }

}

/* */
/* Screen 825px */
/* */

@media screen and (max-width: 825px) {
    h1 {font-size: 2.2em; }
    
    /* header */
    header div.hero { 
        left: 30%;
    }
    
     /* section thankyou */

    section.secretimprov { 
        padding-top: 25px; 
        padding-bottom: 25px; 
    }

}

/* */
/* Screen 760px */
/* */

@media screen and (max-width: 760px) {
    h1 {font-size: 1.8em; }
    h2 {font-size: 1.4em; }
    h3 {font-size: .8em; }
    a.btn {font-size: 1em;}
    
    /* header */

    header div.hero { 
        top: 45px; 
        left: 25%;
    }
    
    /* section thankyou */

    section.secretimprov { 
        padding-top: 25px; 
        padding-bottom: 25px; 
    }
    
    /* navigation */

    nav {
        padding-top: 20px; 
    }
    nav > ul {
        padding-left: 130px;
    }
}

/* */
/* Screen 625px */
/* */

@media screen and (max-width: 625px) {
    h1 { font-size: 1.5em;}
    h2 {font-size: 1em; }
    h3 { margin-bottom: 0px;}
    a.btn { font-size: .9em;}
    button {margin-top: 4px; margin-bottom: 4px;}
    
    /* header */
    header {
        height: 180px; 
        background-position: left top; 
    }
    header a.logo { 
        width: 100%; height: 46px;
        left: 0px; 
        top: 0px;
        background-color: rgba(0,0,0,.85);
        background-position:  center;
    }
    header div.hero { 
        left: 20%; 
    }
    
    
    /* section thankyou */

    section.secretimprov { 
        padding-top: 25px; 
        padding-bottom: 25px; 
    }
    
     /* navigation */
    nav { 
        position: static; 
        width: auto; 
        padding: 20px 15px; 
        background-color: #4b0a0c;
    }
    
    nav ul,
    nav ul ul,
    nav ul ul ul { 
        display: block; 
        position: static;
    }
    
    nav > ul { 
        padding: 0; 
    }
    nav > ul > li { 
        float: none; 
        margin-top: 25px;
    }
    
    nav ul li:hover {
        background: none;
    }
    nav ul li a {
        width: auto;
        display: block;
        margin: 8px 10px;
        padding: 8px 15px;
        border: 1px solid rgbba(255,255,255,.25);
        
    }
    nav ul li a:hover { 
        background-color: rgba(255,255,255,.25);
    }
    
    nav ul ul { 
        background: none; 
    }
    
    nav ul ul li a { 
        margin-left: 30px;
    }
    nav ul ul ul li a { 
        margin-left: 60px;
    }
    
    nav a[aria-haspopup="true"]::after {
        display:none;
    }
}

/* */
/* Screen 490px */
/* */

@media screen and (max-width: 490px) {
    /* header */
    header { height: 120px;  }
    
    header a.logo { 
        height: 46px; 
        background: rgba(0,0,0,.65) no-repeat center center;
        background-image: url(../images/web-logo2.jpg) ;
    }
    
    header div.hero { 
        left: 13%; 
    }
    header div.hero h1 { 
        font-size: 1.3em; 
        margin-bottom: 5px; 
        text-align: center; 
        margin-top:20px;

    }
    header div.hero h2 { 
        font-size: 1.0em; 
        margin-bottom: 5px; 
        text-align: center; 
    }

    /* section thankyou */

    section.secretimprov { 
        padding-top: 25px; 
        padding-bottom: 25px; 
    }
    
}

