* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

input,
textarea {
    caret-color: transparent;
}

.no-js #loader {
    display: none;
}

.js #loader {
    display: block;
    position: absolute;
    left: 100px;
    top: 0;
}

.se-pre-con {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url(https://images2.imgbox.com/c6/f8/jzEiaRO4_o.gif) center no-repeat #f3f3f4;
}

html, body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    padding-bottom: 15px; /* Reserve space for fixed footer */
    height: 100%;
    background:
       url("https://onekomputer.com/images/interview.jpeg?v=2") no-repeat center center fixed,
        rgba(0, 0, 0, 0) linear-gradient(to right, rgb(5, 117, 230), rgb(2, 27, 121)) repeat scroll 0% 0%;
        background-attachment: fixed;
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;
        -webkit-focus-ring-color: rgba(255, 255, 255, 0) !important;
        outline: none !important;
        overflow-x: hidden;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* optional: centers vertically */
  }
  
  .container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color:white;
    max-width: 2000px; /* or 800px, whatever looks best */
    margin: 0 auto;
    padding: 0 20px; /* optional for spacing on smaller screens */
  }

.intro {
    max-width: 75%;
    padding: 5%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5), 0 -4px 8px rgba(0, 0, 0, 0.3);
    /* Adds depth */
    transform: rotateX(2deg) rotateY(1deg);
    /* Slight rotation for 3D effect */
}

.intro:hover {
    transform: rotateX(0deg) rotateY(0deg);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6), 0 -8px 16px rgba(0, 0, 0, 0.4);
    background-color: rgba(0, 0, 0, 0.6); /* Optional: darker on hover */
}

.intro h1 {
    font-size: 1.8em;
    margin-bottom: 20px;
}

.intro p {
    margin: 0;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.intro .button {
    margin-top: 35px;
    font-size: 18px;
    text-decoration: none;
    color: white;
    border: white 2px solid;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.9);
    animation: pulse 2.5s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.intro .button:hover {
    background-color: white;
    color: dimgrey;
    box-shadow: 0 0 10px 4px rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
}

@keyframes pulse {
    to {
        box-shadow: 0 0 0 25px rgba(232, 76, 61, 0);
    }
}

   /* Footer styles */
   footer {
    background-color: rgba(0, 0, 0, 0.644); 
        font-size: 1rem;
        color: white;
        text-align: center;
        padding: 20px 20px;
        position: fixed;
        bottom:0;
        width: 100%;
}


/* Media Queries */

@media (max-width: 1440px) and (max-height: 1050px){

    .intro h1 {
        font-size: 26px;
    }

    .intro p {
        font-size: 22px;
    }

    .intro .button {
        font-size: 1.2em;
        margin-top: 20px;
        padding: 8px 12px;
    }
 
    @keyframes pulse {
        to {
            box-shadow: 0 0 0 25px rgba(232, 76, 61, 0);
        }
    }
}

@media screen and (max-width: 1600px) and (max-height: 900px) {

    .intro h1 {
        font-size: 1.8rem;
    }

    .intro p {
        font-size: 1.4rem;
    }

    .intro .button {
        font-size: 0.95em;
      
    }
}

@media screen and (max-width: 1440px) and (max-height: 900px) {
    .intro .button {
        font-size: 1.2rem;
      
    }
}

@media (max-width: 1366px) {

    .intro h1 {
        font-size: 22px;
    }

    .intro p {
        font-size: 20px;
    }

    .intro .button {
        font-size: 1em;
        margin-top: 20px;
        padding: 8px 12px;
    }

    footer {
        padding: 15px;
        font-size: 0.8rem;
    }
      
}

@media screen and (max-width: 1280px) and (max-height: 600px) {
    .intro h1 {
        font-size: 1.2em;
    }

    .intro p {
        font-size: 1em;
    }

    .intro .button {
        font-size: 0.8em;
        margin-top: 20px;
        padding: 8px 12px;
    }
}

@media (max-width: 800px) and (max-height: 600px){
    .intro h1 {
        font-size: 0.9em;
    }

    .intro p {
        font-size: 0.8em;
    }

    .intro .button {
        font-size: 0.8em;
        margin-top: 20px;
        padding: 8px 12px;
    }
  
    footer {
        padding: 10px;
        font-size: 0.7rem;
    }

    @keyframes pulse {
        to {
            box-shadow: 0 0 0 15px rgba(232, 76, 61, 0);
        }
    }
}

@media screen and (max-width: 768px) {
  
        body {
            background-attachment: scroll;
        }
    
    .intro {
        max-width: 100%;
        padding: 10%;
        font-size: 0.9rem;
    }

    .intro h1 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .intro p {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .intro .button {
        font-size: 1rem;
        padding: 10px 15px;
    }

    footer {
        font-size: 0.8rem;
        padding: 15px;
    }
    @keyframes pulse {
        to {
            box-shadow: 0 0 0 20px rgba(232, 76, 61, 0);
        }
    }
}