/* Custom CSS for the dark CTF navbar */
html {
    margin: 0;
    padding: 0
}

body {
    padding-top: 70px;
    overflow-x: hidden;
    background-color: #09051a;
}
.navbar-ctf {
    background-color: rgb(17, 17, 17);
    /* Dark background color */
}
.navbar-ctf .navbar-brand {
    color: #fff;
    /* White text for the brand/logo */
    font-weight: bold;
    /* Bold font weight */
    font-size: 24px;
    /* Larger font size for the brand/logo */
}
.navbar-ctf .custom-toggler {
    color: #fff;
    /* White color for custom toggle icon */
    border: none;
    /* Remove button border */
    padding: 0;
    /* Remove padding */
    background-color: transparent;
    /* Transparent background */
    font-size: 28px;
    /* Adjust font size as needed */
    cursor: pointer;
    /* Cursor style on hover */
    display: none;
    /* Hide toggle icon by default */
}
.navbar-ctf .navbar-toggler-icon {
    border: none;
    /* Remove border from Bootstrap's default toggle icon */
    outline: none;
    /* Remove outline from Bootstrap's default toggle icon */
}
@media (max-width: 767px) {
    /* Show the custom toggle icon on small screens (e.g., mobile devices) */
    .navbar-ctf .custom-toggler {
        display: block;
    }
}
.navbar-ctf .navbar-nav {
    text-align: center;
    /* Center-align menu items */
}
.navbar-ctf .navbar-nav .nav-item {
    display: inline-block;
    margin: 0 10px;
    /* Adjust the spacing between menu items */
}
.navbar-ctf .navbar-nav .nav-link {
    color: #fff;
    /* White text for navigation links */
    font-weight: bold;
    /* Bold font weight */
    font-size: 18px;
    /* Larger font size for navigation links */
    transition: color 0.3s;
    /* Smooth color transition on hover */
}
.navbar-ctf .navbar-nav .nav-link:hover {
    color: #512dee;
    /* Orange text on hover */
}

.navbar-ctf .get-tickets-button a {
    text-decoration: none;
}

.navbar-ctf .get-tickets-button {

    margin-left: auto;
    /* Push the button to the right */
    background-color: #512dee;
    /* Orange background color for the button */
    color: #fff;
    /* White text color for the button */
    border: none;
    /* Remove button border */
    padding: 10px 20px;
    /* Add padding to the button */
    border-radius: 25px;
    /* Rounded corners for the button */
    font-weight: bold;
    /* Bold font weight */
    cursor: pointer;
    /* Cursor style on hover */
    transition: background-color 0.3s;
    /* Smooth background color transition on hover */
}
.navbar-ctf .get-tickets-button:hover {
    background-color: #105f5f;
    /* Darker orange background on hover */
}

/* Custom CSS for the homepage content */
.homepage-container {
    padding: 140px 0 40px;
    background-image: url("../images/bg-hero.svg");
    background-size: 100%;
    /* Add padding to the container */
}
.glitch-text {
    font-size: 36px;
    /* Adjust font size as needed */
    text-transform: uppercase;
    /* Uppercase text */
    text-align: center;
    /* Center-align text */
    color: rgb(255, 255, 255);
    /* Dark text color */
    margin-bottom: 20px;
    /* Add margin to separate from the code */
    font-family: 'Kanit', sans-serif;
}

.code-container {
    background-color: #333;
    /* Dark background color for the code container */
    color: #fff;
    /* White text color for the code */
    padding: 20px;
    /* Add padding to the code container */
    border-radius: 8px;
    /* Rounded corners for the code container */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    /* Box shadow for the code container */
}

/*Terminal Emulator*/
.screen {
    position: absolute;
    overflow: hidden;
    width: 100%;
    height: 200px;
    background: #000000;
}

