@font-face {
    font-family: "Advent Pro Extra Light";
    src: url('Fonts/AdventPro_ExtraExpanded-ExtraLight.ttf') format('truetype');
}

@font-face {
    font-family: "orbitron";
    src: url('Fonts/Orbitron-VariableFont_wght.ttf') format('truetype');
}

@font-face {
    font-family: "Indu";
    src: url('Fonts/Indu.ttf') format('truetype');
}

@font-face {
    font-family: "Nandini";
    src: url('Fonts/FML-TT-Nandini.ttf') format('truetype');
}

html {
    font-size: clamp(1px, 1.1vw, 50px);
}

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 10%;
    background: #0080759e;
    backdrop-filter: blur(2px);
    z-index: 10;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

#header div:first-of-type {
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 35%;
    color: white;
    font-family: 'Orbitron';
    font-weight: 100;
    padding: 0 1rem;
    font-size: 1.2rem;
}

#header img {
    height: 100%;
    margin-right: 5%;
    filter: drop-shadow(0 0 1px black);
}

#header div:last-of-type {
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    width: 65%;
    padding: 0 1rem;
    font-size: 1rem;
}

#header div:last-of-type a {
    font-size: 1.2rem;
    font-family: 'Advent Pro Extra Light';
    font-weight: 900;
    color: white;
    text-decoration: none;

    transition: color 0.2s ease;
}

#header div:last-of-type a::after {
    display: grid;
	content: '';
	grid-column: 1 / -1;
	height: 1px;
	width: 0%;
	background: #00ff22;

    transition: width 0.2s ease;
}

#header div:last-of-type a:hover {
    color: #00ff22;
}

#header div:last-of-type a:hover::after {
    width: 100%;
}

#menu-btn {
    color: white;
    font-size: 2rem;
    width: 10%;
    display: none;
}

#submenu {
    position: fixed;
    top: 20%;
    left: 0;
    width: 100%;
    height: 70%;
    border-top: 1px solid #008075;
    border-bottom: 1px solid #008075;
    background: #0080759e;
    backdrop-filter: blur(2px);
    z-index: 5;
    opacity: 0;

    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;

    transition: opacity 1s ease;
}

#submenu a {
    width: 100%;
    height: 100%;
    background: radial-gradient(#00000063, transparent 90%);
    color: white;
    font-size: 3rem;
    font-family: "Advent Pro Extra Light";
    font-weight: 900;
    text-decoration: none;
    text-align: center;

    display: flex;
    align-items: center;
    justify-content: center;
}

#slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#slideshow-inner {
    height: 100%;
    width: 600%;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    transition: transform 2s ease;
}

.slide {
    position: relative;
    flex: 0 0 16.666666%;
    height: 100%;
    background-color: black;
}

.slide div {
    position: absolute;
    padding: 1rem 1rem;
    font-family: "Orbitron";
    color: white;
    background: rgba(0, 0, 0, 0.815);
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
}

#slide1 div, #slide3 div, #slide5 div {
    top: 10%;
    right: 0;
    width: 30%;
    height: 90%;
    border-top-left-radius: 1.5rem;
    border-bottom-left-radius: 1.5rem;
    border-left: 2px solid #00e7d4bf;
    box-shadow: -1rem 0rem 2rem #00e7d4bf;
}

#slide2 div, #slide4 div, #slide6 div {
    top: 10%;
    left: 0;
    width: 30%;
    height: 90%;
    border-top-right-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
    border-right: 2px solid #00e7d4bf;
    box-shadow: 1rem 0rem 2rem #00e7d4bf;
}

#slide1 div {
    top: 30%;
    right: 0;
    width: 30%;
    height: 50%;
}

#slide2 div {
    top: 30%;
    right: 0;
    width: 30%;
    height: 50%;
}

#slide3 div {
    top: 50%;
    right: 0;
    width: 30%;
    height: 37.5%;
}

#slide4 div {
    top: 50%;
    right: 0;
    width: 30%;
    height: 37.5%;
}

#slide5 div {
    top: 15%;
    right: 0;
    width: 30%;
    height: 37.5%;
}

#slide6 div {
    top: 15%;
    right: 0;
    width: 30%;
    height: 37.5%;
}

