:root {
    --white: #F1F1F1;
    --red: #DB3E26;
    --black: #1E1E1E;
    --gray: #A3A3A3;
}

* {
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--white);
    font-family: Montserrat, 'sant serif';
    font-size: 20px clamp(14px, 1vw, 20px);
    color: var(--black);
    font-weight: 500;
}

h1 {
    font-size: clamp(150px, 16vw, 300px);
    font-weight: 900;
    color: var(--red);
    text-transform: uppercase;
    text-align: center;
}

h2 {
    font-size: clamp(32px, 5vw, 96px);
    font-weight: 800;
    text-transform: uppercase;
}

h4 {
    font-size: clamp(24px, 2.1vw, 42px);
    font-weight: 700;
    text-transform: uppercase;
}

h5 {
    font-size: clamp(16px, 1.25vw, 24px);
    font-weight: 700;
    color: var(--gray);
    text-transform: uppercase;
}

.container {
    padding: 0px clamp(5px, 4vw, 80px);
}

.main {
    padding-top: 80px;
    padding-bottom: 125px;
}

.description {
    font-size: clamp(22px, 2vw, 40px);
    text-transform: uppercase;
    margin-bottom: -28px;
}

.accent {
    color: var(--red);
}

.about {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: self-start;
    margin-top: 126px;
}

.qualities,
.skills {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 1.25vw, 24px);
}

.skills {
    text-align: right;
}

.qualities ul,
.skills ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: clamp(4px, 0.5vw,10px);
}

.main .container {
    position: relative;
}

.main .container img {
    width: clamp(300px, 34vw, 651px);
    height: auto;
    position: absolute;
    bottom: -125px;
    right: 29%;
}

.commercial-project {
    background-color: var(--black);
    color: var(--white);
}

.graduation-project,
.commercial-project {
    padding-top: 84px;
    padding-bottom: 100px;
}

.commercial-project h2,
.graduation-project h2 {
    max-width: 912px;
}

.cp__title {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.cp__title img {
    cursor: pointer;
    width: clamp(30px, 3.4vw, 67px);
    height: auto;
}

.cp__list, 
.gp__list {
    margin-top: 120px;
    width: 50%;
    display: grid;
    grid-template-columns: repeat(2, 487px);
    grid-template-rows: repeat(2,  1fr);
    row-gap: clamp(24px, 3vw, 58px);
    column-gap: clamp(12px, 6.4vw, 124px);
}

.cp__lists .item,
.gp__lists .item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.graduation-project .container h2,
.graduation-project .container h5 {
    text-align: right;
    max-width: 760px;
    margin-left: auto;
}

.graduation-project .container {
    position: relative;
}

.graduation-project img {
    width: clamp(30px, 3.4vw, 67px);
    height: auto;
    position: absolute;
    right: 78px;
    bottom: 0;
}

.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 40px 0;
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link {
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.footer__link:hover {
    color: var(--red);
}

@media(max-width: 1350px){

    .container{
        padding: 0px 24px;
    }

    .qualities ul li,
    .skills ul li {
        width: 25vw;
    }

    .item__text {
        width: 30vw;
    }

    .graduation-project img {
        left: 78px;
        top: 0;
    }
}

