@-o-viewport{
    zoom: 1.0;
    width: extend-to-zoom;
}

@-ms-viewport{
    width: extend-to-zoom;
    zoom: 1.0;
}


html, body {
    height: 100%;
    background-color: #1d1d1d;
    font-family: sans-serif;
    color: rgb(240, 240, 240);
    font-size:24px;
}

a {
    color: rgb(240, 240, 240);
    font-size:24px;
    font-family: sans-serif;
    text-decoration: none;
    font-weight: bolder;
}

a:hover {
    color: #40bcbc;
    font-size:24px;
    font-family: sans-serif;
    text-decoration: none;
    font-weight: bolder;
}

a:active {
    color: rgb(240, 240, 240);
    font-size:24px;
    font-family: sans-serif;
    text-decoration: none;
    font-weight: bolder;
}

html {
    margin: 0px auto;
}


body {
    background-color: rgb(41, 41, 41);
    vertical-align: middle;
    margin: 0px auto;
    height: 100%;
}

.wrapper {
    background-color: rgb(41, 41, 41);
    background: linear-gradient(to top, rgb(39, 39, 39), rgb(19, 47, 49));
    vertical-align: middle;
    margin: 0px auto;
    height: 100%;
    width: 100%;
    overflow: hidden;
    overflow-y:auto;
}

.head {
    background-color: rgb(97, 100, 102);
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover;
    height: 400px;
    width:100%;
    max-width: 800px;
    margin: 0px auto;
    box-shadow: 2px 2px 10px #202020;
    border-radius:3px;
    vertical-align: top;
    position:relative;
}
video {
    margin-top: 0px;
    object-fit: cover;
    max-width: 800px;
    width: 100%;
    height:400px;
    display:block;
    border-radius:3px;
    float:left;
    z-index:300000;
    
}

.logo {
    position: absolute;
    float: left;
    margin-top: 0px;
    background-color: #272727;
    border-radius:0px 0px 10px 0px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;
    height:132px;
    width:200px;
    
}

.navi{
    background-color: #272727;
    height: 50px;
    width:100%;
    max-width: 800px;
    margin: 0px auto;
    margin-top: 5px;
    margin-bottom: 5px;
    box-shadow: 2px 2px 10px #202020;
    border-radius:3px;
    border-style: solid;
    border-width: 1px;
    border-color: #2e2e2e;
}

.nav {
    position: absolute;
    float: left;
    margin-top: 50px;
    background-color: #313131;
    color: aliceblue;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    height:35px;
    width: 150px;
    padding-top: 10px;
    padding-left: 10px;
    border-radius:0px 7px 7px 0px;
}

.cont {
    background-color: rgb(4, 41, 43);
    height: auto;
    width:100%;
    max-width: 800px;
    margin: 0px auto;
    margin-top:5px;
    margin-bottom:5px;
    box-shadow: 1px 1px 5px #000000;
    border-radius:3px;
    border-style: solid;
    border-width: 0px;
    border-color: rgb(5, 54, 56);
    vertical-align: top;
    position:relative;
}

.foot {
    background-color: #313131;
    background-image: url("gfx/fpv_1.jpg");
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover;
    background-blend-mode:overlay;
    opacity: 1;
    height: 70px;
    width:100%;
    max-width: 800px;
    margin: 0px auto;
    box-shadow: 1px 1px 5px #000000;
    border-radius:3px;
    vertical-align: top;
    position:relative;
    align-content: center;
}

.footleft{
    float:left;
    width:115px;
}

.footmid{
    position:absolute;
    margin-left: 105px;
}

.footright{
    vertical-align: top;
    float:right;
    width:150px;
    padding-right:0px;
    text-align: right;
}

.linkwrapper{
    float: right;
    margin-top: 360px;
    position: absolute;
    z-index:300000;
    width: 100%;
}

.socialbar{
    float: left;
    margin-left: 15px;
}

.bufferbar{
    float: right;
}

.linkbar{
    float: right;
}

.linkbox {
    height: 30px;
    width: auto;
    float: right;
    margin: 0px auto;
    margin-right: 5px;
    background-color: #272727;
    border-radius:5px 5px 0px 0px;
    text-align: left;
    vertical-align: middle;
    /* TEXT */
    color: #40bcbc;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
    font-weight: none;
    font-size: 20px;
    padding-top: 10px;
    padding-left:15px;
    padding-right:15px;
    
    
}

