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

h1 {
    font-family: warbler-display;
    font-variant: small-caps;
    font-weight: 100;
    font-size: 5rem;
    letter-spacing: 2rem;
}

#subtitle1, #subtitle2, #section1 h3, #section4 h3 {
    font-family: warbler-display;
    font-variant: small-caps;
    font-weight: 100;
    font-size: 1.5rem;
    letter-spacing: 1rem;
}

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

#section1 h3 {
    font-size: 1.75rem;
    letter-spacing: 0.2rem;
}

#section4 h3 {
    letter-spacing: 0.5rem;
}

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



/* GENERAL */
body {
    margin: auto;
    background-color: #1E3A5F;
}


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

    z-index: 100;
}

.navbar:not(.scrolled):hover {
  background: linear-gradient(to right,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0) 22%,
    rgba(30,58,95,1) 45%,
    rgba(30,58,95,1) 100%
  );
}

.navbar.scrolled:hover {
  background-color: #1E3A5F;
}

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

    padding-bottom: 1vw;

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

/* LOGOTYPE */
#logotype {
    position: fixed;
    top: 20px;
    left: 5vw;

    width: 10vw;
    overflow: hidden;

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

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

#navbar.scrolled #logotype {
    opacity: 0;
}

/* WORDMARK */
header #wordmark {
    opacity: 0;
    pointer-events: none;
}

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

#navbar.scrolled #wordmark {
    opacity: 1;
    pointer-events: auto;
}

/* 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 */
main {
    margin-bottom: 5vw;
}

/* MAIN PIC SECTION */
#mainpicsection {
    position: relative;
}

#mainpicsection .img_box {
    height: 100vh;
    overflow: hidden;
}

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

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

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

#mainpicsection .sticky_box {
    text-align: center;
    position: sticky;
    bottom: 25%;
}

.title.scrolled p, .title.scrolled #coverlink_box {
    opacity: 0;
}

h1 {
    padding-top: 2vw;
    padding-bottom: 3.25vw;
    width: 100%;

    text-align: center;
    color: white;
}

#subtitle1, #subtitle2, #coverlink_box {
    color: white;
    text-align: center;
}

#coverlink_box {
    margin-top: 3vw;
    transition: opacity 0.3s ease-in-out;
}

#coverlink {
    width: max-content;

    color: white;

    text-decoration: none;

    position: relative;
}

/* COVERLINK LINK HOVER EFFECT */
#coverlink::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;
}

#coverlink:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}



main section {
    width: 90vw;
    margin: auto;
    margin-bottom: 5vw;
}

/* SECTION 1 */
#section1 {
    padding-bottom: 20vw;
    position: relative;
}

#section1 div {
    width: 42vw;
    height: 56vw;
    overflow: hidden;

    padding: 0.5vw;

    background-color: white;
    box-shadow: -5px 5px 25px 8px #0e1927bf;
}

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

#featured1_box {
    position: relative;
}

#featured2_box {
    position: absolute;
    right: 0;
    bottom: 15%;
}

#section1 #featured2_box img {
    object-position: center;
}

#section1 h3 {
    padding-top: 15%;

    width: 100%;
    height: 40%;
    text-align: center;

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

    color: white;

    opacity: 0;
    transition: all 0.2s ease-in-out;

    pointer-events: none;
}

#section1 div:hover h3 {
    opacity: 1;
    background: linear-gradient(to bottom,
                rgba(255, 255, 255, 0) 0%,
                rgba(30,58,95, 0.3) 60%,
                rgba(30,58,95, 0.6) 100%);
}

/* PERSPECTIVE */
#featured1_box {
    margin-left: 5vw;

    transform: perspective(800px) rotateX(10deg) rotateY(10deg) rotateZ(-10deg);
    transition: all 0.5s ease-in-out;
}

#featured1_box:hover {
    margin-left: 0;
    transform: none;
}

#featured2_box {
    margin-right: 5vw;

    transform: perspective(800px) rotateX(10deg) rotateY(-10deg) rotateZ(10deg);
    transition: all 0.5s ease-in-out;
}

#featured2_box:hover {
    margin-right: 0;
    transform: none;
}

/* SECTION 2 */
#section2 .img_box {
    width: 50vw;
    margin: auto;
}

#section2 img {
    width: 100%;
}

/*SECTION 3 */
#section3 {
    width: 100%;
}

#section3 img {
    width: 100%;
    height: 60vw;
    object-fit: fill;
}

/* SECTION 4*/
#section4 {
    padding-top: 5vw;
    text-align: center;
    color: white;
}

#section4 p {
    letter-spacing: 0.1rem;
}

#section4 .flex_box {
    margin: 10vw 0;

    display: flex;
}

#section4 .img_box {
    width: 30vw;
    height: 50vw;
    overflow: hidden;

    position: relative;

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

#section4 .img_box:hover {
    z-index: 9;
    scale: 1.1;
}

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

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

    margin: auto;
    align-content: center;

    position: absolute;
    bottom: 0;

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

#section4 .img_box:hover .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%);
}

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




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

