@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;900&display=swap');

:root {
    --page-background-color: #f8e3d2;
    --main-text-color: #59626a;
    --title-color: #16191a;
    --button-background-color: #caa78d;
    --emph-line-color: #caa78d;
    --signup-overview-color: #f6f9fe;
}

html {
    width: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
}

h1 {
    font-size: 3.5rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

header {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: var(--page-background-color);
    padding: 3rem;
    box-sizing: border-box;
}

section {
    padding-top: 2rem;
    padding-left: 10%;
    padding-right: 10%;
    box-sizing: border-box;
}

p {
    line-height: 2rem;
    color: var(--main-text-color);
    font-size: 1.2rem;
}

input {
    height: 3rem;
    width: 100%;
    border: .5px solid #dfdfdf;
    border-radius: 3px;
    box-shadow:
    0 1px 1px hsl(0deg 0% 0% / 0.075),
    0 2px 2px hsl(0deg 0% 0% / 0.075),
    0 4px 4px hsl(0deg 0% 0% / 0.075),
    0 8px 8px hsl(0deg 0% 0% / 0.075),
    0 16px 16px hsl(0deg 0% 0% / 0.075)
  ;
  padding: 0.5rem;
  box-sizing: border-box;
}

a {
    color: var(--emph-line-color);
}

.emph {
    font-weight: 600;
    border-bottom: 4px solid var(--emph-line-color);
    line-height: 0.6rem;
}

.centerText {
    text-align: center;
    max-width: 70%;
}

.logo {
    display: flex;
    width: 200px;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.leading {
    background-color: var(--page-background-color);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.blue-section {
    background-color: var(--page-background-color);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.white-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.movie-element {
    width: 80%;
    aspect-ratio: 16/9;
    background-color: lightgray;
}

.signup {
    width: 70%;
    background-color: white;
    border-radius: 5px;
    box-shadow:
    0 1px 1px hsl(0deg 0% 0% / 0.075),
    0 2px 2px hsl(0deg 0% 0% / 0.075),
    0 4px 4px hsl(0deg 0% 0% / 0.075),
    0 8px 8px hsl(0deg 0% 0% / 0.075),
    0 16px 16px hsl(0deg 0% 0% / 0.075)
  ;
    box-sizing: border-box;
    margin-top: 1rem;
}

.signup-top {
    padding: 2rem;
}

.signup-form {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.input-container {
    font-weight: 600;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin-right: 1rem;
}

.submit-button {
    background-color: var(--button-background-color);
    color: white;
    border: 0;
    border-radius: 3px;
    font-weight: 600;
    font-size: 1.1rem;
    width: 150px;
    height: 3rem;
    box-shadow:
    0 1px 1px hsl(0deg 0% 0% / 0.075),
    0 2px 2px hsl(0deg 0% 0% / 0.075),
    0 4px 4px hsl(0deg 0% 0% / 0.075),
    0 8px 8px hsl(0deg 0% 0% / 0.075),
    0 16px 16px hsl(0deg 0% 0% / 0.075)
  ;
  box-sizing: border-box;
  cursor: pointer;
}

.withTopMargin {
    margin-top: 2rem;
}

.form-label {
    margin-bottom: .5rem;
}

.signup-overview {
    background-color: var(--signup-overview-color);
    width: 100%;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
}

.signup-overview-side {
    width: 50%;
}

.meet-teacher {
    width: 60%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    padding-top: 2rem;
}

.text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.circle {
    width: 10rem;
    height: 10rem;
    border-radius: 10rem;
    margin-right: 3rem;
}

.big {
    font-size: 2.3rem;
}

.faq-block {
    width: 700px;
    background-color: #fff;
    padding: 2rem;
    box-sizing: border-box;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.title {
    display: block;
    font-weight: 600;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    height: 3rem;
    overflow: hidden;
}

.content {
    height: 8rem;
    overflow: hidden;
}

.more-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 80%;
    box-sizing: border-box;
}

.more-info-text {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.more-info-pic {
    width: 600px;
}

.bottom-sign-up {
    width: 500px;
    display: flex;
    flex-direction: column;
    margin-top: 1.5rem;
    margin-bottom: 3rem;
}

footer {
    text-align: center;
    color: #c9c9c9;
    padding: 2rem;
    font-size: 0.8rem;
}

.footer-link {
    color: #9d9d9d;
    text-decoration: none;
}

.content-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 80%;
}

.content-item {
    width: 25%;
    min-width: 300px;
    margin: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.content-item-image {
    width: 300px;
    height: 200px;
    background-color: #eaf7ff;
    box-shadow:
    0 1px 1px hsl(0deg 0% 0% / 0.075),
    0 2px 2px hsl(0deg 0% 0% / 0.075),
    0 4px 4px hsl(0deg 0% 0% / 0.075),
    0 8px 8px hsl(0deg 0% 0% / 0.075),
    0 16px 16px hsl(0deg 0% 0% / 0.075)
  ;
  margin-bottom: 1.5rem;
}

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

.credits {
    margin-top: 2rem;
    text-align: right;
}