@charset "UTF-8";
/* CSS Document */
*{
	margin: 0;
	padding: 0;
	font-size: 100%;
	box-sizing: border-box;
	vertical-align: baseline;
}

html {
    scroll-behavior: smooth;
}



/* FONTS */
body {
    font-family: museo-sans;
}

#wordmark {
    font-family: warbler-display;
    font-variant: small-caps;
    font-size: 2rem;
    letter-spacing: 0.2rem;
}

nav {
    font-size: 0.9rem;
    letter-spacing: 0.1rem;
}

#section1 h3 {
    font-family: warbler-display;
    font-variant: small-caps;
    font-weight: 100;
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
}

footer h3 {
    font-size: 1rem;
    text-transform: uppercase;
}

/* GENERAL */

/* HEADER */
header {
    position: fixed;
    width: 100%;
    top: 0;

    z-index: 100;
}

header:hover {
    background-color: #1E3A5F;
}

header .container {
    width: 90vw;
    margin: auto;

    padding-bottom: 1vw;

    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

/* WORDMARK */
header #wordmark a {
    text-decoration: none;
    color: white;
}

/* NAVIGATION BAR */
header nav {    
    display: flex;
    justify-content:space-between;
    align-items: center;
}

header nav li {
    display: inline-flex;
}

header nav .optical {
    padding-left: 20px;
}

header nav a {
    text-decoration: none;
    color: white;

    transition: all 0.2s ease-in-out;
}

nav a:hover {
    color: #3E6990;
}

/* DROP DOWN MENU */
header nav ul {
    list-style: none;

    position: relative;
    text-align: center;
}

header nav li {
    width: 9vw;
}

header nav ul li a { 
    display: block; 

    padding: 10px 10px; 
    margin: auto;

    text-decoration: none; 

    z-index: 99;
} 

header nav ul li:hover>ul {
    display: block; /*to show the dropdown menus*/

    padding-bottom: 1%;
    padding-top: 2.5vw;

    background-color: #1E3A5F;
}

header nav ul ul {
    display: none;
    position: absolute;
    z-index: 98;
}

header nav ul ul li {
    display: block;
}


/* UTILITIES */
#utilities {
    margin-left: 2vw;
    display: flex;
    align-items: center;
}

#utilities p {
    margin: 0 0.5vw;
}



/* MAIN */

/* REPURPOSE SECTION */
#repurpose {
    position: relative;

    height: 700vh;

    text-align: center;
    background-color: #1E3A5F;
}

#repurpose .img_box {
    height: 100vh;
    overflow: hidden;

    background-color: #1E3A5F;
}

#repurpose video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    mix-blend-mode: multiply;
}

#repurpose .sticky_box {
    position: sticky;
    top: 0;

    height: 100vh;
}

#repurpose h1 {
    font-family: warbler-display;
    font-variant: small-caps;
    font-weight: 100;
    font-size: 20vw;
    letter-spacing: 1vw;
}

#repurpose h1 {
    width: 100%;

    color: #EEEEEE;

    position: absolute;
    top: 5vw;

    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease-in-out;
}

#repurpose .fadeInTitle.fade-in {
    opacity: 1;
    transform: translateY(0);
}

#repurpose.scrolled h1 {
    top: 5vw;

    font-size: 6vw;
    letter-spacing: 0.2vw;
}

#repurpose h2 {
    font-family: warbler-display;
    font-variant: small-caps;
    font-weight: 100;
    font-size: 28vw;
    letter-spacing: 1vw;
}

#repurpose h2 {
    width: 100%;

    color: #EEEEEE;

    position: absolute;
    top: 2vw;

    opacity: 0;

    transition: all 1s ease-in-out;
}

#repurpose.scrolledtwo h2 {
    opacity: 1;
}

#repurpose.scrolledthree h2 {
    top: 15vw;

    font-size: 3.5vw;
    letter-spacing: 0.2vw;
}

#repurpose h3 {
    font-family: warbler-display;
    font-variant: small-caps;
    font-weight: 100;
    font-size: 22vw;
    letter-spacing: 1vw;
}

#repurpose h3 {
    width: 100%;

    color: #EEEEEE;

    position: absolute;
    top: 5vw;

    opacity: 0;

    transition: all 1s ease-in-out;
}

#repurpose.scrolledfour h3 {
    opacity: 1;
}

#repurpose.scrolledfive h3 {
    top: 20vw;

    font-size: 6vw;
    letter-spacing: 0.2vw;
}


/* FORM */
#repurpose .form_box {
    width: 100%;
    position: absolute;
    bottom: 10vw;

    opacity: 0;
    transition: all 1s ease-in-out;
}

