@font-face {
    font-family: "Jost Light";
    src: url("../fonts/Jost300Light.otf");
}

@font-face {
    font-family: "Jost Medium";
    src: url("../fonts/Jost500Medium.otf")
}

@font-face {
    font-family: "Jost Book";
    src: url("../fonts/Jost400Book.otf")
}


/* GLOBAL */

html {
    background-color: black;
}

h2,
h3 {
    font-family: "Jost Medium";
    font-size: 30px;
    color: white;
    margin-bottom: 5px;
}

p {
    font-family: "Jost Light";
    font-size: 20px;
    line-height: 35px;
    color: white;
    margin-top: 5px;
}

a {
    font-family: "Jost Book";
}

hr {
    width: 700px;
    color: white;
}

a input {
    background: none;
    border: white solid 1px;
    color: white;
    padding: 15px;
    border-radius: 50px;
}


/*END GLOBAL*/

#main header {
    height: 1000px;
    background-image: url("../img/CawitaOctopusEcosysteme.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

nav {
    display: grid;
    grid-template-columns: 85% 10%;
    grid-gap: 10px;
    align-items: center;
    align-content: center;
}


/*MENU BURGER */

body {
    margin: 0;
    overflow-x: hidden;
    height: 100vh;
    width: 100vw;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.msg {
    font-family: 'Pacifico', cursive;
    font-size: 8vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    align-items: center;
    color: #FEFEFE;
    background-color: #111111;
}

.features {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
}

.features li {
    width: 100%;
    text-align: center;
    padding: .25em;
}

.drawer-list {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    width: 100vw;
    transform: translate(100vw, 0);
    /* ie workaround */
    -ms-transform: translatex(-100vw);
    box-sizing: border-box;
    pointer-events: none;
    padding-top: 125px;
    transition: width 475ms ease-out, transform 450ms ease, border-radius .8s .1s ease;
    border-bottom-left-radius: 100vw;
    background-color: #111111;
}

@media (min-width: 768px) {
    .drawer-list {
        width: 40vw;
    }
}

.drawer-list ul {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: auto;
    overflow-x: hidden;
    pointer-events: auto;
}

.drawer-list li {
    list-style: none;
    pointer-events: auto;
    white-space: nowrap;
    box-sizing: border-box;
    transform: translatex(100vw);
    /* ie workaround */
    -ms-transform: translatex(-100vw);
}

.drawer-list li:last-child {
    margin-bottom: 2em;
}

.drawer-list li a {
    font-family: "Jost Medium";
    font-size: 40px!important;
    text-align: center!important;
    text-decoration: none;
    color: #FEFEFE;
    justify-content: center;
    display: block;
    padding: 1rem;
    font-size: calc(24px - .5vw);
}

@media (min-width: 768px) {
    .drawer-list li a {
        text-align: right;
        padding: .5rem;
    }
}

.drawer-list li a:hover {
    cursor: pointer;
    background-color: black;
}

input.hamburger {
    display: none;
}

input.hamburger:checked~.drawer-list {
    transform: translatex(0);
    border-bottom-left-radius: 0;
}

input.hamburger:checked~.drawer-list li {
    transform: translatex(0);
}

input.hamburger:checked~.drawer-list li:nth-child(1) {
    transition: transform 1s 0.08s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(2) {
    transition: transform 1s 0.16s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(3) {
    transition: transform 1s 0.24s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(4) {
    transition: transform 1s 0.32s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(5) {
    transition: transform 1s 0.4s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(6) {
    transition: transform 1s 0.48s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(7) {
    transition: transform 1s 0.56s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(8) {
    transition: transform 1s 0.64s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(9) {
    transition: transform 1s 0.72s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(10) {
    transition: transform 1s 0.8s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(11) {
    transition: transform 1s 0.88s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(12) {
    transition: transform 1s 0.96s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(13) {
    transition: transform 1s 1.04s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(14) {
    transition: transform 1s 1.12s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(15) {
    transition: transform 1s 1.2s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(16) {
    transition: transform 1s 1.28s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(17) {
    transition: transform 1s 1.36s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(18) {
    transition: transform 1s 1.44s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(19) {
    transition: transform 1s 1.52s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(20) {
    transition: transform 1s 1.6s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(21) {
    transition: transform 1s 1.68s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(22) {
    transition: transform 1s 1.76s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(23) {
    transition: transform 1s 1.84s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(24) {
    transition: transform 1s 1.92s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(25) {
    transition: transform 1s 2s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(26) {
    transition: transform 1s 2.08s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(27) {
    transition: transform 1s 2.16s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(28) {
    transition: transform 1s 2.24s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(29) {
    transition: transform 1s 2.32s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(30) {
    transition: transform 1s 2.4s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(31) {
    transition: transform 1s 2.48s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(32) {
    transition: transform 1s 2.56s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(33) {
    transition: transform 1s 2.64s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(34) {
    transition: transform 1s 2.72s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(35) {
    transition: transform 1s 2.8s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(36) {
    transition: transform 1s 2.88s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(37) {
    transition: transform 1s 2.96s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(38) {
    transition: transform 1s 3.04s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(39) {
    transition: transform 1s 3.12s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(40) {
    transition: transform 1s 3.2s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(41) {
    transition: transform 1s 3.28s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(42) {
    transition: transform 1s 3.36s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(43) {
    transition: transform 1s 3.44s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(44) {
    transition: transform 1s 3.52s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(45) {
    transition: transform 1s 3.6s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(46) {
    transition: transform 1s 3.68s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(47) {
    transition: transform 1s 3.76s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(48) {
    transition: transform 1s 3.84s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(49) {
    transition: transform 1s 3.92s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li:nth-child(50) {
    transition: transform 1s 4s cubic-bezier(0.29, 1.4, 0.44, 0.96);
}

input.hamburger:checked~.drawer-list li a {
    padding-right: 15px;
}

input.hamburger:checked~label>i {
    background-color: transparent;
    transform: rotate(90deg);
}

input.hamburger:checked~label>i:before {
    transform: translate(-50%, -50%) rotate(315deg);
}

input.hamburger:checked~label>i:after {
    transform: translate(-50%, -50%) rotate(-315deg);
}

input.hamburger:checked~label close {
    color: #FEFEFE;
    width: 100%;
}

input.hamburger:checked~label open {
    color: rgba(0, 0, 0, 0);
    width: 0;
}

label.hamburger {
    z-index: 9999;
    position: relative;
    display: block;
    height: 30px;
    width: 40px;
}

label.hamburger:hover {
    cursor: pointer;
}

label.hamburger text close,
label.hamburger text open {
    text-transform: uppercase;
    font-size: .8em;
    text-align: center;
    position: absolute;
    transform: translateY(50px);
    text-align: center;
    overflow: hidden;
    transition: width .25s .35s, color .45s .35s;
}

label.hamburger text close {
    color: rgba(0, 0, 0, 0);
    right: 0;
    width: 0;
}

label.hamburger text open {
    color: #FEFEFE;
    width: 100%;
}

label.hamburger>i {
    position: absolute;
    width: 100%;
    height: 2px;
    top: 50%;
    background-color: #FEFEFE;
    pointer-events: auto;
    transition-duration: .35s;
    transition-delay: .35s;
}

label.hamburger>i:before,
label.hamburger>i:after {
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    left: 50%;
    background-color: #FEFEFE;
    content: "";
    transition: transform 0.35s;
    transform-origin: 50% 50%;
}

label.hamburger>i:before {
    transform: translate(-50%, -14px);
}

label.hamburger>i:after {
    transform: translate(-50%, 14px);
}

label.hamburger {
    position: fixed;
    top: 15px;
    right: 15px;
}


/* END MENU BURGER */

.octopusLogo img {
    width: 25%;
    margin-left: 20px;
    grid-column: 1/2;
}

div.burgerMenu {
    padding-left: 140px;
}

.burgerMenu img {
    grid-column: 2/3;
}

.splitRight {
    display: grid;
    grid-template-columns: 40% 60%;
}

.splitRight div {
    grid-column: 2/3;
    width: 60%;
}

.splitLeft {
    display: grid;
    grid-template-columns: 55% 35%;
}

.splitLeft div {
    text-align: right;
    align-items: end;
    align-content: end;
    margin-left: 300px;
}

#splitTwo {
    height: 1500px;
    background-image: url("../img/CawitaOctopusPaintingCloud.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: grid;
    align-items: center;
    align-content: center;
}

#splitTwo .splitRight a input {
    margin-bottom: 30px;
}

#center {
    text-align: center;
}

#center p {
    margin: 0 350px;
}

.splitThree {
    margin-top: 50px;
    height: 1500px;
    background-image: url("../img/CawitaOctopusLogoEnd.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#splitEnd {
    height: 900px;
    background-image: url("../img/CawitaOctopusFooter.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.contact {
    padding-top: 300px;
    text-align: center;
}

.contact p {
    margin: 0 500px;
}

.contact a img {
    margin-top: 20px;
    width: 4%;
}

#footer {
    margin-top: 100px;
    text-align: center;
}

#footer a {
    margin: 0 80px;
    color: white;
    text-decoration: none;
}

.copyright {
    font-size: 15px;
    text-align: center;
    display: grid;
    align-items: end;
    margin-top: 220px;
}


/***** PAGE CONTACT ******/

#contact {
    height: 950px;
    width: 100%;
    background-image: url("../img/CawitaOctopusSideContact.png");
    background-repeat: no-repeat;
    background-position: left;
}

#contact main {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-gap: 10px;
    justify-items: center;
}

#contact h1 {
    font-family: "Jost Book";
    font-size: 80px;
    color: white;
}

#contact h3 {
    font-family: "Jost Book";
    margin-bottom: 10px;
    font-size: 20px;
}

#contact p {
    margin: auto;
    font-size: 15px;
}

#contact form {
    display: flex;
    flex-direction: column;
}

#contact form .row {
    display: flex;
    flex-direction: row;
    width: 93%;
}

#contact input,
#contact textarea {
    margin: 10px;
    background: #111111;
    border: none;
    padding: 15px;
    color: grey;
}

#contact form .exceptSubmit input,
#contact form .exceptSubmit textarea {
    width: 80%;
}

#contact #submit {
    font-family: "MS Gothic";
    font-size: 15px;
    width: 10%;
    color: white;
    border-radius: 100%;
    background: rgb(1, 0, 226);
    background: linear-gradient(212deg, rgba(1, 0, 226, 1) 0%, rgba(226, 1, 215, 1) 100%);
    margin-left: 420px;
}


/** RESPONSIVE MOBILE **/

@media only screen and (max-width:758px) {
    .octopusLogo img {
        width: 55%;
        margin-left: 20px;
        grid-column: 1/2;
    }
    div.burgerMenu {
        padding-left: 0;
    }
    label.hamburger {
        z-index: 9999;
        position: relative;
        display: block;
        height: 50px;
        width: 30px;
    }
    #main header {
        height: 300px;
        background-image: url("../img/CawitaOctopusEcosysteme.png");
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
    hr {
        width: 200px;
        color: white;
    }
    .splitRight,
    .splitLeft {
        display: block;
    }
    .splitRight div,
    .splitLeft div {
        text-align: center;
        align-items: center;
        align-content: center;
        width: 90%;
        margin: 0 10px;
    }
    #center p {
        margin: 0 10px;
    }
    .splitThree {
        margin-top: 50px;
        height: 800px;
        background-image: url("../img/CawitaOctopusLogoEndMobile.png");
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
    #splitEnd {
        height: 450px;
        background-image: url("../img/CawitaOctopusFooter.png");
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
    .contact {
        padding-top: 80px;
        text-align: center;
    }
    .contact p {
        margin: 0 10px;
    }
    .contact a img {
        width: 10%;
    }
    #footer {
        margin-top: 50px;
        text-align: center;
    }
    #footer a {
        color: white;
        text-decoration: none;
    }
    .copyright {
        font-size: 10px;
        margin-top: 30px;
    }
    #contact {
        background-image: none;
        background-repeat: no-repeat;
        background-position: left;
    }
    #contact main {
        display: block;
        text-align: center;
    }
    #contact h1 {
        font-family: "Jost Book";
        font-size: 60px;
        color: white;
    }
    #contact h3 {
        font-family: "Jost Book";
        margin-bottom: 10px;
        font-size: 20px;
    }
    #contact p {
        margin: auto;
        font-size: 15px;
    }
    #contact form {
        display: flex;
        flex-direction: column;
    }
    #contact form .row {
        display: flex;
        flex-direction: row;
        width: 94%;
        margin: auto;
    }
    #contact form .row input {
        width: 50%;
    }
    #contact input,
    #contact textarea {
        margin: 10px;
        background: #111111;
        border: none;
        padding: 15px;
        color: grey;
    }
    #contact #submit {
        font-family: "MS Gothic";
        font-size: 15px;
        width: 13%;
        color: white;
        border-radius: 100%;
        background: rgb(1, 0, 226);
        background: linear-gradient(212deg, rgba(1, 0, 226, 1) 0%, rgba(226, 1, 215, 1) 100%);
        margin-left: 300px;
    }
    #contact input #submit {
        width: 100%;
    }
}


/** RESPONSIVE TABLETTE **/

@media screen and (min-width:760px) and (max-width:1024px) {
    #main header {
        height: 700px;
        background-image: url("../img/CawitaOctopusEcosysteme.png");
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
    label.hamburger {
        position: fixed;
        top: 15px;
        right: 35px;
    }
    hr {
        width: 500px;
        color: white;
    }
    .splitLeft div {
        text-align: right;
        align-items: end;
        align-content: end;
        margin-left: 100px;
    }
    .splitRight div {
        grid-column: 2/3;
        width: 70%;
    }
    #center p {
        margin: 0 150px;
    }
    .splitThree {
        margin-top: 50px;
        height: 800px;
        background-image: url("../img/CawitaOctopusLogoEnd.png");
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
    #splitEnd {
        height: 700px;
        background-image: url("../img/CawitaOctopusFooter.png");
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
    .contact {
        padding-top: 200px;
        text-align: center;
    }
    .contact p {
        margin: 0 150px;
    }
    #contact {
        height: 500px;
        width: 100%;
        background-image: none;
        background-repeat: no-repeat;
        background-position: left;
    }
    #contact main {
        display: grid;
        grid-template-columns: 50% 50%;
        grid-gap: 10px;
        justify-items: center;
    }
    #contact h1 {
        font-family: "Jost Book";
        font-size: 60px;
        color: white;
    }
    #contact h3 {
        font-family: "Jost Book";
        margin-bottom: 10px;
        font-size: 20px;
    }
    #contact p {
        margin: auto;
        font-size: 15px;
    }
    #contact form {
        padding: 20px;
        display: flex;
        flex-direction: column;
    }
    #contact form .row {
        display: flex;
        flex-direction: row;
    }
    #contact form .row input {
        width: 50%;
    }
    #contact input,
    #contact textarea {
        margin: 10px;
        background: #111111;
        border: none;
        padding: 15px;
        color: grey;
    }
    #contact #submit {
        font-family: "MS Gothic";
        font-size: 10px;
        width: 12%;
        color: white;
        border-radius: 100%;
        background: rgb(1, 0, 226);
        background: linear-gradient(212deg, rgba(1, 0, 226, 1) 0%, rgba(226, 1, 215, 1) 100%);
        margin-left: 259px;
    }
    #contact input #submit {
        width: 100%;
    }
    #footer a {
        margin: 0 30px;
    }
    .copyright {
        margin-top: 150px;
    }
}