@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

/* Specific font weights */
.inter-100 {
    font-family: "Inter", sans-serif;
    font-weight: 100;
}

.inter-200 {
    font-family: "Inter", sans-serif;
    font-weight: 200;
}

.inter-300 {
    font-family: "Inter", sans-serif;
    font-weight: 300;
}

.inter-400 {
    font-family: "Inter", sans-serif;
    font-weight: 400;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    width: 90%;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    background-color: #2F3238;
    color: #EEF4F8;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
    overflow: auto;
}

.background-wrapper {
    position: absolute;
    top: 0px;
    right: 0;
    width: 40%; /* Consistent width of 50% */
    height: calc(100% - 100px);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left top;
    clip-path: inset(0 0 0 0%);
    z-index: 0;
}

.background-wrapper {
    background-image: url('../img/steelsmal.png'); /* adjust path if different */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: brightness(0.5); /* optional: dims background for better text contrast */
  }

.container {
    width: 100%;
    position: relative;
    display: flex;
    padding-left: 100px;
    margin-top: 10px;
    z-index: 1;
}

.main-content {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex: 1;
}

.content {
    max-width: 600px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    margin-top: 20px;
}

.logo {
    width: 220px;
    margin-bottom: 0px;
}

.description {
    font-size: 1em;
    font-family: "Inter", sans-serif;
    font-weight: 300;
    width: 80%;
}

h1 {
    font-size: 3em;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    transition: opacity 1s ease-in-out;
}

p {
    font-size: 1.2em;
    margin-bottom: 30px;
    font-weight: 400;
    transition: opacity 1s ease-in-out;
}

.email-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.email-form input {
    margin-bottom: 10px;
}

.email-form input[type="text"], .email-form input[type="email"] {
    padding: 10px;
    border: none;
    outline: none;
    width: 350px;
    font-size: 1em;
    border-radius: 50px;
    font-family: "Inter", sans-serif;
    font-weight: 300;
}

.email-form button {
    padding: 10px;
    border: 1px solid #ffffff;
    background-color: transparent;
    color: #ffffff;
    cursor: pointer;
    outline: none;
    border-radius: 50px;
    font-size: 1em;
    width: 100px;
    transition: background-color 0.3s, color 0.3s;
}

.email-form button:hover {
    background-color: #ffffff;
    color: #002B32;
}

.email-form button:active {
    background-color: #ffffff;
    color: #002B32;
}

.thank-you-message {
    text-align: center;
}

.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 2;
    cursor: pointer;
}

.overlay .loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.popup {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background: #002B32;
    border: 1px solid #55E2C9;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    z-index: 3;
    text-align: center;
    font-family: 'Inter', sans-serif;
    color: white;
}

.popup button {
    background-color: #55E2C9;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s;
}

.popup button:hover {
    background-color: #42c3a8;
}

h1, p {
    transition: opacity 0.5s ease-in-out;
}

@media only screen and (max-width: 1400px) {
   
}

@media only screen and (max-width: 1200px) {
 

    .container {
        padding-left: 10px;
        margin-top: 10px;
    }

    .content {
        margin-top: 50px;
        padding-left: 10px;
    }

    h1 {
        font-family: "Inter", sans-serif;
        font-weight: 400;
      
    }


    .description {
        font-size: 0.9em;
        font-family: "Inter", sans-serif;
        font-weight: 300;
        width: 75%;
       
    }

    .email-form input[type="text"], .email-form input[type="email"] {
        width: 350px;
    }

    .email-form button {
        width: 150px;
    }
}

@media only screen and (min-device-width: 360px) and (max-device-width: 667px) {
 

    .container {
        padding-left: 10px;
        margin-top: 10px;
    }

    .content {
        margin-top: 50px;
        padding-left: 20px;
    }

    h1 {
        font-family: "Inter", sans-serif;
        font-weight: 400;
        font-size: 2.9em;
    
    }

    

    .description {
        font-size: 0.9em;
        font-family: "Inter", sans-serif;
        font-weight: 50;
        width: 100%;
    }

    .email-form input[type="text"], .email-form input[type="email"] {
        width: 300px;
    }

    .email-form button {
        width: 150px;
    }
}

@media only screen and (min-device-width: 300px) and (max-device-width: 667px) {
   

    .container {
        padding-left: 10px;
        margin-top: 10px;   
    }

    .content {
        margin-top: 10px;
        padding-left: 10px;

    }

    h1 {
        font-family: "Inter", sans-serif;
        font-weight: 400;
        font-size: 2.5em;
    }

   

    .description {
        font-size: 1.2em;
        font-family: "Inter", sans-serif;
        font-weight: 100;
        width: 100%;
    }

    .email-form input[type="text"], .email-form input[type="email"] {
        width: 300px;
    }

    .email-form button {
        width: 150px;
    }
}
