:root {
    --color__1: #FFFFFF;
    --color__2: #006883;
    --color__3: #FED501;
    --color__4: #38bdf8;
    --color__5: #10b981;
    --color__6: #012C3B;
    --color__tr: rgba(0,75,100,0.75);

    --font: "Alexandria", sans-serif;
    --app-width: calc(100% - 100px);
    --app-max-width: 1550px;

    --center-it: 0 auto;
    --shadow-flat: 0px 5px 0px rgba(0, 0, 0, 1);
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
    border: none;
}
html, body {
    width: 100%;
    height: 100%;
    font-optical-sizing: auto;
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
}
body {
    font-family: var(--font);
    font-weight: 300;
    color: var(--color__2);
    background-color: var(--color__1);
}
h1 {
    font-size: clamp(35px, 5vw, 65px);
    line-height: 115%;
    font-weight: 700;
}
h2 {
    font-size: clamp(32px, 5vw, 65px);
    line-height: 115%;
    font-weight: 700;
}
h3 {
    font-size: 13px;
    line-height: 25px;
    color: var(--color__tr);
    font-weight: normal;
    margin-bottom: 1vh;
}
b, strong {
    font-weight: 700;
}
a {
    text-decoration: none;
}
p, ol li, ul li {
    font-size: clamp(20px, 3vw, 28px);
    line-height: 125%;
    margin-bottom: clamp(16px, 3vw, 26px);
}
ol, ul {
    margin: 35px 0 0 25px;
    list-style-type: disc;
}
ul li {
    margin-bottom: 5px;
}
input {
    background: var(--color__2);
    color: var(--color__1);
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    padding: 13px 25px;
    font-family: var(--font);
    width: 100%;
}
input[type="submit"] {
    background: var(--color__3);
    color: var(--color__2);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    max-width: 115px;
    font-weight: 300;
    cursor: pointer;
}
.container {
    display: grid;
    align-items: center;
    width: var(--app-width);
    max-width: var(--app-max-width);
    height: 100%;
    margin: var(--center-it);
    position: relative;
}
.content {
    display: grid;
    gap: 35px;
    padding: 75px 0;
}
.bttn {
    background: var(--color__2);
    font-size: 16px;
    font-weight: 300;
    cursor: pointer;
    padding: 13px 35px;
    border-radius: 50px;
    color: white;   
    width: fit-content;
    height: fit-content;
    font-family: var(--font);
    box-shadow: var(--shadow-flat);
}
::placeholder {
    color: var(--color__1);
    font-weight: 300;
}
@media only screen and (max-width: 465px) {
    :root {
        --app-width: calc(100% - 50px);
    }
}
.hero {
    color: var(--color__1);
    background-image: url(../images/img.webp);
    background-position: left center;
    background-size: cover;
}
.hero h1 {
    text-transform: uppercase;
    max-width: 15ch;
    margin-bottom: 2vh;
}
.hero > .first p {
    max-width: 20ch;
    margin-bottom: 4vh;
}
.hero > .first {
    min-height: 100vh;
}
.hero > .first .content {
    transform: translateY(-50px);
}
.hero > .second {
    background: var(--color__tr);
    text-align: center;
}
.steps {
    text-align: center;
    background: var(--color__6);
    color: var(--color__1);
}
.five-steps {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 100px;
    isolation: isolate;
}
.five-steps::after {
    content: "";
    width: 6px;
    height: 100%;
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: calc(50% - 2px);
    background: linear-gradient(to bottom, var(--color__4), var(--color__3), var(--color__5));
    z-index: -1;
}
.five-steps div {
    padding: 35px 45px;
    background: var(--color__tr);
    text-align: left;
    border-radius: 15px;
    box-shadow: var(--shadow-flat);
    position: relative;
}
.five-steps div::before {
    content: "1";
    position: absolute;
    top: 50%;
    left: 0;
    width: 70px;
    aspect-ratio: 1;
    border-radius: 50%;
    color: var(--color__6);
    background: var(--color__4);
    display: grid;
    place-content: center;
    font-size: 2.4rem;
    font-weight: 700;
    transform: translate(-85px, -50%);
}
.five-steps div p {
    font-weight: 700;
    font-size: 1.2rem;
}
.five-steps div li {
    font-size: 1.2rem;
}
.five-steps div li:last-of-type {
    font-weight: 700;
}
.five-steps .step-one li:last-of-type {
    color: var(--color__4);
}
.five-steps .step-five li:last-of-type {
    color: var(--color__5);
}
.step-one, .step-three, .step-five {
    grid-column: 2;
}
.step-three {
    grid-row: 3;
}
.step-four {
    grid-row: 4;
}
.step-five {
    grid-row: 5;
}
.five-steps .step-two::before {
    content: "2";
    left: unset;
    right: 0;
    transform: translate(85px, -50%);
    background: linear-gradient(to bottom, var(--color__4), var(--color__3));
}
.five-steps .step-three::before {
    content: "3";
    background: var(--color__3);
}
.five-steps .step-four::before {
    content: "4";
    left: unset;
    right: 0;
    transform: translate(85px, -50%);
    background: linear-gradient(to bottom, var(--color__3), var(--color__5));;
}
.five-steps .step-five::before {
    content: "5";
    background: var(--color__5);
}
#ship {
    text-align: center;
}
#ship h2 {
    text-transform: uppercase;
}
form {
    display: flex;
    place-content: center;
}
form > div {
    width: 100%;
    max-width: 575px;
    display: flex;
}

@media only screen and (max-width: 800px) {
    .hero {
        background-position: left -300px center;
    }
    .five-steps {
        grid-template-columns: 1fr;
        row-gap: 100px;
        padding-top: 100px;
    }
    .five-steps div {
        padding: 25px 35px;
    }
    .five-steps::after {
        content: none;
    }
    .step-one, .step-three, .step-five {
        grid-column: unset;
        grid-row: unset;
    }
    .five-steps div::before,
    .five-steps .step-two::before,
    .five-steps .step-three::before,
    .five-steps .step-four::before,
    .five-steps .step-five::before {
        top: 0;
        left: 50%;
        transform: translate(-50%, -85px);
        background: var(--color__tr);
        color: var(--color__1);
    }
}

@media only screen and (max-width: 465px) {
    .hero {
        background-image: url(../images/img-mob.webp);
        background-position: right center;
    }
}

.text {
    display: grid;
    gap: 35px;
    padding: 75px 0;
    margin-top: 45px;
}
.text h1 {
    font-size: clamp(25px, 5vw, 45px);
    line-height: 115%;
    font-weight: 700;
}
.text h2 {
    font-size: clamp(19px, 4vw, 35px);
    line-height: 115%;
    font-weight: 700;
}
.text p {
    margin: 0;
    color: var(--color__6);
}
