/*
    Fonts
*/

@font-face {
    font-family: 'Pontano Sans';
    src: url('./assets/fonts/PontanoSans.ttf') format('truetype');
}

@font-face {
    font-family: 'Cal Sans';
    src: url('./assets/fonts/CalSans.ttf') format('truetype');
}

/*
    Variables
*/

:root {
    --color1: #46413c;
    --color2: #f0b98e;
    --color3: #d6cec5;
    --color4: #91a9b2;
    --color5: #c5d6dd;
    --color6: #20657b;
}

/*
    Resets, Fonts & Colors
*/

* {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    font-family: 'Pontano Sans';
    -ms-overflow-style: none;
    scrollbar-width: none;
    user-select: none;
}

*.alt-font {
    font-family: 'Cal Sans' !important;
}

*.bg1 {
    background: #46413c !important;
}

*.bg2 {
    background: #f0b98e !important;
}

*.bg3 {
    background: #d6cec5 !important;
}

*.bg4 {
    background: #91a9b2 !important;
}

*.bg5 {
    background: #c5d6dd !important;
}

*.bg6 {
    background: #30657b !important;
}

*.c1 {
    color: #46413c !important;
}

*.c2 {
    color: #f0b98e !important;
}

*.c3 {
    color: #d6cec5 !important;
}

*.c4 {
    color: #91a9b2 !important;
}

*.c5 {
    color: #c5d6dd !important;
}

*.c6 {
    color: #30657b !important;
}

*.white {
    color: #ffffff !important;
}

*.black {
    color: #000000 !important;
}

*.fs20 {
    font-size: 20px !important;
}

*.fs24 {
    font-size: 24px !important;
}

*.fs32 {
    font-size: 32px !important;
}

*.fs40 {
    font-size: 40px !important;
}

*.fw500 {
    font-weight: 500 !important;
}

*.fw600 {
    font-weight: 600 !important;
}

*.fw700 {
    font-weight: 700 !important;
}

*.br20 {
    border-radius: 20px !important;
}


/*
    Root elements
*/

html {
    min-height: 100vh;
}

body {
    background: rgb(240, 255, 255);
}


/*
    Pages
*/

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 5vh;
    display: flex;
    justify-content: end;
    box-sizing: border-box;
    padding: 3vh 5vw 0 5vw;
}

#navbar {
    height: 5vh;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 1vw;
    box-sizing: border-box;
    /* background-color: rgba(240, 255, 255, 0.9); */
    z-index: 2;
}

.navbar-button {
    padding: 10px 20px;
    background: none;
    transition: .2s ease-in-out;
    color: #3b2b2b;
    font-size: 20px;
    font-weight: 700;
    filter: drop-shadow(0px 0px 8px var(--color3));
    -webkit-filter: drop-shadow(0px 0px 8px var(--color3));
}

.navbar-button.squared {
    color: #f0ffff;
    background: #2b2b2b;
    text-shadow: none;
}

.navbar-button:hover {
    /* background-color: #f0ffff;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.4); */
    cursor: pointer;
    /* transition: .3s; */
}

.navbar-button.squared:hover {
    cursor: pointer;
}

.page {
    width: 100vw;
    min-height: 100vh;
    line-height: 24px;
    box-sizing: border-box;
}

/* 
    Intro
*/

.intro {
    position: relative;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12vh;
    box-sizing: border-box;
    z-index: -1;
}

.intro *:not(.intro-background) {
    position: relative;
    z-index: 1;
}

.intro-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    box-shadow: 0 1px 10px #5a5a5a;
    z-index: -2;
}

.intro-title {
    font-size: 64px;
    font-weight: 800;
    text-align: center;
    color: #2b2b2b;
}

.intro-title:not(.no-line)::before {
    content: '';
    position: absolute;
    top: 200%;
    left: 50%;
    width: 60%;
    height: 3px;
    transform: translateX(-50%);
    background-color: var(--color2);
    z-index: 1;
}

.intro-subtitle {
    font-size: 48px;
    font-weight: 600;
    text-align: center;
    color: #2b2b2b;
}

.intro-title.top250:not(.no-line)::before {
    top: 250%;
}

