:root {
    --main_blue: #2B4074;
    --main_white: #FFFFFF;
}

/*HEADER BLOCK*/
#header_block {
    width: 100%;
    background-color: aliceblue;
}

#header_block h2 {
    line-height: 4;
    font-size: 1em;
    letter-spacing: 2px;
    padding-left: 30px;
    color: rgba(36, 2, 18, 0.93);
}

#space_footer_block {
    width: 100%;
    height: 100px;
    background-color: aliceblue;
}

/*MAIN BLOCK*/

#main {
    width: 100%;
    display: flex;
    flex-direction: row;
}

#main > div:first-of-type {
    background-color: rgba(138, 20, 11, 0.83);
    width: 50%;
    height: 700px;
}

#main > div:nth-child(2) {
    background-color: rgba(14, 0, 5, 0.83);
    width: 50%;
    height: 700px;
}

#main > div:first-of-type h2:nth-child(1) {
    color: white;
    padding-left: 4em;
    padding-top: 5em;
    font-size: 2em;
}

#main > div:first-of-type h2:nth-child(2) {
    color: white;
    padding-left: 2em;
    padding-top: 1em;
    padding-bottom: 79px;
    font-size: 6em;
}

#main_photo {
    margin: 302px 0 0 -55px;
    border-radius: 18% 3%;
}

#main_button_about {
    padding-left: 4em;
    padding-top: 2em;
    margin-top: 8em;
    margin-right: 100%;
    color: #ffffff;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    background-color: #141617;
}


.main_a {
    color: #ffffff;
    letter-spacing: 2px;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
    background: black;
    padding: 18px 43px 18px 31px;
    border-radius: 4px;
    margin-left: 10px;

    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
}

#main_div_a_block {
    display: flex;
    flex-direction: row;
}

.main_a:hover {background-color: rgba(14,0,5,0.83)}

.button:active {
    background-color:rgba(14,0,5,0.83);
    box-shadow: 0 5px #666;
    transform: translateY(4px);
}

.main_a:after{
    opacity: 0;
    transition: all 0.8s
}

#main_button_projects {
    padding-left: 4em;
    padding-top: 2em;
    margin-right: 100%;
    margin-top: 5px;
    color: #ffffff;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    background-color: #141617;
}

/*TESTIMONIAL BLOCK*/
#testimonial_block {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: aliceblue;
}

#testimonial_block h2 {
    color: rgba(14, 0, 5, 0.83);
    font-size: 3em;
    word-spacing: 5px;
    width: 70%;
    padding: 4em 1em 0 4em;
}

/*ABOUT ME*/
#about_me {
    background-color: aliceblue;
}

#about_me h2 {
    color: rgba(14, 0, 5, 0.83);
    padding: 5em 0 4em 0;
    margin: 0 33em 1em 8em;
    font-size: 27px;
    font-style: initial;
    line-break: revert;
    line-height: 47px;
}

#my_project {
    margin-top: -20px;
    color: white;
    background-color: rgba(138, 20, 11, 0.83);
    font-size: 25px;
}

#my_project h2:first-child {
    text-align: center;
    font-size: 31px;
    letter-spacing: 5px;
    font-family: system-ui;
}

#my_project h2 {
    padding: 1em;
    display: flex;
    flex-direction: column;
}

#my_project h2 a {
    color: white;
}

#my_project image {
    color: white;
}

