:root {
    --my-red: #e40428;
    --my-orange: #f39200;
    --my-yellow: #ffdd00;
    --my-green: #3dac35;
    --my-blue: #023e84;
    --my-brown: #743d0d;
}

@font-face {
    font-family: 'RoadUA';
    src: url('../fonts/RoadUA-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'RoadUA';
    src: url('../fonts/RoadUA-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'RoadUA';
    src: url('../fonts/RoadUA-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}



body {
    font-family: 'RoadUA', sans-serif;
    background-color: #e0e9f6;
}

.container {
    margin-top: 5%;
    border: 0px solid #000000;
    width: 400px;
    height: 1px;
    margin-left: auto;
    margin-right: auto;
}

.inner-container {
    border: 0px solid #000000;
    width: 200px;
    height: 70px;
    margin-left: auto;
    margin-right: auto;
}

h1 {
    font-weight: 700;
    font-size: 32pt;
}

h2 {
    font-weight: 400;
    font-size: 21pt;
}



.name-box {
    text-align: left;
    width: 400px;
    background-color: white;
    border-radius: 10px;
    border-width: 4px;
    border-color: black;
    border-style: solid;
    justify-self: center;
    line-height: 2px;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.3);
}

.name-box-name {
    margin-left: 24px;
    margin-top: 32px;
}

.name-box-undertext {
    margin-left: 24px;
    margin-bottom: 24px;
}



.resume-button {
    margin-top: 24px;
    text-align: left;
    width: 400px;
    background-color: var(--my-green);
    border-radius: 10px;
    border-width: 3px;
    border-color: white;
    border-style: solid;
    justify-self: center;
    line-height: 0px;
    color: white;
    outline: 2px solid var(--my-green);
    outline-offset: 0px;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.resume-button:hover {
    transform: scale(1.10);
    box-shadow: 6px 6px 16px rgba(0, 0, 0, 0.4);
}

.resume-button-header {
    margin-top: 16px;
    margin-right: 24px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 16px;
}

.resume-button h1 {
    font-weight: 700;
    font-size: 24pt!important;
    margin-left: 24px;
}



.about-box {
    margin-top: 24px;
    text-align: left;
    width: 400px;
    background-color: var(--my-blue);
    border-radius: 10px;
    border-width: 3px;
    border-color: white;
    border-style: solid;
    justify-self: center;
    line-height: 2px;
    color: white;
    outline: 2px solid var(--my-blue);
    outline-offset: 0px;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.3);
}

.about-box-header {
    margin-left: 24px;
    margin-top: 28px;
}

.about-box-content {
    margin-left: 24px;
    margin-right: 24px;
    line-height: 20px;
    margin-bottom: 28px;
}

.about-box h1 {
    margin-top: 24px;
    font-weight: 700;
    font-size: 24pt;
}
.about-box h2 {
    font-weight: 400;
    font-size: 16pt;
}



.projects-button {
    margin-top: 24px;
    text-align: left;
    width: 400px;
    background-color: var(--my-brown);
    border-radius: 10px;
    border-width: 3px;
    border-color: white;
    border-style: solid;
    justify-self: center;
    line-height: 0px;
    color: white;
    outline: 2px solid var(--my-brown);
    outline-offset: 0px;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.projects-button:hover {
    transform: scale(1.10);
    box-shadow: 6px 6px 16px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

.projects-button-header {
    margin-top: 16px;
    margin-right: 24px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 16px;
}

.projects-button h1 {
    font-weight: 700;
    font-size: 24pt!important;
    margin-left: 24px;
}




.contact-box {
    margin-top: 24px;
    text-align: left;
    width: 400px;
    background-color: var(--my-yellow);
    border-radius: 10px;
    border-width: 4px;
    border-color: black;
    border-style: solid;
    justify-self: center;
    line-height: 2px;
    color: black;
    outline-offset: 0px;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.3);
}

.contact-div {
    margin-left: 24px;
    margin-top: 28px;
    transition: transform 0.2s ease;
    transform-origin: left center;
}

.contact-div:hover {
    transform: scale(1.10);
    cursor: pointer;
}



.contact-box h1 {
    font-weight: 700;
    font-size: 24pt;
}
.contact-box h2 {
    font-weight: 400;
    font-size: 16pt;
}



.error-box {
    margin-top: 5%;
    text-align: left;
    width: 400px;
    background-color: var(--my-red);
    border-radius: 10px;
    border-width: 4px;
    border-color: white;
    border-style: solid;
    justify-self: center;
    outline: 2px solid var(--my-red);
    outline-offset: 0px;
    line-height: 2px;
    color: white;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.work-box {
    margin-top: 5%;
    text-align: left;
    width: 400px;
    background-color: var(--my-orange);
    border-radius: 10px;
    border-width: 4px;
    border-color: black;
    border-style: solid;
    justify-self: center;
    line-height: 2px;
    color: black;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.3);
}

.work-box h1 {
    margin-left: 24px;
}

.work-box h2 {
    margin-left: 24px;
}



.return-button {
    margin-top: 24px;
    text-align: left;
    width: 200px;
    background-color: var(--my-blue);
    border-radius: 10px;
    border-width: 3px;
    border-color: white;
    border-style: solid;
    justify-self: center;
    line-height: 2px;
    color: white;
    outline: 2px solid var(--my-blue);
    outline-offset: 0px;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.3);
    height: 70px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.return-button:hover {
    transform: scale(1.10);
    box-shadow: 6px 6px 16px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

.return-button h1 {
    margin-left: 24px;
}

footer {
    margin-top: 50px;
    margin-bottom: 5%;
    text-align: center;
    color: gray;
    line-height: 2px;
}