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

:root {
    --title-color: #333;
    --body-color: #696969;
    --background-color: #eee;
    --foreground-color: #fff;
    --blend-mode: normal;
    --logo-back: url("images/text-logo.png");
    --button-color: #000;
    --button: rotate(-360deg);
}

.dark-theme {
    --title-color: #cc0000;
    --body-color: #afafaf;
    --background-color: #181621;
    --foreground-color: #211f2a;
    --blend-mode: lighten;
    --logo-back: url("images/text-logo-two.png");
    --button-color: #cc0000;
    --button: rotate(180deg);
}

html {
    font-size: 10px;
}

body {
    background-color: var(--background-color);
    font-family: sans-serif;
    font-size: 1.6rem;
    color: var(--body-color);
    transition: color 1s, background-color 1s;
}

section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 0;
}

/* Header and Toggle-btn */

.toggle-btn {
    position: fixed;
    top: 2.5rem;
    right: 2.5rem;
    width: 4rem;
    height: 4rem;
    border: 3px solid var(--button-color);
    display: flex;
    cursor: pointer;
    z-index: 9999;
}

.toggle-btn i {
    margin: auto;
    font-size: 2rem;
    color: var(--button-color);
    transform: var(--button);
    transition: 1s;
}

.header-logo {
  background: var(--logo-back) center no-repeat;
  background-size: contain;
  padding: 5rem;
  position: absolute;
  margin: -2rem 0 1rem 1rem;
}

/* Section One, Section Two, Section Three, & Section Four */

.container {
    width: 100%;
    max-width: 120rem;
    padding: 0 1.5rem;
    margin: 0 auto;
}

.content {
    width: 100%;
    display: flex;
    background-color: var(--foreground-color);
    box-shadow: .5rem .5rem 1rem rgba(0, 0, 0, .05);
    transition: background-color 1s;
}

.content-image {
    flex: 1;
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: var(--blend-mode);
}

.content-text {
    flex: 1;
    padding: 5rem;
}

.title {
    font-family: 'Inter', sans-serif;
    font-size: 4.5rem;
    color: var(--title-color);
}

.subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 5rem;
}

.paragraph {
    font-size: 1.6rem;
}

.paragraph:not(:last-child) {
    margin-bottom: 1.5rem;
}

.cta {
    display: inline-block;
    text-decoration: none;
    border: 2px solid var(--body-color);
    color: var(--body-color);
    padding: 1rem 2.5rem;
    margin-top: 2.5rem;
}

/* Media Queeries */
@media screen and (max-width: 900px) {
    .content {
      margin: 3rem 0;
    }

    .content-text {
        padding: 2.5rem;
    }

    .title {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.2rem;
        margin-bottom: 2.5rem;
    }

    .cta {
        margin-top: 1.5rem;
    }

    .toggle-btn {
      position: absolute;
    }

}

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

  .content {
    display: flex;
    flex-direction: column;
  }

  .container {
    margin-top: 5rem;
  }

  section {
    height: 100%;
  }

  .toggle-btn {
    position: fixed;
  }

  .content-image {
    height: 50vh;
  }

}
