:root {
    --gold: #e9c78a;
    --gold-hover: #ddba78;
    --accent: rgb(15, 87, 121);
    --accent-hover: rgb(11, 69, 95);
}

html {
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

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

body {
    margin: 0;
}


/* NAVBAR */

nav {
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    width: 100%;
    padding: 1em 2em;
}

nav img {
    height: 60px;
}

.navbar-links {
    display: flex;
    align-items: center;
}

.navbar-links a {
    margin-left: 24px;
    text-decoration: none;
}

.navbar-join {
    background-color: #e9c78a;
    color: white;
    border-radius: 5px;
    padding: 10px 20px;
    font-weight: bold;
}

.navbar-burger {
    display: none;
    font-size: 24px;
    margin: 0;
    text-align: right;
    color: black;
}

.navbar-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    padding: 40px;
    transition: all 500ms ease;
    transition-delay: 250ms;
}

.navbar-menu a {
    display: block;
    text-decoration: none;
    margin: 30px auto;
}

@media (max-width: 600px) {
    .navbar-links {
        display: none;
    }

    .navbar-burger {
        display: flex;
        cursor: pointer;
      }

    .navbar-menu.active {
        display: flex;
        background-color: white;
        top: 70px;
        transition: all 500ms ease;
        transition-delay: 250ms;
    }
    .navbar-menu.active::after {
        display: none;
    }
}

nav a {
    color: black;
    text-decoration: none;
    text-transform: uppercase;
    margin: 30px auto;
    font-size: large;
    letter-spacing: 0.2em;
    transition: transform 300ms;
}

nav a:hover {
    text-decoration: none;
    transform: translate(0, 0.2em);
}


img {
    pointer-events: none;
}

/* TEXT */

h1 {
    font-size: 72px;
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    /* font-style: italic; */
    text-transform: capitalize;
    letter-spacing: 0.1em;
    color: white;
    margin: 0;
    text-align: center;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}
.policy-h1 {
    color: black;
    text-shadow: none;
    margin: 50px auto 0;
}
.sub-h {
    color: white;
    letter-spacing: 0.1em;
    text-shadow: 0 0 8px black;
}

h2 {
    font-size: 40px;
    font-family: 'Playfair Display', serif;
    /* text-transform: capitalize; */
    letter-spacing: 0.1em;
    color: black;
    margin: 0 auto 20px;
    text-align: center;
}

h3 {
    font-size: 24px;
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    letter-spacing: 0.05em;
    text-align: left;
}

p, label {
    font-size: large;
    line-height: 1.8em;
    color: black;
}

b {
    font-style: normal;
    font-weight: bold;
}

em {
    font-style: normal;
    text-shadow: 0 0 20px var(--gold);
}

ul {
    list-style-type: square; 
    color: black;
    padding: 0;
    font-size: large;
}
li {
    margin: 1em;
    margin-right: 0;
    padding-left: 2%;
    line-height: 1.8em;
}



/* CONTAINERS */

.img-div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin: auto;
    min-height: 600px;
    padding: 70px 8%;
    background-color: black;
}
.margin-div {
    width: 80%;
    margin: auto;
    text-align: left;
}


#home-div {
    position: relative;
    height: calc(100vh - 50px); 
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    background: transparent;
    /* background: linear-gradient(210deg, rgba(120, 85, 134, 0.2), rgba(255, 255, 255, 0), rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)); */
}

/* #home-div::before {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 0;
    width: 30%;
    height: 200px;
    filter: blur(80px);
    -webkit-filter: blur(80px);
    background: #ffe1a985;
    z-index: 1;
} */

/* #home-div::after {
    content: '';
    position: absolute;
    top: 100px;
    left: -50px;
    width: 30%;
    height: 400px;
    background: rgba(138, 176, 233, 0.5);
    filter: blur(100px);
    -webkit-filter: blur(100px);
    z-index: 2;
} */