.terminal_emulator {
    position: absolute;
    bottom: 0;
    width: 100%;
    min-height: 100%;
    padding: 40px;
    font-size: 20px;
    line-height: 25px;
    /* Corrected typo: 'line-heght' to 'line-height' */
    box-sizing: border-box;
    text-align: left;
    font-family: monospace;
    font-weight: 700;
    color: #99ff99;
}

.terminal_emulator__command,
.terminal_emulator__field {
    position: relative;
    padding: 0 1em;
    margin: 0 0 9px;
}

.terminal_emulator__command:after,
.terminal_emulator__command:before,
.terminal_emulator__field:after,
.terminal_emulator__field:before {
    position: absolute;
}

.terminal_emulator__command:before,
.terminal_emulator__field:before {
    left: 0;
    top: 0;
    content: ">";
}

.terminal_emulator__command b,
.terminal_emulator__response {
    padding-bottom: 9px;
}

.terminal_emulator__field {
    display: inline-block;
    min-width: 1em;
    min-height: 1.5em;
    box-sizing: border-box;
}

.terminal_emulator__field:after {
    right: 0;
    bottom: 0.25em;
    content: "";
    width: 1em;
    height: 1.5em;
    background: #99ff99;
    animation: caretBlink 1s infinite;
}

.terminal_emulator__field.waiting {
    padding-left: 0;
    padding-right: 0;
}
.terminal_emulator__field:before {
    display: none;
}

@keyframes caretBlink {
    0%,
    50% {
        opacity: 0;
    }
    100%,
    51% {
        opacity: 1;
    }
}

/*3d hackathon*/
.threedhackathon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: prespective(200px) translate(-50%,-50%);
    transform: skewY(15deg);
    transition: 0.5s;
}

.threedhackathon:hover {
    transform: prespective(200px) translate(-50%,-50%);
    transform: skewY(0deg);
}

.threedhackathon h1 span {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%,-50%);
    margin: 0;
    text-transform: uppercase;
    font-size: 80px;
    color: #fff;
    transform-style: preserve-3d;
    transition: 0.8s;
}
.threedhackathon h1 span:nth-child(1) {
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.threedhackathon h1 span:nth-child(2) {
    color: #5E17EB;
    transform: translate(-50%,-50%) skewX(-60deg);
    left: -38px;
    clip-path: polygon(0 45%, 100% 45%, 100% 55%, 0 55%);
}

.threedhackathon h1 span:nth-child(3) {
    transform: translate(-50%,-50%) skewY(0deg);
    left: -76px;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

.threedhackathon:hover h1 span:nth-child(2),
.threedhackathon:hover h1 span:nth-child(3) {
    transform: translate(-50%,-50%) skewX(0deg);
    left: 0;
    color: #fff;
}

/*********************************************************LEFT COLUMN HERO SECTION*******************************************************/
.wrapper-about {
    box-sizing: border-box;
    display: grid;
    place-content: center;
    min-height: 200px;
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
    color: white;
}

.wrapper-about > div {
    grid-area: 2/2/-2/-2;
}

.lart {
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(0% 0%, 100% 0%, 100% 48%, 0% 58%);
}

.posht {
    clip-path: polygon(0% 60%, 100% 50%, 100% 100%, 0% 100%);
    color: white;
    background-clip: text;
    -webkit-background-clip: text;
    transform: translateX(-0.02em);
}

/* Media queries for responsiveness */
@media only screen and (max-width: 900px) and (min-width: 100px) {
    .wrapper-about {
        font-size: 70px;
        /* Adjust font size for smaller screens */
    }
}

/* Media queries for responsiveness */
@media only screen and (max-width: 1920px) and (min-width: 901px) {
    .wrapper-about {
        font-size: 110px;
        /* Adjust font size for smaller screens */
    }
}

/***************************Short About ************************/

#main-quote {
    position: absolute;
    margin: auto;
    width: 100vw;
    height: 80pt;
    top: 0;
    bottom: 0;

    filter: url(#threshold) blur(0.6px);
}

#text1,
#text2 {
    position: absolute;
    width: 100%;
    display: inline-block;
    color: white;

    font-family: "Raleway", sans-serif;
    font-size: 50pt;

    text-align: center;

    user-select: none;
}

/* Media queries for responsiveness */
@media only screen and (max-width: 900px) and (min-width: 200px) {
    #text1,
    #text2 {
        position: relative;
        width: 100%;
        display: inline-block;
        font-family: "Raleway", sans-serif;
        font-size: 40px;
    }
    #main-quote {
        position: relative;
        height: 80px;
        padding-top: 200px;
    }
}

