@charset "utf-8";

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
    font-size: 16px;
}

body {
    color:rgb(63, 65, 63);
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 1px #000;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    height: auto;
}

h1 {
    font-size: 1.8rem;
    color: rgb(204, 30, 28);
    text-align: center;
    margin: 1.5rem 0;
    line-height: 1.2;
}

h1 span {
    font-size: 1.1rem;
    color:rgb(63, 65, 63);
}

h2 {
    font-size: 1.1rem;
    color: rgb(204, 30, 28);
}

h3 {
    font-size: 1.1rem;
    color: #fff;
}

p {
    margin-bottom: 1rem;
}

.bigger {
    font-size: 1.4rem;
}

ul {
    margin: 0 0 1rem 1rem;
}

article {
    padding: 1rem 3rem;
}

.flex {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.flex section {
    width: 50%;
}

footer {
    display: flex;
    gap: 1rem;
    background-color: rgb(204, 30, 28);
    padding: 1rem 3rem;
}

footer p {
    color: #fff;
}

footer .left {
    width: 85%;
}

footer .right {
    width: 20%;
    margin-top: 3rem;
}

.button {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
    border-top: 1px solid  #cc1e1c;
}
a.apply {
    background-color: #cc1e1c;
    color: #fff;
    margin: 1rem;
    padding: 0.5rem 1rem;
    border: 1px solid #cc1e1c;
}
a.apply:hover {
    background-color: #fff;
    color: #cc1e1c;
}

@media only screen and (max-width: 49.938rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    .flex {
        flex-direction: column;
        gap: 1rem;
    }

    .flex section {
        width: 100%;
    }
}

@media only screen and (max-width: 30rem) {
    
    article,
    footer {
        padding: 1rem;
    }

    footer {
        flex-direction: column-reverse;
        text-align: center;
    }

    footer .left {
        width: 100%;
    }

    footer .right {
        margin-top: 0;
        width: 100%;
    }
}

@media only screen and (max-width: 23.438rem) {

}
