*{
    box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
p {
    margin: 0;
    font-weight: normal;
    font-size: 100%;
}

body {
    min-width: 850px;
    font-family: 'Open Sans', 'Arial', sans-serif;
    background-color: #edf2f4;
}

.header {
    height: 30vh;
    text-align: center;
    background-color: #2b2d42;
    background-position: center;
    background-size: cover;
}

.second-header {
    height: 100px;
    text-align: center;
    background-color: #edf2f4;
    background-position: center;
}

.header-title {
    margin: auto;
    color: #edf2f4;
    font-weight: 800;
    font-size: 100px;
    text-transform: uppercase;
}

.overlay {
    display: flex;
    width: 100%;
    height: 100%;
    background-color: #2b2d42;
}

.second-overlay {
    border-color: #edf2f4;
}

.second-header-title {
    margin-top: 20px;
    font-weight: 800;
    color: #ef233c;
    font-size: 26px;
    text-transform: uppercase;
    margin-bottom: 49px;
    padding: 20px;
}

.navigation {
    width: 100%;
    background-color: #2b2d42;
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

.page-navigation {
    margin-top: 10px;
    width: 100%;
    background-color: #2b2d42;
    display: flex;
    justify-content: center;
    padding: 9px 0;
}

.navigation ul,
.page-navigation ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.navigation ul li,
.page-navigation ul li {
    display: inline;
}

.navigation ul li a,
.page-navigation ul li a {
    color: #edf2f4;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navigation ul li a:hover,
.page-navigation ul li a:hover {
    background-color: #8d99ae;
    color: #edf2f4;
}

.content {
    width: 1200px;
    margin: 50px auto;
    text-align: center;
    padding: 20px;
}

.card {
    display: inline-block;
    height: 500px;
    width: 360px;
    margin-right: 20px;
    margin-bottom: 50px;
    border: 2px solid #2b2d42;
    border-radius: 10px;
    padding: 20px;
    vertical-align: top;
    background: #ffffff;
}

.card-title {
    margin-bottom: 15px;
    font-weight: 800;
    font-size: 20px;
    text-align: center;
    color: #ef233c;
    text-transform: uppercase;
}

.card-text {
    font-size: 16px;
    line-height: 1.4;
    text-align: left;
    color: #2b2d42;
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 2px solid #2b2d42;
    border-radius: 10px;
    margin-bottom: 15px;
}

.page-frame {
    background-color: #edf2f4;
    color: #ef233c;
    padding: 40px 20px;
    margin: 20px 0;
    text-align: center;
}

.page-text {
    margin: 20px auto;
    width: 80%;
    color: #2b2d42;
    background-color: #edf2f4;
    font-weight: 700;
    text-align: center;
    line-height: 1.6;
}

.up {
    text-align: center;
    margin: 30px 0;
}

.up-text a {
    color: #2b2d42;
    background-color: #edf2f4;
    font-weight: 400;
    font-size: 15px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid #2b2d42;
    border-radius: 5px;
}

.footer {
    display: flex;
    height: 100px;
    width: 100%;
    background-color: #2b2d42;
}

.footer-author {
    margin: auto;
    color: #edf2f4;
    font-weight: 800;
    font-size: 25px;
}

.footer-communication {
    margin: auto;
    color: #edf2f4;
}

.minifooter {
    display: flex;
    height: 50px;
    background-color: #2b2d42;
}

.course-content {
    width: 100%;
    color: #2b2d42;
    margin: 50px auto;
    padding: 20px;
}

.course-title {
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 800;
    font-size: 20px;
    text-align: center;
    text-transform: uppercase;
}

.course-text {
    font-family: 'Open Sans', Arial, sans-serif;
    margin: auto;
    width: 80%;
    color: #2b2d42;
    background-color: #edf2f4;
    font-weight: 700;
    text-align: left;
    line-height: 20px;
}

.form {
    display: flex;
    flex-direction: column;
    width: 500px;
    padding: 20px;
    margin: 20px auto;
}