.slide div p {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.slide div ul {
    padding-left: 4rem;
    line-height: 2rem;
}

.slide div span {
    padding-left: 2rem;
    padding-top: 1rem;
    line-height: 1.5rem;
}

.slide div button {
    margin-left: 12.5%;
    margin-top: 10%;
    width: 75%;
    padding: 0.5rem 1rem;
    border: 2px solid #00e7d4bf;
    border-radius: 0.5rem;
    background: transparent;
    color: white;
    font-family: 'Orbitron';

    transition: box-shadow 0.5s ease;
}

.slide div button:hover {
    box-shadow: 0 0 1rem #00e7d4bf;
    cursor: pointer;
}

#slide1 div span {
    display: none;
}

.slide img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

#slide1 img, #slide3 img, #slide5 img {
    mask: linear-gradient(to left, black 95%, transparent);
}

#slide2 img, #slide4 img, #slide6 img {
    mask: linear-gradient(to right, black 95%, transparent);
}

.slide img:not(:first-of-type) {
    display: none;
}

#progress {
    position: absolute;
    top: calc(100% - 4rem);
    left: 40%;
    width: 20%;
    height: 2rem;
    z-index: 3;

    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

#progress .circle {
    width: 1rem;
    height: 1rem;
    background-color: white;
    border-radius: 100%;
    opacity: 0.3;
    border: 1px solid black;

    transition: opacity 1s ease;
}

#progress .circle:hover {
    cursor: pointer;
}

#progress #circle1 {
    background-color: white;
    opacity: 1;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2rem;
    background: #0080759e;
    backdrop-filter: blur(5px);
    color: white;
    font-family: "Orbitron";
    font-size: 0.75rem;
    z-index: 10;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

.indexbg {
    position: fixed;
    height: 100%;
    width: auto;
    top: 0%;
    left: 0%;
    filter: brightness(0.5) blur(5px);
    z-index: -1;
}

/* About Us, Contact Us, Services, Solutions */

.body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    overflow: hidden;
}

.body img {
    position: absolute;
    height: 100% !important;
    filter: blur(5px);
}

.body div {
    position: absolute;
    top: 55%;
    left: 50%;
    width: calc(80% - 1.5rem);
    height: calc(60% - 1rem);
    transform: translate(-50%, -50%);
    padding: 2rem 3rem;
    border-radius: 3rem;
    background: #000000ac;
    text-align: center;
    color: white;
    font-family: "Orbitron";
    &::-webkit-scrollbar {
        display: none;
    }
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-y: scroll;

    display: flex;
    flex-direction: column;
    align-items: safe center;
    justify-content: safe center;
}

.body div p::after {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
	content: '';
	grid-column: 1 / -1;
	height: 1px;
	width: 75%;
	background: white;
}

.body div p, #body div b {
    font-size: 2rem;
}

.body div span {
    width: 80%;
}

.body div img {
    position: relative;
    width: 100% !important;
    height: auto !important;
    filter: none;
    border-radius: 2rem;
}

#body {
    display: block !important;
}

/* Programme */

.bg {
    position: fixed;
    top: -1%;
    left: -1%;
    width: 102%;
    height: auto;
}

.body-container {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    padding-top: 1rem;
}

.body-container img {
    width: 100%;
    height: auto;
    border-top-left-radius: 4rem;
    border-top-right-radius: 4rem;
    mask-image: linear-gradient(to bottom, black 80%, transparent);
}

#counter {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    color: white;
    text-shadow: 0 0 10px black;
    font-family: "Orbitron";
    font-size: 6rem;
    font-weight: 400;

    display: flex;
    justify-content: center;
    align-items: center;
}

.body-container h1 {
    position: relative;
    left: 50%;
    width: 50%;
    transform: translateX(-50%);
    font-family: "Indu";
    font-size: 4rem;
    text-align: center;
    color: #ffffff;
    padding-bottom: 4.5rem;

    display: inline-block;
}

.body-container h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 60px;
    z-index: 1;
    
    background-image: url("data:image/svg+xml;base64,PHN2ZyBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMCAxMDAgUSA1MCAwIDEwMCA1MCIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSI4IiBmaWxsPSJ0cmFuc3BhcmVudCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+PC9zdmc+");
    
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
}

.body-container h3 {
    position: relative;
    left: 50%;
    width: 30%;
    transform: translateX(-50%);
    font-family: "Indu";
    font-size: 3rem;
    text-align: center;
    color: #ffffff;
    padding-bottom: 6rem;

    display: inline-block;
}

.body-container h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 60px;
    z-index: 1;
    
    background-image: url("data:image/svg+xml;base64,PHN2ZyBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMCAxMDAgUSA1MCAwIDEwMCA1MCIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSI4IiBmaWxsPSJ0cmFuc3BhcmVudCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+PC9zdmc+");
    
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
}

