/* Fonts */
@import url('https://fonts.googleapis.com/css?family=Roboto:100,100i,400,900,800i');
@import url(https://fonts.googleapis.com/css?family=Montserrat:700);
@import url(https://fonts.googleapis.com/css?family=Share+Tech+Mono);

/* General Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    border: 0;
}

a {
    text-decoration: none;
}

body {
    height: 100vh;
    font-family: 'Share Tech Mono', monospace; /* Use Share Tech Mono font */
    color: hsl(0, 0%, 0%);
}

/* Header styles */
header {
    background-color: #f0f0f0;
    padding: 20px;
    text-align: center;
}

header h1 {
    margin-top: 0;
}

/* Main content styles */
main {
    padding: 20px;
}

/* Slider Styles */
.cd-slider {
    position: relative;
    width: 100%;
    height: vh;

}

.cd-slider.ie9 nav div span {
    display: none;
}

.cd-slider ul li {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    transition: visibility 0s .6s;
}

.cd-slider ul li::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 100%;
    width: 135vh;
    height: 135vh;
    border: solid rgba(0, 0, 0, 0.2);
    border-width: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: border-width .4s .6s;
}



.content blockquote {
    position: absolute;
    bottom: 5%;
    left: 4%;
    z-index: 2;
    max-width: 45%;
}

blockquote p {
    font-size: 4rem;
    margin-bottom: 2rem;
}

blockquote span {
    font-size: 1.4rem;
}

/* Current Slide */
.cd-slider li.current_slide {
    visibility: visible;
}

.cd-slider li.current_slide::before {
    border-width: 16rem;
}

.cd-slider li.current_slide .content {
    opacity: 1;
    transform: scale(1);
}

/* Navigation */
nav div {
    position: absolute;
    top: 50%;
    left: 4%;
    width: 5rem;
    height: 5rem;
    margin-top: -2.5rem;
    list-style: none;
}

nav div:last-of-type {
    left: auto;
    right: 4%;
}

.prev,
.next {
    position: relative;
    z-index: 100;
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 100%;
    transition: box-shadow .3s;
}

.prev::before,
.prev::after,
.next::before,
.next::after {
    content: '';
    position: absolute;
    left: 43%;
    background: #fff;
    width: .4rem;
    min-width: 3px;
    border-radius: 3px;
    height: 34%;
}






/* Demo Specific Styles */
.decode-text {
    width: 100%;
    font-size: 30px;
    text-align: center;
}

.space {
    display: inline-block;
    width: 10px;
}

.text-animation {
    display: inline-block;
    position: relative;
    color: transparent;
    text-transform: uppercase;
}

.text-animation:before {
    content: "";
    color: black;
    position: absolute;
    top: 50%;
    left: 50%;
    background: #0e182d;
    width: 0;
    height: 1.2em;
    transform: translate(-50%, -55%);
}

.text-animation.state-1:before {
    width: 1px;
}

.text-animation.state-2:before {
    width: 0.9em;
}

.text-animation.state-3 {
    color: black;
}

.text-animation.state-3:before {
    width: 0;
}

.header-content {
    text-align: center;
    /* Remove padding to prevent wrapping */
    padding: 0; 
    /* Ensure inline elements stay in a line */
    white-space: nowrap; 
}

.animated-text {
    font-size: 3em;
    color: #333;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-in-out;
}

.description {
    color: #555;
    font-size: 1.2em;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-in-out;
}

.platform-info {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 10px;
    animation: fadeInUp 1s ease-in-out;
}



.submission-info {
    font-size: 1.1em;
    color: #777;
    animation: fadeInUp 1s ease-in-out;
}

.rolldown-list {
    text-align: left;
    padding: 0;
    margin: 0;
}

.rolldown-list li {
    padding: 1em;
    
    display: block;
    list-style: none;
    text-transform: uppercase;
}

.rolldown-list li {
    visibility: hidden;
    animation: rolldown .7s 1;
    transform-origin: 50% 0;
    animation-fill-mode: forwards;
}

.rolldown-list li:nth-child(2n) {
    background-color: #444;
}

.rolldown-list li:nth-child(2n+1) {
    background-color: #333;
}