.linkbox:hover {
    background-image: linear-gradient(180deg, rgb(41, 41, 41) 0%, rgb(48, 48, 48) 33% );
    border-color: rgb(99, 99, 99);
    color: #FFFFFF;
    font-size: 20px;
}

.linkbox:active {
    background-image: linear-gradient(180deg, rgb(38, 143, 117) 0%, rrgb(14, 65, 65)33% );
    border-color: rgb(39, 39, 39);
}

.sociallink{
    float: right;
    position: absolute;
    z-index:300000;
}

p{
    margin-left:15px;
    margin-right:15px;
    hyphens: auto; 
	text-align: justify;
    font-family: sans-serif, arial;
    font-size: 18px;
}

h1 {
    margin-top:25px;
    margin-left:15px;
    margin-right:15px;
    hyphens: auto; 
    font-family: sans-serif, arial;
    font-size: 24px;
    color: #40bcbc;
}

h2 {
    margin-top:25px;
    margin-left:15px;
    margin-right:15px;
    hyphens: auto; 
    font-family: sans-serif, arial;
    font-size: 18px;
    color: #40bcbc;
}

li {
    margin-left:15px;
    margin-right:15px;
    hyphens: auto; 
	text-align: left;
    font-family: sans-serif, arial;
    font-size: 18px;
}





