@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
	position: relative;
	max-width: 50rem;
	margin: 1rem auto;
	overflow: hidden;
    background: url(../images/bg4.jpg) no-repeat;
    background-size: contain;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

h1 {
    font-size: 2.75rem;
    line-height: 1.1;
    color: #203864;
    text-align: center;
    margin: 2rem 0;
}
h1 span {
    font-size: 1.70rem;
        line-height: 1.1;
}

h2 {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 0.5rem;
}

ul {
    margin: 0 0 1rem 1.8rem;
    list-style: none;
}

ul li:before {
    content: "❤";
    float: left;
    margin-left: -1.625rem;
    font-size: .75rem;
    line-height: 1.8;
}

.display-respons {
    display: none;
}

article {
    padding: 1rem 1rem 0;
    position: relative;
}

.yellow {
    position: relative;
    left: 12rem;
    top: 2rem;
    width:35rem;
}
  
.yellow p {
    color: #203864;
    text-align: center;
    font-size: 1.25rem;
}

.blue {
    position: relative;
    top: 7rem;
    width: 47%;
}

.blue ul li {
    color: #222a35;
}

.pink {
    position: relative;
    left: 37.5rem;
    width: 10rem;
    text-align: center;
}

.pink img {
    width: 10rem;
}

footer {
    display: flex;
    align-items: end;
    gap: 2rem;
    padding: 1rem;
    position: relative;
    bottom: 1.5rem;
}

footer .text {
    width: 65%;
}

footer img {
    width: 15rem;
}

footer p {
    color: #fff;
}

a.link {
    color: #f7f28e;
    font-weight: 700;
}

@media only screen and (max-width: 49.938rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background: none;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    .display-respons {
        display: block;
    }

    article {
        padding: 0;
    }

    .yellow {
        position: static;
        width: 100%;
        background-color: #f7f28e;
        padding: 1rem;
    }
    .yellow p br {
        display: none;
    }
    
    .blue {
        position: static;
        width: 100%;
        background-color: #bac5e3;
        padding: 1rem;
    }

    .pink {
        position: static;
        background-color: #ea9ea8;
        padding: 1rem;
        border-radius: 50%;
        width: 15rem;
        height: 15rem;
        margin: 1rem auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    footer {
        position: static;
        background-color: #012061;
    }
}

@media only screen and (max-width: 48rem) {
    footer {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    footer .text {
        width: 100%;
        text-align: center;
    }

    .yellow p {
        font-size: 1rem;
    }

    h1 {
        font-size: 2rem
    }
    h1 span {
        font-size: 1.4rem;
    }
}