#myList {
    position: absolute;
    width: 50%;
    left: 50%;
    margin-left: -25%;
}

#btnReload {
    float: right;
    color: #333;
    background: #ccc;
    text-transform: uppercase;
    border: none;
    padding: .5em 1em;
}

#btnReload:hover {
    background: #ddd;
}

@keyframes rolldown {
    0% {
        visibility: visible;
        transform: rotateX(180deg) perspective(500px);
    }
    70% {
        visibility: visible;
        transform: rotateX(-20deg);
    }
    100% {
        visibility: visible;
        transform: rotateX(0deg);
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Styles */
form {
    margin: 0 auto;
    max-width: 600px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

label {
    font-weight: bold;
}

input[type="url"],
input[type="email"],
input[type="text"],
select,
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

textarea {
    height: 120px;
    resize: vertical;
}

button[type="submit"] {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 15px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: greenyellow;
}

#thank-you-message {
    display: none;
    margin-top: 20px;
}

#thank-you-message p {
    font-size: 18px;
    color: #007bff;
}
/* Add styles to the carousel container */
.carousel-container {
    width: 100%;
    max-width: 100vw; /* Ensure the container is wide enough to accommodate all list items */
    overflow: hidden;
    cursor: pointer; /* Add cursor pointer for better indication of interaction */
}

/* Add styles to the list items */
ul.tech-list {
    display: flex;
    flex-wrap: nowrap; /* Prevent cards from wrapping to the next line */
    overflow-x: auto; /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch; /* Enable smooth scrolling on iOS devices */
    transition: transform 0.5s ease; /* Add a smooth transition for card movement */
}

/* Set the width of each card */
ul.tech-list li {
    width: 200px; /* Adjust the width of each card as needed */
    height: 300px; /* Adjust the height of each card as needed */
    flex: 0 0 auto; /* Ensure each card is visible */
    position: relative; /* Ensure positioning context for absolutely positioned text */
    margin-right: 20px; /* Adjust spacing between cards */
}

/* Add styles for the image containers */
.image-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Add box shadow for visual indication of interaction */
}

/* Ensure images fit within the container while maintaining aspect ratio */
.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure images cover the entire container */
    border: none; /* Remove any border around the image */
    outline: none; /* Remove any outline around the image */
}

/* Add styles for the card text overlay */
.overlay {
    position: absolute;
    top: 0; /* Position the overlay at the top */
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    color: white;
    display: flex; /* Use flexbox for centering */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    padding: 10px; /* Add padding to the overlay */
    opacity: 0; /* Hide overlay by default */
    transition: opacity 0.5s ease, transform 0.3s ease; /* Add transitions for smooth opacity change and hover effect */
    transform: translateY(100%); /* Move overlay below the image */
}

/* Show overlay on hover */
.tech-list li:hover .overlay {
    opacity: 1;
    transform: translateY(0); /* Move overlay up */
}

/* Show card text overlay on hover */
.tech-list li:hover::before,
.tech-list li:hover .overlay {
    opacity: 1;
    transform: translateY(0); /* Move overlay up */
}

/* Hide top overlay on hover */
.tech-list li:hover::before {
    opacity: 0;
}

/* Add hover effect for the text */
.overlay p {
    transition: transform 0.3s ease;
}

/* Scale and translate text on hover */
.tech-list li:hover .overlay p {
    transform: scale(1.2) translateY(-10px);
}
.top-left-image {
    
    top: 10px; /* Adjust as needed */
    left: 10px; /* Adjust as needed */
    z-index: 9999; /* Ensure it's above other content */
    width: 50px; /* Adjust width as needed */
    height: auto; /* Maintain aspect ratio */

}

/* CSS for bottom right image */
.bottom-right-image {
    position: relative;

    z-index: 9999; /* Ensure it's above other content */
    width: 50px; /* Adjust width as needed */
    height: auto; /* Maintain aspect ratio */
    max-width: 100%; /* Ensure responsiveness */
}
footer {
    position: relative;
    bottom: 1%; /* Adjust as needed */
    right: -1%; /* Adjust as needed */
}