.intro-logo {
    max-width: 500px;
    max-height: 500px;
    width: auto;
    height: auto;
    filter: drop-shadow(-4px 4px 10px #000000);
    -webkit-filter: drop-shadow(-4px 4px 10px #000000);
}

/*
    Sections
*/

.section {
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    gap: 12vh;
    box-sizing: border-box;
    padding: 20vh 5vw;
}

.section:last-child {
    padding-bottom: 25vh;
}

.section-title {
    position: relative;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
}

.section-title:not(.no-line)::before {
    content: '';
    position: absolute;
    top: 200%;
    left: 50%;
    width: 60%;
    height: 2px;
    transform: translateX(-50%);
    background-color: var(--color2);
}

.section-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-column {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 12vh;
}

.section-texts {
    display: grid;
    font-size: 20px;
    text-align: justify;
}

/* Row template make text goes in column and vice versa */
.section-texts.column {
    width: 40vw;
    gap: 9vh;
    grid-template-rows: 1fr;
    align-items: center;
}

.section-column > .section-image {
    max-width: 40vw;
}

.section-texts.row {
    width: 80vw;
    gap: 5vw;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: center;
}

.section-row > .section-image {
    max-width: 40vw;
}

.section-pointlist {
    width: 88%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-left: 30px;
    text-align: justify;
    list-style: none;
}

.section-pointlist li {
    position: relative;
}

.section-pointlist li::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -30px;
    transform: translateY(-50%);
    width: 10px;
    height: 2px;
    border-radius: 20px;
    background-color: #2b2b2b;
}

.section-pointlist.white li::before {
    background-color: #c4c4c4;
}

img.section-image {
    max-width: 55vw;
    width: auto;
    height: auto;
}

img.section-image:not(.no-border) {
    border: solid 1px rgb(43, 43, 43, .1);
    border-radius: 10px;
}

div.section-image {
    max-width: 55vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

div.section-image img:nth-child(1) {
    max-width: 100%;
    width: auto;
    height: auto;
}

div.section-image img:nth-child(1):not(.no-border) {
    border: solid 1px rgb(43, 43, 43, .1);
    border-radius: 10px;
}

div.section-image .image-clip-text {
    font-size: 16px;
    font-style: italic;
}


/* 
    Hull Shape Optimization 
*/

/* #hull-shape-opti {
    display: flex;
    flex-direction: column;
    padding: 0 0 25vh 0;
}

#hull-shape-opti-bg {
    width: 100vw;
    height: 70vh;
    z-index: -1;
    background: url(./assets/template.png) no-repeat center center/cover;
    box-shadow:  0 1px 10px #5a5a5a;
}

#hull-shape-opti-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin: 10vh 0 8vh 0;
    color: #2b2b2b;
}

#hull-shape-opti-catchline {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin: 0 auto 4vh auto;
    color: #2b2b2b;
}

#hull-shape-opti-content {
    width: 100vw;
}

#hull-shape-opti-content-sub {
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20vh;
}

.hull-shape-opti-section {
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 0 5vw;
}

.hull-shape-opti-section:nth-child(odd) {
    flex-direction: row;
}

.hull-shape-opti-section:nth-child(even) {
    flex-direction: row-reverse;
}

.hull-shape-opti-image {
    max-width: 40vw;
    width: auto;
    height: auto;
    border: solid 1px rgb(43, 43, 43, .1);
    border-radius: 10px;
}

.hull-shape-opti-text {
    width: 42vw;
    display: flex;
    flex-direction: column;
    gap: 50px;
    font-size: 18px;
    font-weight: 500;
    color: #2b2b2b;
    text-align: center;
}
 */

/*
    Contact
*/

#contact-form {
    height: 60vh;
    width: 40vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: -5vh;
    border-radius: 20px;
    padding: 30px 10px 20px 10px;
    background: var(--color6);
    margin-top: -4vh;
}

#contact-form-catchline {
    color: #d4d4d4;
    font-size: 22px;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 20px;
}

.contact-form-text {
    color: #d4d4d4;
    width: 80%;
    font-size: 16px;
    text-align: justify;
    margin-bottom: 5px;
}

#contact-form-contacts {
    width: 78%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 30px 0 40px 0;
}

.contact-form-contact-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.contact-form-contact-col div {
    display: flex;
    flex-direction: column;
}

.contact-form-list-square {
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

#contact-form-email {
    max-width: 8vw;
}

#contact-form-form {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-top: -4px;
}

.contact-form-form-input {
    width: 100%;
    height: 24px;
    padding: 0 5px;
    box-sizing: border-box;
    border-radius: 5px;
    font-size: 12px;
}

#contact-form-form-message {
    width: 100%;
    height: 100px;
    padding: 5px;
    box-sizing: border-box;
    border-radius: 5px;
    margin: 6px 0;
    font-size: 14px;
    resize: none;
}

#contact-form-form-send {
    width: fit-content;
    height: fit-content;
    padding: 5px;
    box-sizing: border-box;
    border-radius: 5px;
    margin-top: 10px;
    padding: 10px 50px;
    background-color: #ffffff;
    color: #2b2b2b;
    transition: .3s;
}

#contact-form-form-send:hover {
    cursor: pointer;
    background-color: #2b2b2b;
    color: #ffffff;
    transition: .2s;
}

/*
    Footer
*/

#footer {
    position: relative;
    width: 100vw;
    padding: 120px 0 96px 0;
    background-color: #111317;
    color: #999999;
}

#footer-links {
    width: 90vw;
    display: grid;
    margin: 0 5vw;
}

#footer-underlinks {
    width: 90vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 64px 5vw 0 5vw;
    padding-top: 26px;
    border-top: solid 1px #2b2b2b;
}

#footer-logo {
    max-width: 90px;
    width: auto;
    height: auto;
}

#footer-socials {
    width: 250px;
}

#copyright {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 600;
    color: #797979;
}

#copyright-sigil {
    font-size: 19px;
}

/*
    Error 404
*/

#error-404 {
    display: flex;
    flex-direction: column;
    gap: 5vh;
    /* padding: 6vh 4vw; */
    filter: drop-shadow(0px 0px 4px var(--color3));
    -webkit-filter: drop-shadow(0px 0px 4px var(--color3));
}