@font-face {
    font-family: 'Cast Iron Condensed';
    src: url('CastIron-Condensed.woff2') format('woff2'),
        url('CastIron-Condensed.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'roadwayregular';
    src: url('http://127.0.0.1:5500/index.html/css/fonts/roadway_-webfont.woff2') format('woff2'),
        url('http://127.0.0.1:5500/index.html/css/fonts/roadway_-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Custom Properties, update these for your own design */

:root {
    --ff-primary: 'roadwayregular', sans-serif;
    --ff-secondary: 'Oswald', sans-serif;

    --fw-reg: 300;
    --fw-bold: 900;

    --clr-light: #fff;
    --clr-dark: #303030;
  

    --fs-h1: 3rem;
    --fs-h2: 2.25rem;
    --fs-h3: 1.25rem;
    --fs-body: 1rem;

    --bs: 0.25em 0.25em 0.75em rgba(0, 0, 0, .25),
        0.125em 0.125em 0.25em rgba(0, 0, 0, .15);
}

@media (min-width: 800px) {
    :root {
        --fs-h1: 2.5rem;
        --fs-h2: 3.75rem;
        --fs-h3: 1.5rem;
        --fs-body: 1.125rem;
    }
}

/* General styles */

body {
    position: relative;
    overflow: scroll;
    background: var(--clr-light);
    color: var(--clr-dark);
    margin: 0;
    font-family: var(--ff-secondary);
    font-size: var(--fs-body);
    line-height: 1.6;
}

.main-image {
    position: sticky;
    object-fit: cover;
    top: 0;
    height: 100vh;
    width: 50vw;
 }

.main-content__title {
    font-family: var(--ff-primary);
    margin-bottom: 5rem;

}

.flex-wrapper {
    display: flex;
  
}

.main-content-wrapper {
    margin-top: 5rem;
}

.main-image-wrapper,
.main-content-wrapper {
    width: 50%;
}

.main-content-wrapper {
    display:flex;
    flex-direction: column;
    justify-content: center;

}

.main-content__subtitle {
    padding: 3.5em;

}

.main-content {
    text-align: center;
}


img {
    display: block;
    max-width: 100%; 
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    width: 50%;
}



/* Typography */

h1
 {
    line-height: 1;
    margin: 0;
}

h1 {
    font-size: var(--fs-h1)
}

h2 {
    font-size: var(--fs-h2)
}





@media (max-width: 600px) {
    body {
        overflow: auto;
    }
    .flex-wrapper {
        flex-direction: column;
    }

  .main-image {
      position: relative;
      top: 0;
      width: 100%;
  }

  .main-image-wrapper,
  .main-content-wrapper {
      width: 100%;
      
  }
  .main-content-wrapper {
      margin-top: 30px;
      margin-bottom: 15rem;
  }
  

}





