:root {
    --corner-width: 30vw;
    --side-ribbon-width: 5vw;

    --h1-font-size: 75px;
    --h1-line-height: 90px;
    --h1-font-weight: 700;

    --h2-font-size: 50px;
    --h2-line-height: 60px;
    --h2-font-weight: 600;

    --h3-font-size: 40px;
    --h3-line-height: 48px;
    --h3-font-weight: 400;

    --h4-font-size: 30px;
    --h4-line-height: 30px;
    --h4-font-weight: 300;

    --font-size: 20px;
    --line-height: 28px;
    --font-weight: 300;

    --bg-color: #F9FAFC;
    --main-color: #4C5566;
    --divider-color: #E3E8EF;

    --spacer-height: 5vh;
    --divider-margin: 7vh;

    --content-width: 45vw;

    --main-overflow: auto;
}

.hidden {
    visibility: hidden;
}

.popup-form {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    background: var(--bg-color);
}

.popup-form .close {
    position: fixed;
    right: 0;

    height: 50px;
    width: 50px;
    margin: 10px 15px;

    background-color: rgba(76, 85, 102, 0.15);
    border-radius: 25px;

    cursor: pointer;
}

.popup-header .close {
    fill: var(--main-color)
}



button {
    all: unset;
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background-color: #0445AF;
    color: #fff;
    font-size: 20px;
    border-radius: 25px;
    padding: 0 33px;
    font-weight: bold;
    height: 50px;
    cursor: pointer;
    line-height: 50px;
    text-align: center;
    margin: 0;
    text-decoration: none;
}

body {
    font-family: 'roboto';
    text-align: justify;
    color: var(--main-color);
    font-size: var(--font-size);
    font-weight: var(--font-weight);
    line-height: var(--line-height);

    background-color: var(--bg-color);
    overflow-x: hidden;
    overflow-y: var(--main-overflow);
}

b {
    font-weight: var(--h3-font-weight);
}


.flowers-header {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.flowers-header .corner {
    background: url('./flowers-corner.png');
    background-size: var(--corner-width);
    background-repeat: no-repeat;

    width: var(--corner-width);
    height: var(--corner-width);
    position: absolute;
    top: 0;
}

.flowers-header .corner.right {
    right: 0;
    transform: rotateY(180deg);
}

.flowers-header .corner.left {
    left: 0;
}

.side-ribbon {
    position: absolute;
    background-size: var(--side-ribbon-width);
    width: var(--side-ribbon-width);
    height: calc(3 * var(--side-ribbon-width));
}

.side-ribbon.left {
    background-image: url('left-flower.png');
    left: 0;
}

.side-ribbon.right {
    background-image: url('right-flower.png');
    right: 0;
}

.side-ribbon.first {
    top: 95vh;
}

.side-ribbon.second {
    top: 180vh;
}

.side-ribbon.third {
    top: 270vh;
}

footer {
    font-size: 15px;
    margin-bottom: 5vh;
    text-align: center;
}

footer a {
    color: var(--main-color);
}


nav {
    font-family: 'Dancing Script';
    font-size: var(--h4-font-size);
    line-height: var(--h4-line-height);
    font-weight: var(--h4-font-weight);
    height: 25vh;
    display: flex;
    position: sticky;
    z-index: 2;
}

nav ul {
    display: inline-flex;
    margin: auto;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    cursor: pointer;
    color: var(--main-color);
    text-decoration: none;
}

nav ul li a:hover {
    text-decoration: underline;
    font-weight: var(--h1-font-weight);
}


ul.list {
    text-align: center;
}


h1,
h2,
h3,
h4 {
    font-family: 'Dancing Script';
}

span.divider {
    width: 15vw;
    height: 1px;
    background-color: var(--divider-color);
    display: block;
    margin: var(--divider-margin) auto var(--divider-margin);
}

span.divider:first-of-type {
    margin: 0 auto var(--divider-margin) !important;
}


.content {
    display: flex;
    flex-direction: column;
    width: var(--content-width);
    margin: auto;
}

.title {
    height: 75vh;
    display: flex;
    margin: auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section h3 {
    text-align: center;
}

.spacer {
    display: block;
    height: var(--spacer-height);
}


h1 {
    font-size: var(--h1-font-size);
    line-height: var(--h1-line-height);
    font-weight: var(--h1-font-weight);
}

h3 {
    font-size: var(--h3-font-size);
    line-height: var(--h3-line-height);
    font-weight: var(--h3-font-weight);
}

h4 {
    font-size: var(--h4-font-size);
    line-height: var(--h4-line-height);
    font-weight: var(--h4-font-weight);
}

b {
    font-weight: var(--h3-font-weight);
}

.center {
    text-align: center;
}