* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(45deg, #1ebbcc, #ab5cec, #416ac4, #582b7e);
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    animation: gradient 15s ease infinite;
    background-size: 300% 300%;
}

@keyframes gradient {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Add this */
    padding: 20px;
    margin: 20px;
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    height: 10vh;
}

header .logo {
    font-size: 1.5em;
    font-weight: bold;
}

header img {
    height: 8vh;
}

header nav {
    margin-left: auto; /* Add this */
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #ff7e5f;
}

.main-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 20px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    margin: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.main-container .p {
    font-size: 3rem;
    padding: 0.5rem;
    font-weight: bold;
    letter-spacing: 0.1rem;
    text-align: center;
    overflow: hidden;
    margin-bottom: 50px;
}

.main-container p span.typed-text {
    font-weight: normal;
    color: #ff7e5f;
}

.main-container p span.cursor {
    display: inline-block;
    background-color: #ccc;
    margin-left: 0.1rem;
    width: 3px;
    animation: blink 1s infinite;
}

.main-container p span.cursor.typing {
    animation: none;
}

@keyframes blink {
    0%  { background-color: #ccc; }
    49% { background-color: #ccc; }
    50% { background-color: transparent; }
    99% { background-color: transparent; }
    100%  { background-color: #ccc; }
}

.image-container {
    position: relative;
    display: inline-block;
}

.main-container .editor-image {
    width: auto;
    height: 60vh;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: 0.2s ease;
}
.main-container .editor-image:hover {
    height: 70vh;
}


.point {
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: #ff7e5f;
    border-radius: 50%;
    cursor: pointer;
}

.point:hover {
    background-color: transparent;
    border: 3px solid #ff7e5f;
}

.editor-image.hovered {
    height: 70vh;
  }

.info-box {
    display: none;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffffc7;
    color: #000;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.point:hover .info-box {
    display: block;
}

.download-button {
    background-color: #ff7e5f;
    color: #fff;
    padding: 10px 50px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1em;
    transition: background-color 0.3s;
    margin-top: 30px;
    margin-bottom: 15px;
}

.download-button:hover {
    background-color: #ff994b;
}

.docs-a {
    text-decoration: none;
    color: #e4e4e4;
    margin-bottom: -20px;
}

.features {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 50px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 20px;
    backdrop-filter: blur(10px);
    position: relative; /* Needed for the slanted box */
    overflow: hidden; /* Ensure content within slanted box doesn't overflow */
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: -20%; /* Adjust as needed to control the slant */
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-20deg); /* Adjust skew angle as needed */
    z-index: -1;
    border-left: 2px solid #ff7e5f;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #fff;
    position: relative; /* Ensure z-index works properly */
}

.feature-box {
    text-align: center;
    width: 18vw;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    position: relative; /* Needed for z-index stacking */
    height: 20vh;
}

.feature-content {
    display: flex;
    align-items: center;
    position: relative; /* Needed for z-index stacking */
}

.feature-icon {
    margin-right: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 15vh;
    max-width: 50%;
}

.feature-description {
    flex: 1;
    text-align: left;
    color: #4f4f4f;
}

.feature-box h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.feature-box p {
    font-size: 1rem;
    color: #4d4d4d;
}

.engine-description {
    padding: 20px;
    margin-top: 8vh;
    margin-left: 20%;
    margin-right: 20%;
    font-size: 18px;
    line-height: 1.6;
}

.engine-description s {
    text-decoration: line-through;
    text-decoration-thickness: 3px;
    text-decoration-color: #ff7e5f;
    color: #ffffff;
    font-size:17px;
}

.engine-description span {
    background-color: #ff7e5f;
    padding-left: 3px;
    padding-right: 3px;
}

footer {
    text-align: center;
    padding: 20px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.footer-item {
    margin: 10px;
}

.footer-a {
    text-decoration: none;
    color: #ffffff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin: 5px 0;
    text-align: right;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    text-decoration: none;
    color: inherit;
    margin: auto;
}

.social-link i {
    font-size: 1.5em;
}



@media only screen and (max-width: 991px) {
    s {
        display: none;
    }


    .features {
        display: block;
        justify-content: space-around;
    }

    .feature-box {
        text-align: center;
        width: auto;
        padding: 20px;
        margin-top: 20px;
    }

    .features::before {
        display: none;
    }

    .main-container .editor-image {
        width: 85vw;
        height: auto;
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        transition: 0.2s ease;
    }

    .main-container .editor-image:hover {
        height: auto;
    }

    header nav ul li:nth-child(2) {
        display: none;
    }

    header nav ul li:nth-child(1) {
        display: none;
    }

    .footer-links {
        display: none;
    }
}