@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

body {
    background: url('./bg-image.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;

    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #1d1d1d;
    padding: 30px 0px;
}

@media (min-width: 768px) {
    body{
    padding: 0px 0px !important;

    }

} 

.main-container {
    display: flex;
    flex-direction: column-reverse;
    border-radius: 2rem;
    border: hidden;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    width: 93%;
    overflow: hidden;
    margin: 0px !important;
}

@media (min-width: 768px) and (max-width: 1200px) {
    .main-container {
        padding: 0 !important;
        flex-direction: row;
        width: 91%;
    margin: 0px 0px !important;

    }
}

@media (min-width: 1200px) {
    .main-container {
        padding: 0 !important;
        flex-direction: row;
        width: 70%;
    }
}



/* left side */
.left-side {
    width: 100%;
    border-radius: 0 0 2rem 2rem;
    text-align: center;
    padding: 40px;
    background-color: white;
}

@media (min-width: 768px) {
    .left-side {
        border-radius: 0;
        text-align: left;
        width: 50%;
        padding: 90px;
    }
}

.icon-container {
    display: none;
    align-items: center;
    margin-bottom: 4px;
}

.icon-container .icon {
    height: 2rem;
}

.icon-container .text {
    font-size: 1.25rem;
    color: #4a5568;
    font-weight: 500;
}

.headline {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 4px;
}

@media (min-width: 768px) {
    .icon-container {
        display: flex;
        gap: 0.5rem;
     }
    .headline {
        font-size: 1.875rem;
    }
}

.paragraph {
    color: #1a202c;
    margin-bottom: 0.75rem;
    line-height: 1.0;
}

.margining {
    margin-bottom: 13px;
}

.field-container {
    display: flex;
    align-items: center;
    background-color: #E5E7EB;
    border-radius: 2rem;
}

.field-container .icon {
    color: #1a202c;
    padding: 0 0.75rem;
}

.field-container input {
    color: black;
    width: 100%;
    padding: 0.5rem 0.25rem;
    background-color: transparent;
    border-radius: 0 2rem 2rem 0;
    outline: none;
    border: hidden;
}

.remembered-field {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.remembered-field input {
    height: 1rem;
    width: 1rem;
    border-radius: 9999px;
    background-color: #2563eb;
    border: 1px solid #d1d5db;
    outline: none;
}

.remembered-field label {
    margin-left: 0.5rem;
    font-size: 13px;
    color: #4a5568;
}

.submit-button {
    width: 100%;
    padding: 0.5rem 1rem;
    background-color: #048eff;
    color: white;
    border-radius: 1rem;
    font-weight: 600;
    transition: background-color 0.3s;
    border: hidden;
    cursor: pointer;
}

.submit-button:hover {
    background-color: rgba(4, 142, 255, 0.9);
}

.link-text {
    display: block;
    margin-top: 0.5rem;
    text-decoration: underline;
    font-size: 0.875rem;
    color: #718096;
    transition: color 0.3s;
}

.link-text:hover {
    color: #2d3748;
}






/* Right Side */
.right-side {
    width: 100%;
    position: relative;
}

@media (min-width: 768px) {
    .right-side {
        width: 50%;
        position: relative;
    }
}

.right-side  .main-image{
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.text-container {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.1);
    color: white;
    padding: 2rem;
}

.image-container {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: block;
}

@media (min-width: 768px) {
    .image-container {
        top: 2rem;
        right: 2rem;
        display: none;
    }
}

.image-container img {
    height: 28px;
}

.texts {
    position: absolute;
    bottom: 2rem;
    width: 60%;
    left: 2rem;
}

@media (min-width: 768px) {
    .texts {
        width: 48%;
        left: 3.5rem;
        bottom: 3.5rem;
    }
}

.texts img {
    height: 1.75rem;
    margin-bottom: 0.5rem;
}

.texts .heading {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.15;
}

@media (min-width: 768px) {
    .texts .heading {
        font-size: 1.875rem;
    }
}

.texts .paragraph {
    margin-top: 5px;
    color: #e9ebee;
    line-height: 1.04;
}

.texts .paragraph span {
    font-weight: 800;
}

























/* default styling */

/* 1. Box Sizing */
*,
::before,
::after {
  box-sizing: border-box;
}

/* 2. Font and Line Height */
html {
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 3. Margin and Padding Reset */
body,
h1, h2, h3, h4, h5, h6,
p,
ul, ol,
figure,
blockquote,
dl, dd {
  margin: 0;
}


/* 5. Responsive Images */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 6. Button Styles Reset */
button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: inherit;
  margin: 0;
  color: inherit;
}

/* 7. Remove Default Button Appearance */
button, input {
  overflow: visible;
  text-transform: none;
}

/* 8. Remove Default Underline and Color on Links */
a {
  color: inherit;
  text-decoration: inherit;
}

/* 9. Lists Reset */
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 10. Tables */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 11. Form Elements Reset */
textarea {
  resize: vertical;
}

button, [type='button'], [type='reset'], [type='submit'] {
  -webkit-appearance: button;
}

input[type='checkbox'], input[type='radio'] {
  box-sizing: border-box;
  padding: 0;
}

/* 12. Remove Spinners on Number Inputs */
input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

/* 13. Inherit the Text Transform in Buttons */
button, input, select, textarea {
  text-transform: none;
}

/* 14. Remove Focus Outline on Inputs and Buttons */
button:focus, input:focus, select:focus, textarea:focus {
  outline: 0;
}

/* 15. Remove Default Appearance on Fieldset and Legend */
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

legend {
  padding: 0;
}

/* 16. Reset Typography for Abbreviations */
abbr[title] {
  border-bottom: none;
  text-decoration: underline dotted;
}

/* 17. Remove Default Appearance of Disabled Inputs */
input[type='search'] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/* 18. Tables - Add Border Collapse */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 19. Responsive Embeds */
embed, iframe, object {
  display: block;
  max-width: 100%;
  height: auto;
}