.contboxflex {
    background-color: rgb(206, 206, 206);
    border-radius:3px;
    /*background-image: linear-gradient(180deg, rgb(182, 182, 182) 0%, rgb(226, 226, 226) 33% );*/
    background-image: linear-gradient(75deg, rgb(20, 20, 20) 0%, #1f1f1f 50% );
    border-style: solid;
    border-width: 1px;
    border-color: rgb(32, 32, 32);
    box-shadow: 1px 1px 5px #000000;
    display: inline-block;
    vertical-align: top;
    width:49%;
    text-align: left;
}

.contbox {
    background-color: rgb(206, 206, 206);
    border-radius:3px;
    /*background-image: linear-gradient(180deg, rgb(182, 182, 182) 0%, rgb(226, 226, 226) 33% );*/
    background-image: linear-gradient(75deg, rgb(20, 20, 20) 0%, #1f1f1f 50% );
    border-style: solid;
    border-width: 1px;
    border-color: rgb(32, 32, 32);
    box-shadow: 1px 1px 5px #000000;
    width:99.5%;
    text-align: left;
}

.boxwrapper {
    width: 100%;
    overflow: hidden;
    text-align: center;
    padding-top:5px;
    padding-bottom:5px;
}

iframe {
    width:100%;
    height:100%; 
    position: absolute;
    top:0;
    left:0;

}

.vidcontainer{
    text-align: center;
    width:100%;
}

.vid{
    margin: 0 auto;
    position: relative;
    padding-top: 56.25%;
    
}

.gridcontainer {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr;
    grid-template-rows: auto;
    gap: 15px 15px;
    grid-auto-flow: row;
    grid-template-areas:
        ". ."
        ". .";
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

.griditem1{
    grid-column-start: 1;
    grid-column-end: span 2;
    border-radius:3px;
    background: linear-gradient(to top, rgb(39, 39, 39), rgb(19, 47, 49) 80% );
    border-style: solid;
    border-width: 1px;
    border-color: rgb(32, 32, 32);
    box-shadow: 1px 1px 5px #000000;
    text-align: left;
}

.griditem2{
    grid-column-start: 1;
    grid-column-end: 1;
    border-radius:3px;
    background: linear-gradient(to top, rgb(39, 39, 39), rgb(19, 47, 49) 80% );
    border-style: solid;
    border-width: 1px;
    border-color: rgb(32, 32, 32);
    box-shadow: 1px 1px 5px #000000;
    text-align: left;
}

.griditem3{
    grid-column-start: 2;
    grid-column-end: 2;
    border-radius:3px;
    background: linear-gradient(to top, rgb(39, 39, 39), rgb(19, 47, 49) 80% );
    border-style: solid;
    border-width: 1px;
    border-color: rgb(32, 32, 32);
    box-shadow: 1px 1px 5px #000000;
    text-align: left;
}

.griditem5{
    grid-column-start: 2;
    grid-column-end: 2;
    text-align: right;
}

.griditem4{
    grid-column-start: 1;
    grid-column-end: 1;
    text-align: left;
    padding-top: 8px;
    padding-left: 8px;
}

a.button1{
    height: 35px;
    width: 250px;
    border-radius:10px;
    background: linear-gradient(to top,#40bcbc, rgb(19, 47, 49) 80% );
    border-style: solid;
    border-width: 1px;
    border-color: rgb(32, 32, 32);
    box-shadow: 1px 1px 5px #000000;
    padding-top:10px;
    padding-left:20px;
    padding-right:20px;
    padding-bottom:6px;
    margin-top:50px;
    
}

a.button1:hover{
    background: linear-gradient(to top,#40bcbc, rgb(50, 122, 128) 80% );
}

.centerbox{
    width:100%;
    text-align: center;
    align-items: center;
    align-content: center;
    
}

.picintext {
    float:right; 
    margin-left:10px; 
    margin-bottom:10px;
    border-style: solid;
    border-width: 1px;
    border-color: rgb(32, 32, 32);
}

.footcontainer{
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 15px;
}

@media only screen and (max-width: 500px) {
    .logo {
      width: 150px;
      height: 100px;
    }

    .linkbox {
        height: 30px;
        width: auto;
        float: right;
        margin: 0px auto;
        margin-right: 5px;
        background-color: #272727;
        border-radius:5px 5px 0px 0px;
        text-align: left;
        vertical-align: middle;
        /* TEXT */
        color: #40bcbc;
        font-family: Arial, Helvetica, sans-serif;
        text-decoration: none;
        font-weight: none;
        font-size: 16px;
        padding-top: 10px;
        padding-left:15px;
        padding-right:15px;
        
        
    }
    
    .linkbox:hover {
        background-image: linear-gradient(180deg, rgb(41, 41, 41) 0%, rgb(48, 48, 48) 33% );
        border-color: rgb(99, 99, 99);
        color: #FFFFFF;
        font-size: 16px;
    }
    
    .linkbox:active {
        background-image: linear-gradient(180deg, rgb(38, 143, 117) 0%, rrgb(14, 65, 65)33% );
        border-color: rgb(39, 39, 39);
        font-size: 16px;
    }

    .picintext {
        width:170px;
        height:auto;
        float:right; 
        margin-left:10px; 
        margin-bottom:10px;
        border-style: solid;
        border-width: 1px;
        border-color: rgb(32, 32, 32);
    }

    html, body {
        height: 100%;
        background-color: #1d1d1d;
        font-family: sans-serif;
        color: rgb(240, 240, 240);
        font-size:20px;
    }
    
    a {
        color: rgb(240, 240, 240);
        font-size:17px;
        font-family: sans-serif;
        text-decoration: none;
        font-weight: bolder;
    }
    
    a:hover {
        color: #40bcbc;
        font-size:17px;
        font-family: sans-serif;
        text-decoration: none;
        font-weight: bolder;
    }
    
    a:active {
        color: rgb(240, 240, 240);
        font-size:17px;
        font-family: sans-serif;
        text-decoration: none;
        font-weight: bolder;
    }

    p{
        margin-left:15px;
        margin-right:15px;
        hyphens: auto; 
        text-align: justify;
        font-family: sans-serif, arial;
        font-size: 15px;
    }
    
    h1 {
        margin-top:25px;
        margin-left:15px;
        margin-right:15px;
        hyphens: auto; 
        font-family: sans-serif, arial;
        font-size: 20px;
        color: #40bcbc;
    }
    
    h2 {
        margin-top:25px;
        margin-left:15px;
        margin-right:15px;
        hyphens: auto; 
        font-family: sans-serif, arial;
        font-size: 17px;
        color: #40bcbc;
    }
    
    li {
        margin-left:15px;
        margin-right:15px;
        hyphens: auto; 
        text-align: left;
        font-family: sans-serif, arial;
        font-size: 15px;
    }
  }