#c {
    mask-image: linear-gradient(to top, transparent 0%, black 10%, black 90%, transparent 100%);
}

.steps {
    position: relative;
    left: 0%;
    width: 100%;
    height: 80%;
    font-family: "Nandini";
    font-size: 2.8rem;
    color: white;

    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, 1fr);
}

.step i {
    font-size: 1rem;
    padding-left: 1rem;
}

.step {
    position: relative;
    left: 50%;
    width: calc(80% - 2rem);
    height: auto;
    transform: translateX(-50%);
    border-radius: 2rem;
    border: 2px solid var(--color-br);
    box-shadow: 0 1rem 2rem var(--color-bg);
    background: var(--color-bg);
    padding: 2rem 2rem;
    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;

    animation: glide 5s ease infinite;
}

.step:nth-child(1) { grid-column: 1; grid-row: 1; --color-br: #00b7ff; --color-bg: #00b7ff92; }
.step:nth-child(2) { grid-column: 2; grid-row: 2; --color-br: #ff6200; --color-bg: #ff620092; animation-delay: 0.5s; }
.step:nth-child(3) { grid-column: 1; grid-row: 3; --color-br: #00ff1e; --color-bg: #00ff1e92; animation-delay: 1s; }
.step:nth-child(4) { grid-column: 2; grid-row: 4; --color-br: #ff0000; --color-bg: #ff000092; animation-delay: 1.5s; }

@keyframes glide {
    0% {
        transform: translateX(-50%);
    }
    50% {
        transform: translateX(-50%) translateY(10%);
    }
    100% {
        transform: translateX(-50%);
    }
}

#bgCanvas {
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Responsiveness */

/* Orientation based */
@media (orientation: portrait) {
    .slide img {
        height: 100%;
        width: auto;
    }

    .body-container h1::after {
        display: none;
    }

    .body-container h3::after {
        display: none;
    }

    .bg {
        height: 102% !important;
        width: auto !important;
    }

    .steps {
        font-size: 4rem;
    }

    .body-container h1 {
        width: 100%;
        font-size: 5rem;
        padding-bottom: 5rem;
    }

    .body-container h3 {
        font-size: 4rem;
        padding-bottom: 0;
    }
}

@media (orientation: landscape) {
    .body img {
        width: 100% !important;
    }
    
    .indexbg {
        width: 100% !important;
        height: auto !important;
    }
}

/* Small Phones */
@media (max-width: 480px) and (orientation: landscape) {
    #header {
        height: 20%;
    }

    #header div:first-of-type {
        width: 80%;
        font-size: 3rem;
    }

    #header div:last-of-type {
        display: none;
    }

    #menu-btn {
        display: block;
    }

    .slide img {
        mask: linear-gradient(to left, transparent 0%, black 5%, black 95%, transparent 100%) !important;
    }

    .slide div {
        top: 50% !important;
        height: 40% !important;
        left: 50% !important;
        transform: translateX(-50%);
        width: 90% !important;
        box-shadow: none !important;
        border-left: 2px solid #00e7d4bf !important;
        border-right: 2px solid #00e7d4bf !important;
        border-top: 2px solid #00e7d4bf !important;
    }

    .slide div button {
        display: none;
    }

    .slide div p {
        font-size: 3rem;
        text-align: center;
    }

    .slide div span {
        font-size: 1.2rem;
        padding-left: 0 !important;
        text-align: center;
        line-height: 3rem;
    }

    .slide div span i {
        display: none;
    }

    #slide1 div ul {
        display: none;
    }

    #slide1 div span {
        display: block;
    }
    
    #progress {
        left: 0%;
        top: 85%;
        width: 100%;
        height: 2rem;
    }

    #progress .circle {
        width: 2rem;
        height: 2rem;
    }

    .footer {
        font-size: 2rem;
        height: 10%;
    }

    /* About Us, Contact Us, Services, Solutions */

    .body div p, #body div b {
        font-size: 4rem;
    }

    .body div span {
        font-size: 2rem;
    }
}