/* #why-div::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 40%;
    height: 100px;
    background: rgba(206, 138, 233, 0.2);
    filter: blur(50px);
    -webkit-filter: blur(50px);
    z-index: -1;
}
#why-div::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 0;
    width: 30%;
    height: 100px;
    background: rgba(138, 176, 233, 0.8);
    filter: blur(80px);
    -webkit-filter: blur(80px);
    z-index: -1;
}


#empowering-div::before {
    content: '';
    position: absolute;
    top: 0;
    right: 30%;
    width: 30%;
    height: 200px;
    filter: blur(80px);
    -webkit-filter: blur(80px);
    background: rgba(138, 176, 233, 0.4);
    z-index: -1;
} */

/* #empowering-div::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -50px;
    width: 30%;
    height: 400px;
    background: rgba(206, 138, 233, 0.3);
    filter: blur(100px);
    -webkit-filter: blur(100px);
    z-index: 2;
} */

#home-div img {
    width: 90%;
    max-width: 400px;
    margin: 0 auto;
}
#home-div h1, #home-div .sub-h {
    color: black;
    text-shadow: none;
}
#apply-div .sub-h {
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

#collage {
    display: flex;
    justify-content: center;
}
#collage img {
    width: 100%;
    max-width: 1200px;
}

/* #community-div {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(78, 78, 78, 0.2)), 
    url(images/teamwork.jpg);
    background-position: top;
    background-size: cover;
    padding: 0;
    margin-bottom: 5%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#community-div div {
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
} 
#community-div .margin-div {
    width: 80%;
    padding: 60px 0 0;
}  */

#apply-div {
    /* background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3)), 
    url(images/64228c8a97e0e10074fe877f_thom-milkovic-VFrlMJJudNk-unsplash-p-3200.jpg); */
    background-position: bottom;
    background-size: cover;
    padding-top: 100px;
    /* background-attachment: fixed; */
    position: relative;
}
#apply-div .margin-div {
    margin-top: 0;
}
.img-div h2 {
    color: white;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

#why-div {
    width: 80%;
    position: relative;
    padding-bottom: 30px;
}

#empowering-div {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-gap: 60px;
    width: 85%;
    padding: 60px 0 100px;
    position: relative;
}
#empowering-div h2, #empowering-div .button {
    text-align: left;
}
#empowering-div img {
    height: 280px;
    margin: auto;
}

.div {
    width: 80%;
    margin: 0 auto;
    padding: 60px 0;
}

/* CUSTOM HTML FORM */

/* form .div {
    padding: 0;
    margin: 50px auto;
}

form {
    width: 1000px;
    margin: auto;
}
input[type=text] {
    width: 100%;
    height: 3em;
    border: 2px solid var(--accent);
    border-radius: 5px;
    outline: none;
    margin: 0.5em 0 2em;
    padding: 0 0.5em;
    letter-spacing: 0.05em;
    font-size: medium;
    box-shadow: 0 0 8px rgba(38, 138, 168, 0.2);
}
input[type=checkbox] {
    accent-color: var(--gold);
}
form .btn, form .btn:hover {
    box-shadow: none !important;
    width: 100%;
    font-size: medium;
    margin: 0 0 40px;
}
form:invalid .btn {
    pointer-events: none;
    background-color: #f7ead2;
  }
form label {
    font-weight: bold;
}
.checkbox-label {
    font-weight: normal;
    font-size: medium;
    text-align: left;
} */

.klaviyo-div {
    max-width: 800px;
    margin: auto;
    padding: 50px 0;
}


.grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 5%; 
    margin: 2em auto 0;
    text-align: left;
}
.grid div img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    pointer-events: none; 
}

#img-2 {
    object-position: center 30%;
}


#image-div {    
    width: 30%;
    min-width: 240px;
    margin: auto;
    text-align: right;
}
#image-div img {
    width: 80%;
    height: 100%;
    margin: auto;
    object-fit: cover;
    overflow: hidden;
    pointer-events: none; 
}


