@import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css");

@font-face {
    font-family: "Avenir Next";
    src: url("../font/AvenirNext_Variable.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --dark: #161A37;
    --white: #FFFFFF;
    --green: #30CB70;
    --yellow-pastel: #FEFAE6;
}

body {
    font-family: "Avenir Next", sans-serif;
    background-color: var(--white);
    color: var(--dark);
    min-height: 100vh;
    text-align: center;
}

h1,
h2,
h3 {
    font-family: "Avenir Next", sans-serif;
    font-weight: 900;
}

section {
    padding: 60px;
    min-height: 100vh;
}
.container {
    position: relative;
    z-index: 1;
    background-color: var(--yellow-pastel);
    height: 100%;
    padding: 1rem;
    border-radius: 6px;
}

/* Decorative lines */
.decorative-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.blue-line, .yellow-line {
    position: absolute;
    bottom: 0;
    left: 0;
    height: auto;
    width: 50%;
}

.yellow-line {
    top: 0;
    right: 0;
    bottom: auto;
    left: auto;
}

/* Logo */
.logo {
    height: 3.6rem;
    width: auto;
}

/* Title */
.signup-title {
    font-size: 4.6rem; /* 46px */
    color: var(--dark);
    line-height: 1.2;
    margin: 0 auto 4.6rem;
    max-width: 18ch;
}

/* Signup card */
.signup-card {
    background-color: var(--dark);
    color: white;
    padding: 40px;
    border-radius: 6px;
    margin-bottom: 40px;
    max-width: 630px;
    margin-left: auto;
    margin-right: auto;
}

.signup-description {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4rem;
}

/* Google sign-in button */
.google-signin-btn {
    background-color: white;
    color: var(--dark);
    padding: 1.4rem 2.6rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 500;
    border: none;
    display: inline-block;
    margin-bottom: 8rem;
}

.google-signin-btn:hover,
.google-signin-btn:focus {
    background-color: #f8f9fa;
    text-decoration: none;
    color: #2c3e50;
}

.google-logo {
    width: 2rem;
    height: 2rem;
    margin-right: 1rem;
}

.signup-help {
    font-size: 1.6rem;
    line-height: 1.66;
    margin: 0 auto;
    max-width: 41.2rem;
}

.signup-help a {
    color: var(--green);
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    section {
        padding: 3.2rem;
    }

    .signup-card {
        padding: 3.2rem 2rem;
    }

    .signup-title {
        font-size: 3.2rem;
    }

    .signup-description {
        font-size: 2rem;
    }

    .signup-help {
        font-size: 1.4rem;
    }
    
    .blue-line,
    .yellow-line {
        width: 100%;
    }
}

@media (max-width: 480px) {
    html, body {
        background-color: var(--yellow-pastel);
    }

    section {
        padding: 0;
    }

    .container {
        min-height: 100vh;
    }

    .signup-title {
        font-size: 2.8rem;
    }
}