@media (max-width: 480px) and (orientation: portrait) {
    #header {
        height: 20%;
    }

    #header div:first-of-type {
        width: 85%;
        font-size: 3.5rem;
        justify-content: space-between;
    }

    #header div:last-of-type {
        display: none;
    }

    #menu-btn {
        display: block;
        font-size: 3rem;
    }

    .slide img:first-of-type {
        display: none;
    }

    .slide img:not(:first-of-type) {
        display: block;
        mask: linear-gradient(to left, transparent 0%, black 5%, black 95%, transparent 100%) !important;
        width: 100%;
        height: auto !important;
    }

    .slide div {
        top: 60% !important;
        height: 30% !important;
        left: 50% !important;
        transform: translateX(-50%);
        width: 90% !important;
        box-shadow: none !important;
        border: 2px solid #00e7d4bf !important;
        border-top-left-radius: 5rem !important;
        border-top-right-radius: 5rem !important;
    }

    .slide div button {
        display: none;
    }

    .slide div p {
        font-size: 5rem;
        text-align: center;
    }

    .slide div span {
        font-size: 3rem;
        padding-left: 0 !important;
        text-align: center;
        line-height: 4rem;
    }

    .slide div span i {
        display: none;
    }

    #slide1 div ul {
        display: none;
    }

    #slide1 div span {
        display: block;
    }
    
    #progress {
        left: 0%;
        top: 85%;
        width: 100%;
        height: 3rem;
        display: none;
    }

    #progress .circle {
        width: 2rem;
        height: 2rem;
    }

    .footer {
        font-size: 2rem;
        height: 10%;
    }

    /* About Us, Contact Us, Services, Solutions */

    .body div p, #body div b {
        font-size: 5rem;
    }

    .body div span {
        font-size: 2rem;
    }
}

/* Large Phones / Small Tablets */
@media (min-width: 481px) and (max-width: 767px) and (orientation: landscape) {
    #header {
        height: 20%;
    }

    #header div:first-of-type {
        width: 80%;
        font-size: 3rem;
    }

    #header div:last-of-type {
        display: none;
    }

    #menu-btn {
        display: block;
    }

    .slide img {
        mask: linear-gradient(to left, transparent 0%, black 10%, black 90%, transparent 100%) !important;
    }

    .slide div button {
        display: none;
    }

    #slide5 div, #slide6 div {
        top: 20% !important;
    }

    .slide div p {
        font-size: 2rem;
        text-align: center;
    }

    .slide div span {
        font-size: 1.5rem;
        padding-left: 0 !important;
        text-align: center;
        line-height: 2.2rem;
    }

    .slide div span i {
        display: none;
    }

    #slide1 div ul {
        display: none;
    }

    #slide1 div span {
        display: block;
    }
    
    #progress {
        left: 0%;
        top: 85%;
        width: 100%;
        height: 2rem;
    }

    #progress .circle {
        width: 2rem;
        height: 2rem;
    }

    .footer {
        font-size: 2rem;
        height: 10%;
    }

    /* About Us, Contact Us, Services, Solutions */

    .body div p, #body div b {
        font-size: 4rem;
    }

    .body div span {
        font-size: 2rem;
    }
}

@media (min-width: 481px) and (max-width: 99999px) and (orientation: portrait) {
    #header {
        height: 15%;
    }

    #header div:first-of-type {
        width: 85%;
        font-size: 3.5rem;
        justify-content: space-between;
    }

    #header div:last-of-type {
        display: none;
    }

    #menu-btn {
        display: block;
        font-size: 3rem;
    }

    #submenu {
        top: 15%;
        height: 80%;
    }

    .slide img:first-of-type {
        display: none;
    }

    .slide img:not(:first-of-type) {
        display: block;
        mask: linear-gradient(to left, transparent 0%, black 5%, black 95%, transparent 100%) !important;
        width: 100%;
        height: auto !important;
    }

    .slide div {
        top: 60% !important;
        height: 25% !important;
        left: 50% !important;
        transform: translateX(-50%);
        width: 90% !important;
        box-shadow: none !important;
        border: 2px solid #00e7d4bf !important;
        border-radius: 5rem !important;
    }

    .slide div p {
        font-size: 4rem;
        text-align: center;
    }

    .slide div span {
        font-size: 2rem;
        padding-left: 0 !important;
        text-align: center;
        line-height: 3rem;
    }

    .slide div span i {
        display: none;
    }

    #slide1 div ul {
        display: none;
    }

    #slide1 div span {
        display: block;
    }
    
    #progress {
        left: 0%;
        top: 89%;
        width: 100%;
        height: 3rem;
    }

    #progress .circle {
        width: 3rem;
        height: 3rem;
    }

    .footer {
        font-size: 2rem;
        height: 7%;
    }

    /* About Us, Contact Us, Services, Solutions */

    .body div p, #body div b {
        font-size: 5rem;
    }

    .body div span {
        font-size: 2rem;
    }
}