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

html {
    scroll-behavior: smooth;
}

/* FONTS */

.lavishly-yours-regular {
  font-family: "Lavishly Yours", cursive;
  font-weight: 400;
  font-style: normal;
}

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;
}

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

/* GENERAL */
body {
    margin: auto;
}


/* 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 */
#mainpicsection {
    position: relative;

    height: 360vh;
}

#img_bg {
    height: 100vh;
    overflow:hidden;
    background-color: #1E3A5F;
    position: sticky;
    top: 0;
    z-index: -1;
}

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

#mainpicsection .video_box {
    width: 100%;
    height: 100vh;
    overflow: hidden;

    position: absolute;
    top: 0;
}

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

#mainpicsection h1 {
    font-family: warbler-display;
    font-variant: small-caps;
    font-weight: 100;
    font-size: 5rem;
    letter-spacing: 2rem;
    color: white;
    transition: color 0.3s ease-in-out;

}

h1 {
    padding-top: 4vw;
    padding-bottom: 2.5vw;
    width: 100%;

    position: sticky;
    bottom: 40%;

    text-align: center;
}

/* TITLE FADE IN EFFECT */
.fadeInTitle {
    opacity: 0;
    transition: all 1s ease-in-out;
}

.fadeInTitle.fade-in {
    opacity: 1;
}

/* PROCESS MAP */
#map_container {
    width: 100%;

    position:absolute;
    top: 130vh;
}

#map_container .img_box {
    width: 50%;
    margin: auto;
    
    overflow: hidden;
}

#map_container img {
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.link_box {
    width: 100%;

    text-align: center;
    
    position: absolute;
    bottom: 5vw;
}

.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 1*/
#section1 {
    position: relative;
    height: 200vh;
}

#section1 .bg_box {
    width: 100%;
    height: 100vh;
    overflow: hidden;

    background-color: #1E3A5F;

    position: sticky;
    top: 0;

    z-index: -1;
}

#section1 .bg_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

    mix-blend-mode: multiply;
}

#section1 .text_box {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;

    align-content: center;
}

#section1 .text_box p {
    width: 32vw;
    margin: auto;

    text-align: center;

    letter-spacing: 0.1rem;
    line-height: 1.5rem;

    color: white;
}

/* SECTION 2 */
#section2 #tagline {
    text-transform: uppercase;

    text-align: center;

    letter-spacing: 0.2rem;

    color: white;

    padding: 5vw 0;
}

#section2_flex {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.texture_box {
    width: 320px;
    height: 420px;

    padding: 0.5vw;
    border-radius: 2%;
    background-color: white;
    box-shadow: 2px 2px 5px 3px #05101e;
}

.texture_box .img_box {
    width: 300px;
    height: 360px;
    overflow: hidden;

    margin: auto;
}

#section2 .texture_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#section2 .texture_box p {
    padding: 0;
    padding-top: 0.5vw;

    font-weight: 600;
    letter-spacing: 0.1rem;
    text-transform: uppercase;

    color: #1E3A5F;
}

/* SECTION 4 */
#section4 {
    display: flex;
}

#section4 .img_box {
    width: 50%;
    overflow: hidden;
}

#section4 img {
    width: 100%;
    object-fit: cover;
    object-position: center;
}




/* 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%;
}