:root {
    --text-color: #667085;
    --main-color: #8E2424;
    --title-color: #101828;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    width: 100%;
    height: 100vh;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26.5px 112px 26.5px 112px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo h1 {
    color: #3A404E;
}

.navbar {
    display: flex;
    align-items: center;
    gap:32px;
    margin-right: 398px;
}

.navbar a {
    color: var(--text-color);
    font-weight: 500;
}

.button_login {
    width: 83px;
    height: 44px;
    border-radius: 8px;
    border: 1px solid #FFFFFF;
    background: #FFFFFF;
    font-weight: 500;
    color: var(--text-color);
}

.button_register {
    width: 112px;
    height: 44px;
    border-radius: 8px;
    border: 1px solid var(--main-color);
    background: var(--main-color);
    font-weight: 500;
    color: #FFFFFF;
}

.aboutUs {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 96px 325px 96px 325px;
    gap: 24px;
}

.aboutUs span {
    font-weight: 600;
    color: var(--main-color);
}

.aboutUs h1 {
    font-weight: 600;
    font-size: 48px;
}

.aboutUs p {
    width: 660px;
    height: 60px;
    font-weight: 400;
    text-align: center;
    color: var(--text-color);
}

.metrics {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    width: 1280px;
    height: 192px;
}

.box_metrics {
    width: 280px;
    height: 192px;
}

.box_metrics h1 {
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 60px;
    line-height: 72px;
    color: var(--main-color);
}

.box_metrics h2 {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 500;
    color: var(--title-color);
}

.box_metrics p {
    font-weight: 400;
    color: var(--text-color);
}

.openJobs {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 96px 336px 64px 336px;
    gap: 24px;
}

.borderOpenJobs {
    background: rgba(142, 36, 36, 0.05);
    border-radius: 16px;
    width: 125px;
    height: 28px;

    display: flex;
    justify-content: center;
    align-items: center;
    
    font-weight: 500px;
    color: var(--main-color);
}

.openJobs h1 {
    font-weight: 600;
    font-size: 36px;
    line-height: 44px;
    color: var(--title-color);
}

.openJobs p {
    font-weight: 400px;
    color: var(--text-color);
}

.imgOpenJobs {
    padding: 64px 112px 0px 112px;
}

.listOpenJobs {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 768px;
    height: 914px;
}

.titleList {
    margin-top: 64px;
    font-weight: 500;
    font-size: 20px;
    color: var(--title-color);
}

.boxOpenJobs {
    display: flex;
    flex-direction: column;
    padding: 24px 24px 28px;
    gap: 24px;
    width: 768px;
    height: 136px;
    border: 1px solid #EAECF0;
    border-radius: 16px;
}

.openJobs h2 {
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    color: var(--title-color);
}

.boxOpenJobs span {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    margin-right: 24px;
    color: var(--text-color);
}

.comments {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 64px;
    gap: 16px;
    margin: 96px 112px 96px 112px;
    background: rgba(196, 25, 25, 0.03);
    border-radius: 16px;
}

.titleSection_comments {
    font-weight: 500;
    color: var(--main-color);
}

.comments h1 {
    width: 1150px;
    height: 88px;

    font: 500;
    font-size: 36px;
    line-height: 44px;
    text-align: center;

    color: var(--title-color);
}

.comments h2 {
    font-weight: 500;
    font-size: 16px;
    
    color: var(--main-color);
}

.jobInterview {
    font-weight: 400;
    font-size: 14px;
    
    color: var(--text-color);
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 96px 336px 96px 336px;
    gap: 20px;
    background: #F9FAFB;
}

footer p {
    font-weight: 400;
    color: var(--text-color);
}

.email_register {
    padding: 15px;
    width: 400px;
    height: 30px;
    color: var(--text-color);
}

footer form {
    display: flex;
    justify-content: center;
    gap: 8px;
}

footer button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    width: 150px;
    height: 30px;
    background-color: var(--main-color);
    border: 1px solid var(--main-color);
    border-radius: 8px;
}

footer a {
    color: #FFFFFF;
}

form {
    justify-content: center;
    align-items: center;
    width: 600px;
    height: 30px;
}