/*******************Divider*********************/

.first-content::before {
    content: "";
    margin-top: 40px;
    margin-bottom: 40px;
    display: block;
    border-top: 1px solid #ccc;
    /* Adjust the style and color as needed */
}

/****************Ctf pic's****************/
.pic-container {
    box-sizing: border-box;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.box {
    padding: 20px;
    width: 40vmin;
    height: 40vmin;
    border: 1px dashed rgba(255, 255, 255, 0.4);
    position: relative;
}

.box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.4);
    transform: scale(1.42);
}

.spin-container {
    width: 100%;
    height: 100%;
    animation: spin 12s ease-in-out infinite alternate;
    position: relative;
}

.pic-shape {
    width: 100%;
    height: 100%;
    transition: border-radius 1s ease-out;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph 8s ease-in-out infinite both alternate;
    position: absolute;
    overflow: hidden;
    z-index: 5;
}

.pic-bd {
    width: 142%;
    height: 142%;
    position: absolute;
    left: -21%;
    top: -21%;
    background: url("../images/ctfhero.JPG");
    background-size: 100%;
    background-position: center center;
    display: flex;
    color: #003;
    font-size: 5vw;
    font-weight: bold;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-transform: uppercase;
    animation: spin 12s ease-in-out infinite alternate-reverse;
    opacity: 1;
    z-index: 2;
}

@keyframes morph {
    0% {
        border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
    }
    100% {
        border-radius: 40% 60%;
    }
}

@keyframes spin {
    to {
        transform: rotate(1turn);
    }
}

/***********Countdown****************************/
.holder {
    position: absolute;
    background-color: #ffffff;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.new-year {
    font-family: 'Major Mono Display', monospace;
    color: #333333;
    font-size: 20px;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    transform: translateX(-50%) translateY(-50%);
    text-align: center;
}
.year {
    position: relative;
    left: 50%;
    display: table;
    font-size: 6em;
    transform: translateX(-50%);
}
.year2 {
    transform: translateX(-50%) rotateX(180deg);
    opacity: 0.2;
}
.digit {
    display: inline-block;
    margin: 0;
    padding: 0;
    position: relative;
    opacity: 0;
}
.controls {
    margin-top: 30px;
}
.control {
    display: inline-block;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 0.8em;
    border-left: 1px solid #333333;
    opacity: 0;
    position: relative;
    top: 100px;
}
.control:first-child {
    border-left: none;
}
.triangles {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}
.triangle {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #333333;
    position: absolute;
    opacity: 0;
}

/****************************Hover button***********************************/
.glowing-btn {
    position: relative;
    color: hsl(186 100% 69%);
    cursor: pointer;
    padding: 0.35em 1em;
    border: 0.15em solid hsl(186 100% 69%);
    border-radius: 0.45em;
    background: none;
    perspective: 2em;
    font-size: 1em;
    font-weight: 900;
    letter-spacing: 1em;

    -webkit-box-shadow: inset 0 0 0.5em 0 hsl(186 100% 69%), 0 0 0.5em 0 hsl(186 100% 69%);
    -moz-box-shadow: inset 0 0 0.5em 0 hsl(186 100% 69%), 0 0 0.5em 0 hsl(186 100% 69%);
    box-shadow: inset 0 0 0.5em 0 hsl(186 100% 69%), 0 0 0.5em 0 hsl(186 100% 69%);
    animation: border-flicker 2s linear infinite;
}

