/* 
primary rgb(0, 114, 230);
light rgb(77, 156, 238);
dark rgb(49, 91, 161);
logo_red rgb(244, 67, 54);
*/


html body {
    font-family: 'Roboto', sans-serif;
    color: rgb(88, 88, 88);
    font-weight: 550;
    font-size: 16px;
}

p {
    line-height: 170%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Secular One', sans-serif;
    font-weight: 500;
}

a {
    text-decoration: none;
}

nav a {
    font-weight: 600;
    font-size: larger;
}

header {
    position: fixed;
    z-index: 99;
    width: 100%;
}

nav a.ts {
    color: white !important;
}

nav .w3-dropdown-content {
    right: 0;
}

nav #ts-dropdown i {
    margin: 10px;
    color: white;
}

header .ts:hover,
footer a:hover {
    font-weight: 800;
    text-decoration: none;
    color: rgb(77, 156, 238) !important;
    transition: color 0.5s ease;
}

header h1 {
    alt: "hello";
    content: url("/graphics/full_logo_inverted.svg");
    height: 50px;
}

footer {
    font-weight: 300 !important;
}

footer.ts-sticky {
    position: fixed;
    bottom: 0;
    width: 100%;
}

.ts-primary {
    color: rgb(0, 114, 230);
}

a.ts-primary {
    background-color: rgb(0, 114, 230);
    color: white;
}

.ts-primary-light {
    color: rgb(77, 156, 238);
}

.ts-primary-dark {
    color: rgb(49, 91, 161);
}

.ts-red {
    color: rgb(244, 67, 54);
}

.ts-link {
    color: blue;
    text-decoration: underline;
}

.ts-link:hover {
    font-weight: 600;
    text-decoration: underline;
}


footer.ts-primary-dark,
span.ts-primary {
    background-color: rgb(49, 91, 161);
    color: white;
}

span.ts-red {
    background-color: rgb(244, 67, 54);
    color: white;
}

.header-scroll {
    background-color: rgb(0, 114, 230);
    transition: background-color 0.5s ease;
}

.icon-background {
    position: relative;
    width: 60px;
    height: 60px;
    background-color: rgb(77, 156, 238);
    ;
    font-size: 40px;
    color: white;
}

.icon-background span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}

.phone_img {
    content: url("/graphics/phone.png");
    max-width: 300px;
}

figure .phone_img {
    max-width: 250px;
    width: 100%;
}

#background {
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    height: 100vh;
    background-position: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6)), url("/graphics/sport-collage.jpg");
    /* filter: blur(2px);
    -webkit-filter: blur(2px); */
    color: white;
}

.google_play_store {
    content: url("/graphics/Google_Play_Store_badge_EN.svg");
    max-height: 55px;
    max-width: 186px;
}

.apple_app_store {
    content: url("/graphics/Download_on_the_App_Store_Badge.svg");
    max-height: 55px;
    max-width: 186px;
}

.facebook {
    content: url("/graphics/facebook.svg");
    max-height: 30px;
    max-width: 30px;
    margin: 10px;
}

.twitter {
    content: url("/graphics/twitter.svg");
    max-height: 30px;
    max-width: 30px;
    margin: 10px;
}

.google-play {
    content: url("/graphics/google-play.svg");
    max-height: 30px;
    max-width: 30px;
    margin: 10px;
}

.appstore {
    content: url("/graphics/appstore.svg");
    max-height: 30px;
    max-width: 30px;
    margin: 10px;
}

#cards .w3-card {
    height: 220px;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 599px) {

    figure .phone_img {
        max-width: 150px;
        width: 100%;
    }

    .carousel figure,
    .carousel figure div:not(:first-of-type) {
        -webkit-transform-origin: 50% 50% -200px !important;
        transform-origin: 50% 50% -200px !important;
    }

    .carousel span {
        max-width: 150px;
        font-size: 10px;
    }

    .ts-image {
        width: 100%;
    }

    .ts-ical {
        top: 50px !important;
    }

    #ts-copy_content {
        display: none;
    }

}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) and (max-width: 767px) {
    h2 {
        font-size: 14px;
    }

    .carousel figure,
    .carousel figure div:not(:first-of-type) {
        -webkit-transform-origin: 50% 50% -400px !important;
        transform-origin: 50% 50% -400px !important;
    }

    .carousel span {
        max-width: 150px;
        font-size: 12px;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) and (max-width: 850px) {
    h2 {
        font-size: 15px;
    }

    .carousel figure,
    .carousel figure div:not(:first-of-type) {
        -webkit-transform-origin: 50% 50% -400px !important;
        transform-origin: 50% 50% -400px !important;
    }

    .carousel span {
        max-width: 200px;
        font-size: 14px;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 851px) and (max-width: 992px) {
    h2 {
        font-size: 18px;
    }

}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    h2 {
        font-size: 21px;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) and (max-width: 1325px) {
    h2 {
        font-size: 26px;
    }
}

/* carousel */

.carousel {
    -webkit-perspective: 600px;
    perspective: 600px;
    overflow: hidden;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
}

.carousel>* {
    -webkit-box-flex: 0;
    flex: 0 0 auto;
}

.carousel figure {
    margin: 0;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: -webkit-transform 0.5s;
    transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
    transition: transform 0.5s, -webkit-transform 0.5s;
    /* adjust */
    -webkit-transform-origin: 50% 50% -500px;
    /* adjust */
    transform-origin: 50% 50% -500px;
}

.carousel figure div:not(:first-of-type) {
    position: absolute;
    left: 0;
    top: 0;
    /* adjust */
    -webkit-transform-origin: 50% 50% -500px;
    /* adjust */
    transform-origin: 50% 50% -500px;

}

.carousel figure div:nth-child(2) {
    -webkit-transform: rotateY(0.7853981634rad);
    transform: rotateY(0.7853981634rad);
}

.carousel figure div:nth-child(3) {
    -webkit-transform: rotateY(1.5707963268rad);
    transform: rotateY(1.5707963268rad);
}

.carousel figure div:nth-child(4) {
    -webkit-transform: rotateY(2.3561944902rad);
    transform: rotateY(2.3561944902rad);
}

.carousel figure div:nth-child(5) {
    -webkit-transform: rotateY(3.1415926536rad);
    transform: rotateY(3.1415926536rad);
}

.carousel figure div:nth-child(6) {
    -webkit-transform: rotateY(3.926990817rad);
    transform: rotateY(3.926990817rad);
}

.carousel figure div:nth-child(7) {
    -webkit-transform: rotateY(4.7123889804rad);
    transform: rotateY(4.7123889804rad);
}

.carousel figure div:nth-child(8) {
    -webkit-transform: rotateY(5.4977871438rad);
    transform: rotateY(5.4977871438rad);
}

/* custom carousel */