#repurpose.scrolledfive .form_box {
    opacity: 1;
}

#repurpose .form_box p {
    line-height: 1.5rem;
    width: 50vw;
    margin: auto;

    color: white;
}

#repurpose form {
    margin-top: 3vw;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

#repurpose form input[type="text"] {
    width: 25vw;
    min-width: 250px;
    padding: 0.7rem 1rem;
    border: 1px solid #EEEEEE;
    border-radius: 2rem;
    background-color: transparent;
    color: #EEEEEE;
}

#repurpose form input[type="text"]::placeholder {
    color: #eeeeeebe;
}

#repurpose form button {
  padding: 0.7rem 1.5rem;
  background-color: white;
  color: #1E3A5F;
  border: 1px solid transparent;
  border-radius: 2rem;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

#repurpose form button:hover {
    color: white;
    background-color: #1E3A5F;
    border: 1px solid white;
}


/* SECTION 1 */
#section1 {
    text-align: center;
    color: white;

    overflow: hidden;
}

#section1 .flex_box {
    display: flex;
}

#section1 .text_div {
    width: 25vw;
    height: 42vw;

    color: #1E3A5F;
    text-align: left;
    align-content: end;
}

#section1 p {
    margin: 0.5vw;

    font-size: 4.75vw;

    text-transform: uppercase;
    word-spacing: 0.2vw;
}

#section1 .img_box {
    width: 25vw;
    height: 42vw;
    overflow: hidden;

    position: relative;

    transition: scale 1s ease-in-out;
}

#section1 .img_box.active {
    pointer-events: none;
}

#section1 .img_box.active .text_box {
    opacity: 1;
    background: linear-gradient(to bottom,
                rgba(255, 255, 255, 0) 0%,
                rgba(30,58,95, 0.5) 60%,
                rgba(30,58,95, 0.8) 100%);
}

#section1 .img_box:hover {
    z-index: 9;
    scale: 1.05;
}

#section1 video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#section1 .text_box {
    width: 100%;
    height: 40%;

    margin: auto;
    align-content: center;

    position: absolute;
    bottom: 0;

    transition: all 0.5s ease-in-out;
}

#section1 .img_box:hover .text_box {
    background: linear-gradient(to bottom,
                rgba(255, 255, 255, 0) 0%,
                rgba(30,58,95, 0.5) 60%,
                rgba(30,58,95, 0.8) 100%);
}

#section1 h3 {
    margin-bottom: 1vw;
}

.underlined_link {  
    text-decoration: none;
    color: white;
}

.underlined_link {
    width: max-content;

    position: relative;
}

.underlined_link::after {
    content: "";
    width: 100%;
    height: 1px;
    background-color: white;

    position: absolute;
    bottom: 0;
    left: 0;

    transform: scaleX(0);
    transform-origin: bottom right;

    transition: transform 0.5s ease-out;
}

.underlined_link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}


/* SECTION 2 */
#section2 {
    margin: 2vw 0;
}

.collapse-box {
    width: 100%;
    padding: 2vw 5vw;

    background-color: white;
}

.collapse-box summary {
    font-weight: 600;
    list-style: none;
    cursor: pointer;

    color: #1E3A5F;
    transition: all 0.3s ease-in-out;
}

.collapse-box summary:hover {
    color: #3E6990;
}

.collapse-box p {
    padding-top: 2vw;
    padding-bottom: 0.5vw;
}

.collapse-box summary::-webkit-details-marker {
    display: none;
}

.collapse-box[open] p {
    color: #1E3A5F;
    border-top: 1px solid #1E3A5F;
}



/* FOOTER */
footer {
    padding-top: 3vw;
    background-color: #EEEEEE;
    color: black;
}

footer .container {
    width: 90vw;
    margin: auto;
}

footer #wordmark {
    color: #1E3A5F;
}

#footer_grid {
    display: grid;
    grid-template-columns: 70% 30%;
    grid-template-rows: auto;
    grid-template-areas: 
        "nav logo";
}

footer nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    padding-top: 3vw;
    padding-bottom: 3vw;
    padding-right: 15vw;

    grid-area: nav;
}

footer nav a {
    text-decoration: none;
    color: black;
    
    transition: all 0.2s ease-in-out;
}

footer nav section div {
    padding-bottom: 1vw;
}

footer h3 {
    padding-bottom: 3vw;
}

footer p {
    padding-bottom: 1vw;
}

#logo_box {
    width: 20vw;

    margin: auto;
    margin-top: 3vw;

    grid-area: logo;
}

#logo_box img {
    width: 100%;
}