@font-face {
    font-family: "Anton";
    src: url("../fonts/Anton-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto-Regular.ttf") format("truetype");
}

html {
    scroll-behavior:smooth;
}

main{
    padding: 10px;
}

body {
    margin: 0;
    font-family: "Roboto", sans-serif;
    background-color: #171614;
    color: #e5e5e5;
    min-height: 1vh;
}

header {
    background-color: blue;
    height: 50px;
    color: white;
}

#post a {
    color: #e5e5e5;
}

header>a {
    color: white;
    text-decoration: none;
}

.logo {
    font-size: 20px !important;
    line-height: 50px;
    text-decoration: none;
    font-family: 'Anton', sans-serif;
    color: white;
    float: left;
    padding-left: 20px;
}

#hamburger {
    color: white;
}

.cross::before {
    border-bottom: 8px solid red;
    -webkit-transform: skewY(-45deg);
    transform: skewY(-45deg);
}

.cross {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cross > img {
    position: absolute;
    width: 170%;
}


#welcome {
    padding-top: 50px;
    background-image: url(../images/topfuel_header.jpg);
    background-position-y: center;
    background-position-x: -17vw;
    background-size: 170vw;
    background-repeat: no-repeat;
    height: 300px;
}

#welcome-title {
    text-shadow: 1px 1px black;
    padding-left: 20px;
}

#welcome-title>span {
    z-index: 0;
}

#title {
    font-size: 30px;
    margin-bottom: 0;
    margin-top: 0;
    padding-top: 50px;
}

nav {
    position: fixed;
    text-align: center;
    background-color: #171614;
    color: white;
    height: 50px;
    width: 100vw;
    z-index: 1;
}

#hamburger>i {
    line-height: 50px;
    font-size: 20px;
    margin-right: 20px;
}

#hamburger {
    float: right;
}

#desktop-nav {
    display: none
}

#mobile-nav {
    clear: both;
    display: none;
}

#mobile-nav>a {
    display: block;
    width: 100%;
    background-color: #171614;
    text-decoration: none;
    color: white;
    line-height: 4em;
    border: 1px solid white;
}

.row {
    padding-top: 50px;
}

.flex-boxes {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

#bikes>h1 {
    padding-left: 10px;
}

.info-box {
    width: 80vw;
    height: 80vw;
    background-color: #e5e5e5;
    margin: 10px;
    color: #003399;
    line-height: 5px;
    border: 5px solid #e5e5e5;
    border-radius: 5px;
}

.info-box>h2 {
    font-size: 16px;
    line-height: 5px;
}

.info-box>img {
    margin-top: 0;
    object-fit: cover;
    height: 80%;
    width: 100%;

}

#post {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}

#post>p>img{
    width: 80vw;
    float: none;
}

#post-header{
    border-bottom: 1px solid #e5e5e5;
}

#newslink {
    color: #e5e5e5;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

#error {
    text-align: center;
    padding: 10 0 100 0;
}

#error>a {
    color: white;
}

#sponsors {
    background-color: #e5e5e5;
    color: #171614;
    padding-top: 10px;
    clear: both;
}

footer {
    background-color: #e5e5e5;
    text-align: center;
    color: #171614;
    padding: 10px;
}

footer>p {
    margin: 0;
}

#social {
    font-size: 40px;
    color: #171614;
    padding-bottom: 10px;
    text-decoration: none;
}

#sponsors>.flex-boxes {
    justify-content: center;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 0px;
}

#sponsors>.flex-boxes>a {
    padding: 10px;
}

#sponsors>.flex-boxes>a>img {
    height: 10vh;
}

#ensys:hover {
    content: url("../images/ensys.png")
}

#social>a {
    color: #171614;
}

#facebook:hover {
    color: #4267B2;
}

#instagram:hover {
    color: transparent;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    background: -webkit-radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    background-clip: text;
    -webkit-background-clip: text;
}

#youtube:hover {
    color: #FF0000;
}

.post-summary {
    width: 80vw;
    background-color: #e5e5e5;
    margin: 10px;
    color: #003399;
    border: 5px solid #e5e5e5;
    border-radius: 5px;
    margin-left: auto;
    margin-right: auto;
    overflow: auto;
}

.post-summary>h2>a {
    text-decoration: none;
    color: #003399;
}

.post-gallery {
    width: 80%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
}

.post-gallery>img {
    min-width: 0;
    object-fit: contain;
}

.post-thumb {
    display: block;
    width: 90%;
    padding: 10px;
    margin: 0 auto;
}

.read-more {
    clear: both;
}

.flip-card {
    width: 80vw;
    height: 100vw;
    background-color: #171614;
    margin: 10px;
    color: #003399;
    perspective: 1000px;
}

.flip-card-front>h2 {
    font-size: 16px;
    line-height: 5px;
}

.flip-card-front>img {
    margin-top: 0;
    object-fit: cover;
    height: 80%;
    width: 100%;

}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    border: 5px solid #e5e5e5;
    border-radius: 5px;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-color: #e5e5e5;
}

.flip-card-front {
    color: #003399;
}

.flip-card-back {
    color: #003399;
    transform: rotateY(180deg);
}

.flip-card-back>h2{
    margin-bottom: 5;
}

#pages{
    text-align: center;
    margin: 10px;
    font-size: 1.2rem;
}

#pages>a{
    text-decoration: none;
    color:#e5e5e5;
    padding-left: 10px;
    padding-right: 10px;
}

.tech-lib{
    padding-bottom: 50px;
}

#tech-header{
    padding-bottom: 50px;
}

.tech-item{
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.tech-item>a{
    text-decoration: none;
    color: #e5e5e5;
}

.tech-item>a>h2{
    font-size: 1rem;
}

#tech-article {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

#tech-article>p>img{
    max-width: 80vw;
    float: none;
}

input, textarea{
    display: block;
    padding: 10px;
    margin-bottom: 20px;
    background-color: #e5e5e5;
    border-radius: 10px;
    border:none;
    color: black;
    width: 100%;
}

label{
    line-height: 2rem;
}

.cf-turnstile{
    width: fit-content;
    padding: 10px 0 10px 0;
    margin-left: auto;
    margin-right: auto;
}

#contact-error{
    color: red;
}

#gallery>.flex-boxes {
    margin-bottom: 20px;
}

#gallery>.flex-boxes>img {
    width: 45vw;
    padding: 5px;
    height:  31vw;
    object-fit: cover;
}

#galleries a{
    text-decoration: none;
}

#gallery>.back {
    color: #e5e5e5;
    text-align: center;
    display: block;
    padding-bottom: 30px;
}

.loader {
    width: 60px;
    aspect-ratio: 2;
    --_g: no-repeat radial-gradient(circle closest-side,#e5e5e5 90%,#0000);
    background: 
    var(--_g) 0%   50%,
    var(--_g) 50%  50%,
    var(--_g) 100% 50%;
    background-size: calc(100%/3) 50%;
    animation: loader 1s infinite linear;
    margin: 20 auto;
}

@keyframes loader {
    20%{background-position:0%   0%, 50%  50%,100%  50%}
    40%{background-position:0% 100%, 50%   0%,100%  50%}
    60%{background-position:0%  50%, 50% 100%,100%   0%}
    80%{background-position:0%  50%, 50%  50%,100% 100%}
}
