@font-face {
    font-family: Roboto-Thin;
    src: url('fonts/Roboto-Thin.ttf');
}

@font-face {
    font-family: Roboto;
    src: url('fonts/Roboto.ttf');
}

:root {
    --pink-color: #ffe0e3;
    --blue-color: #a7e0e5;
    --text-color: #114c63;
    --icon-color: #e5726c;
    --primary-color: #E5ACA7;
    --black: #1B1F23;
    --section-color: #f1f6fb;
}

html {
    height: 100%;
    user-select: none;
    overflow: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: Roboto-Thin, Arial, sans-serif;
    padding: 0;
    height: 100vh;
    max-width: 1920px;
    margin: 0 auto;
    overflow-y: scroll;
    overflow-x: hidden;
}

h3 {
    font-family: Roboto, Arial, sans-serif;
}

header {
    padding: 36px;
    position: relative;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.info {
    display: flex;
    flex-direction: row;
    margin-top: 12px;
    min-height: 300px;
    gap: 24px;
}

.logo {
    padding-left: 58px;
    display: flex;
    align-items: flex-end;
    line-height: 54px;
    font-size: 34px;
    font-weight: bold;
    width: 60px;
    height: 60px;
    background-image: url('./images/logo.svg');
    background-repeat: no-repeat;
    background-size: contain;
}

.illustration {
    flex-grow: 6;
    min-width: 700px;
}

.introducing {
    flex-grow: 1;
    min-width: 368px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-end;
}

.title {
    font-size: 34px;
    font-weight: bold;
    margin-bottom: 24px;
}

.background {
    width: 100%;
    min-width: 1200px;
    height: 100%;
    top: 0;
    position: absolute;
    background: linear-gradient(323deg, white 30%, var(--blue-color) 150%);
    z-index: -1;
    transform: skew(20deg);
    border-bottom-left-radius: 80px;
}

.button {
    padding: 8px 20px;
    background: var(--primary-color);
    border-radius: 18px;
    width: max-content;
    cursor: pointer;
}

.button:hover {
    background: #e0a9a4;
}

.secondaryButton {
    background: transparent;
    border: 1px solid var(--black);
}

.secondaryButton:hover {
    background: transparent;
    border-color: darkgray;
}

.controls {
    display: flex;
    gap: 16px;
}

main {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

footer {
    height: 200px;
    background: linear-gradient(180deg, white 30%, var(--blue-color) 150%);
}

.footerContent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 124px 100px 24px 100px;
    height: 100%;
    box-sizing: border-box;
    max-width: 1400px;
    margin: 0 auto;
}

.footerContent a {
    color: inherit;
    text-decoration: unset;
    font-size: 18px;
}

.footerContent a:hover {
    text-decoration: underline;
}

.author {
    font-size: 16px;
}

.mainText {
    color: var(--black);
    font-size: 26px;
    font-weight: bold;
    margin: 64px 0;
}

.mainText > span:not(:last-child) {
    margin-right: 46px;
    position: relative;
}

.mainText > span:not(:last-child):before {
    content: '';
    width: 10px;
    height: 10px;
    position: absolute;
    right: -28px;
    top: 12px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

section {
    padding: 24px;
    border-radius: 24px;
    display: flex;
    margin: 0 36px;
    max-width: 900px;
}

section img {
    max-width: 100%;
    border-radius: 12px;
}

.containerDemo {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: radial-gradient(ellipse at 50% 50%, rgb(207 210 255) 0%, transparent 64%);
}

.primaryImage {
    width: 100%;
    align-self: flex-end;
    display: flex;
    gap: 16px;
}

.primaryImageTitle {
    min-width: 200px;
    height: 170px;
    text-align: end;
}

.imageInterface_1 {
    width: 70%;
}

.imageInterface_2 {
    width: 70%;
    margin-top: -45px;
}

.containerDemo2 {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: radial-gradient(ellipse at 50% 46%, rgb(207 210 255) 0%, transparent 64%);
    align-items: center;
    text-align: center;
}

.imageInterface_3 {
    border: 1px solid lightgray;
    width: 80%;
}

.imageInterface_4 {
    border-top-right-radius: unset;
}

.containerDemo3 {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: radial-gradient(ellipse at 50% 46%, rgb(207 210 255) 0%, transparent 64%);
    align-items: center;
    text-align: center;
}

@media (max-width: 850px) {
    .mainText {
        display: flex;
        flex-direction: column;
    }

    .mainText > span {
        margin: 12px 0;
        position: relative;
    }

    .mainText > span:not(:last-child):before, .mainText > span:before {
        right: unset;
        left: -24px;
        top: 10px;
        content: '';
        width: 10px;
        height: 10px;
        position: absolute;
        border-radius: 50%;
        background-color: var(--primary-color);
    }

    .info {
        flex-direction: column;
    }

    .illustration {
        min-width: 450px;
    }

    .introducing {
        width: 100%;
        text-align: center;
        margin: 0 0 60px 0;
        display: flex;
        align-items: center;
    }

    .introducing > div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .imageInterface_2 {
        margin-top: 12px;
    }
}

@media (max-width: 720px) {
    header {
        padding: 36px 12px;
    }

    section {
        margin: 0;
    }

    nav {
        justify-content: center;
    }

    .footerContent {
        padding: 124px 36px 24px 36px;
    }

    .controls {
        display: none;
    }

    .primaryImage {
        flex-direction: column;
    }

    .primaryImageTitle {
        text-align: center;
    }

    .imageInterface_1, .imageInterface_2, .imageInterface_3 {
        width: 100%;
    }

    .mainText {
        margin-left: 28px;
    }
}