.glowing-txt {
    float: left;
    margin-right: -0.8em;
    -webkit-text-shadow: 0 0 0.125em hsl(0 0% 100% / 0.3), 0 0 0.45em hsl(186 100% 69%);
    -moz-text-shadow: 0 0 0.125em hsl(0 0% 100% / 0.3), 0 0 0.45em hsl(186 100% 69%);
    text-shadow: 0 0 0.125em hsl(0 0% 100% / 0.3), 0 0 0.45em hsl(186 100% 69%);
    animation: text-flicker 3s linear infinite;
}

.faulty-letter {
    opacity: 0.5;
    animation: faulty-flicker 2s linear infinite;
}

.glowing-btn::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0.7;
    filter: blur(1em);
    transform: translateY(120%) rotateX(95deg) scale(1, 0.35);
    background: hsl(186 100% 69%);
    pointer-events: none;
}

.glowing-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    z-index: -1;
    background-color: hsl(186 100% 69%);
    box-shadow: 0 0 2em 0.2em hsl(186 100% 69%);
    transition: opacity 100ms linear;
}

.glowing-btn:hover {
    color: rgba(0, 0, 0, 0.8);
    text-shadow: none;
    animation: none;
}

.glowing-btn:hover .glowing-txt {
    animation: none;
}

.glowing-btn:hover .faulty-letter {
    animation: none;
    text-shadow: none;
    opacity: 1;
}

.glowing-btn:hover:before {
    filter: blur(1.5em);
    opacity: 1;
}

.glowing-btn:hover:after {
    opacity: 1;
}

@keyframes faulty-flicker {
    0% {
        opacity: 0.1;
    }
    2% {
        opacity: 0.1;
    }
    4% {
        opacity: 0.5;
    }
    19% {
        opacity: 0.5;
    }
    21% {
        opacity: 0.1;
    }
    23% {
        opacity: 1;
    }
    80% {
        opacity: 0.5;
    }
    83% {
        opacity: 0.4;
    }

    87% {
        opacity: 1;
    }
}

@keyframes text-flicker {
    0% {
        opacity: 0.1;
    }

    2% {
        opacity: 1;
    }

    8% {
        opacity: 0.1;
    }

    9% {
        opacity: 1;
    }

    12% {
        opacity: 0.1;
    }
    20% {
        opacity: 1;
    }
    25% {
        opacity: 0.3;
    }
    30% {
        opacity: 1;
    }

    70% {
        opacity: 0.7;
    }
    72% {
        opacity: 0.2;
    }

    77% {
        opacity: 0.9;
    }
    100% {
        opacity: 0.9;
    }
}

@keyframes border-flicker {
    0% {
        opacity: 0.1;
    }
    2% {
        opacity: 1;
    }
    4% {
        opacity: 0.1;
    }

    8% {
        opacity: 1;
    }
    70% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

@media only screen and (max-width: 600px) {
    .glowing-btn {
        font-size: 1em;
    }
}

/**********************Footer****************/
#site-footer {
    background-color: rgb(17, 17, 17);
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-links {
    margin-top: 10px;
}

.social-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: #fff;
    margin: 0 5px;
    border-radius: 50%;
    background-size: cover;
}

#facebook-icon {
    background-image: url("facebook-icon.png");
    /* Replace with your own social media icons */
}

#twitter-icon {
    background-image: url("twitter-icon.png");
}

#linkedin-icon {
    background-image: url("linkedin-icon.png");
}

/**************TT Widged*************************/
.tt-widget {
    display: flex;
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically */
    height: 100vh;
    /* Set the height to 100% of the viewport height */
}

/***************Why you should sponsor this event************************/


.our-sponsors {
    height: 100vh;
    display: flex;
    justify-content: center;
    justify-items: center;
    align-items: center;
}


/***************gET TICKETS************************/
.get-tickets-button a{
    color: white;
}