/* LINKS AND BUTTONS */

p a, b a, li a, label a {
    color: var(--accent);
    text-decoration: none;
}
p a:hover, b a:hover, li a:hover, label a:hover {
    text-decoration: underline;
    text-underline-offset: 10px;
}

.button {
    width: 100%;
    text-align: center;
    margin: 70px auto 20px;
}
.btn {
    color: black;
    background: white;
    font-size: medium;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;

    padding: 1em 2em;
    letter-spacing: 0.2em;
    transition: all .2s linear;
    border-radius: 5px;
    border: none;
    box-shadow: 0 0 50px gray;

    cursor: pointer;
}
.btn:hover {
    background-color: rgb(240, 240, 240);
    font-size: 15px;
    text-decoration: none;
}
.div .btn {
    color: white;
    background: var(--gold);
    box-shadow: 0 0 80px var(--gold);
}
.div .btn:hover {
    background-color: var(--gold-hover);
}


/* FOOTER */

footer {
    color: white;
    background-color: black;
    text-align: center;
    padding: 40px 2em;
    /* border-top: 1px solid lightgray; */
}

footer a, footer p {
    color: white;
    font-size: small;
    text-decoration: none; 
}

.links a {
    margin: 16%;
}

i {
    margin: 2px;
}

#copyright {
    color: var(--gold); 
    margin-top: 40px;
    text-align: center;
}


@media (max-width: 1080px) {
    h1 {
        font-size: 56px;
    }
    h3 {
        font-size: 22px;
    }
    .sub-h {
        font-size: 16px;
        margin: 2em 0;
        font-size: medium;
    }

    p, li {
        font-size: medium;
    }

}

@media (max-width: 1020px) {

    nav a {
        font-size: medium;
    }


    .grid-card {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 50px;
    }
    .grid-card div {
        margin: auto 0 0;
    }

    .grid {
        display: block;
        grid-template-columns: 1fr;
    }
    .grid div {
        margin-bottom: 3em;
    }
    .grid img {
        max-height: 400px; 
    }

    #empowering-div {
        grid-template-columns: 1fr;
        grid-gap: 60px;
        padding: 0 0 50px;
    }
    #empowering-div h2, #empowering-div .button {
        text-align: center;
    }
    #empowering-div img {
        margin: 20px auto;
    }


    input[type=text] {
        margin: 0.4em 0 1.2em;
    }
    form label {
        font-size: 14px;
    }

    .margin-div {
        width: 600px; 
    }

    .div {
        width: 90%;
    }

    form {
        width: 80%;
    }
}

@media (max-width: 760px) {
    
    h2 {
        font-size: 32px;
    }
    
    .sub-h {
        text-align: left;
        font-size: 14px;
    }
    #home-div .sub-h {
        text-align: center;
    }

    p, li, .checkbox-label {
        font-size: 14px;
        text-align: left;
    }

    nav {
        height: 80px;
        padding: 1.2em 1em;
    }
    nav img {
        height: 50px;
    }
    nav a {
        font-size: small;
        letter-spacing: 0.1em;
    }
    
    .grid-card {
        display: block;
        grid-template-columns: 1fr;
    }

    .btn {
        font-size: 14px;
    }
    .btn:hover {
        font-size: 13px;
    }

    .links p {
        text-align: center;
    }
    .links a {
        margin: 10%;
    }
}

@media (max-width: 500px) {
    h1 {
        font-size: 36px;
        margin: auto;
    }
    #home-div .margin-div {
        margin: auto auto 0 0;
        text-align: left;
    }

    h2 {
        font-size: 24px;
    }
    
    .margin-div {
        text-align: left;
    }

    .btn {
        font-size: 12px;
    }
    .btn:hover {
        font-size: 11px;
    }

    /* .links p {
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 0;

        text-align: left;
    }
    .links a {
        margin: 0.8em;
    } */

    form {
        width: 90%;
    }

}
