* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 300;
    font-size: 20px;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    overflow-y: scroll;
    cursor: default;
}

body {
    --accent-color: #e88a38;
    --background-color: #fff;
    --text--color: #333;
    --background-two-color: #e8f2fc;
    --sticky-background-color: rgba(232, 242, 252, 0.90);
    --background-color-focus: #c9e2f9;
    background-color: var(--background-color);
    color: var(--text--color);
    overflow: hidden;
}

body.dark {
    --accent-color: #8a4b14;
    --background-color: #222;
    --text--color: #e1e1e1;
    --background-two-color: #2a2a2a;
    --sticky-background-color: rgba(42, 42, 42, 0.90);
    --background-color-focus: #dfdfdf;
}

.theme-toggle-button {
    background-color: #f00;
    display: block;
    margin: 30px auto 0;
    cursor: pointer;
    transition: transform var(--transition-delay);
    transform: scale(1);
}

.theme-toggle-button:hover, .theme-toggle-button:focus {
    transform: scale(1.1);
}

.sun-moon-container {}

.toggle {
    margin-right: 20px;
    cursor: pointer;
}

.sun, .moon {
    width: 32px;
    height: 32px;
    fill: var(--accent-color);
    border-radius: 50%;
}

.row {
    max-width: 1140px;
    margin: 0 auto;
}

section {
    padding: 80px 0px;
}

h1, h2, h3 {
    font-weight: 300;
    text-transform: uppercase;
}

h1 {
    margin-top: 0;
    margin-bottom: 30px;
    color: var(--text--color);
    font-size: 230%;
    word-spacing: 4px;
    letter-spacing: 2px;
}

h2 {
    font-size: 180%;
    word-spacing: 2px;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

h2::after {
    display: block;
    height: 2px;
    margin: 0 auto;
    background-color: #e67e22;
    content: " ";
    width: 100px;
    margin-top: 10px;
}

h3 {
    font-size: 120%;
    margin-bottom: 15px;
    text-align: center;
}

h4 {
    font-size: 110%;
    font-weight: 500;
    margin-bottom: 15px;
    text-align: center;
}

h5 {
    font-size: 100%;
    margin-bottom: 15px;
    text-align: center;
}

p {
    line-height: 125%;
    margin-bottom: 10px;
}

a:link, a:visited {
    color: var(--text--color);
    text-decoration: none;
    padding-bottom: 1px;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.2s, color 0.2s;
}

a:active, a:hover {
    color: #e67e22;
}

.btn:link, .btn:visited, input[type=submit] {
    display: inline-block;
    padding: 10px 30px;
    font-weight: 300;
    text-decoration: none;
    border-radius: 200px;
    margin-top: 15px;
    transition: background-color 0.3s, border 0.3s, color 0.3s;
}

.btn-full:link, .btn-full:visited, input[type=submit] {
    background-color: #e67e22;
    border: 1px solid #e67e22;
    margin-left: 15px;
    color: #fff;
}

.btn-ghost:link, .btn-ghost:visited {
    border: 1px solid #e67e22;
    color: #e67e22;
}

.btn:active, .btn:hover, input[type=submit]:hover, input[type=submit]:active {
    background-color: #c55f06;
}

.btn-full:active, .btn-full:hover {
    border: 1px solid #c55f06;
}

.btn-ghost:active, .btn-ghost:hover {
    border: 1px solid #c55f06;
    color: #fff;
}

.main-nav {
    background-color: var(--sticky-background-color);
    display: flex;
    align-items: center;
}

.logo-link {
    margin-left: 10px;
    margin-right: auto;
}

.logo {
    height: 60px;
    width: auto;
    transition: transform 0.4s ease-in-out;
}

.logo:hover {
    transform: rotate(360deg);
}

.main-nav__links {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-nav__links li:last-child {
    margin-right: 0;
}

.main-nav li {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 40px;
    text-transform: uppercase;
}

.main-nav li a:link, .main-nav li a:visited {
    padding: 8px 0;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 90%;
}

.main-nav .main-nav__links li a:link, .main-nav .main-nav__links li a:visited {
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.2s;
}

.main-nav .main-nav__links li a:hover, .man-nav .main-nav__links li a:active {
    border-bottom: 2px solid #e67e22;
    cursor: pointer;
}

.sticky .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--sticky-background-color);
    box-shadow: 0 4px 10px #181818;
    z-index: 100;
}

.sticky .main-nav {}

.sticky .sun, .sticky .moon {
    width: 24px;
    height: 24px;
}

.sticky .main-nav .logo {
    height: 40px;
    transition: transform 0.4s ease-in-out;
}

.sticky .main-nav .logo:hover {
    transform: rotate(360deg);
}

.main-nav .focus a, .main-nav .focus a:hover, .main-nav .focus a:focus {
    background-color: transparent;
    color: #e67e22;
}

.button-mobile-menu {
    height: 100%;
    width: 32px;
    display: none;
}

.mobile-nav-icon {
    width: 100%;
    color: #fff;
}

.mobile-nav {
    display: none;
}

.mobile-nav.shadow {
    width: 100%;
    position: fixed;
    height: 100%;
    top: 0;
    right: 0;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.7);
}

.mobile-nav-container {
    position: fixed;
    z-index: 100;
    overflow: auto;
    top: 0;
    right: 0;
    height: 100%;
    width: 40%;
    background-color: var(--background-two-color);
    display: flex;
    flex-direction: column;
    visibility: hidden;
    transform: translate3d(80vw, 0, 0);
    transition: all 350ms cubic-bezier(0.6, 0.05, 0.28, 0.91) 0s;
}

.mobile-nav-container.show {
    visibility: visible;
    transform: translate3d(0vw, 0, 0);
}

.mobile-nav-icon-hide {
    margin: 10px;
}

.mobile-nav-links li {
    padding: 0 0px;
    margin: 40px auto;
}

.mobile-nav-links li:first-child {
    padding: 0;
    margin: 20px auto 0;
}

.mobile-nav-links li:last-child {
    padding: 0 40px;
    margin: 0px auto;
}

.mobile-nav-container .toggle {
    padding: 0 40px;
    margin: 20px auto 0;
}

.transition {
    display: none;
}

.mobile-nav-icon-hide {
    cursor: pointer;
}

header {
    min-height: 100vh;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
}

header p {
    color: var(--text--color);
}

header h3 {
    color: var(--text--color);
}

.hero {
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero.row {
    padding: 60px 0;
}

.hero__technologies {
    margin-top: auto;
    text-align: center;
}

.hero-about-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0 20px;
}

.hero-about-description {
    margin-top: 50px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    flex: 2;
}

.hero-about-description ul {
    list-style: none;
}

.hero-about-description ul p {
    margin-bottom: 10px;
}

.hero-about-block__image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 50px;
    border: 5px solid var(--text--color);
    box-shadow: -3px 5px 20px 5px var(--text--color);
}

.profile-image-border {
    height: 100%;
    width: 100%;
    position: absolute;
    padding: 50px;
}

.hero__text-box img {
    max-height: 250px;
}

.hero-about__buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.hero-about__buttons a.btn-ghost {
    margin-left: 50px;
    box-shadow: #e67e22 0px 13px 19px -6px;
}

.hero-about__buttons a.btn-full {
    box-shadow: #e67e22 0px 13px 19px -6px;
}

.skills-section {
    background-color: var(--background-two-color);
    -webkit-clip-path: polygon(0% 13%, 100% 0px, 100% 87%, 0px 100%);
    clip-path: polygon(0% 13%, 100% 0px, 100% 87%, 0px 100%);
    padding-top: 90px;
}

.hero__skills {
    margin-top: 40px;
    margin-bottom: 30px;
}

.skills-container {
    display: grid;
    grid-template-columns: 20% 20% 20% 20% 20%;
}

.skills-container__skill {
    margin: 30px 20px;
    padding: 0px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.skills-container__skill img {
    max-width: 60%;
    max-height: 60%;
    margin-bottom: 20px;
    transition: transform 0.5s;
}

.skills-container__skill img:hover {
    opacity: 1;
    transform: scale(1.2);
}

section .projects-section {
    margin-top: 40px;
}

#PROJECTS {
    padding-top: 90px;
}

.projects-background {
    margin-top: 30px;
    padding-top: 0;
}

.projects-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.project-item {
    max-width: 400px;
    margin: 10px;
    background-color: var(--background-two-color);
    border-radius: 5px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

.project-item:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 2);
}

.mySlides {
    display: none;
}

.mySlides2 {
    display: none;
}

.project-item__image {
    position: relative;
    max-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-item img {
    max-width: 100%;
    max-height: 194px;
    margin-bottom: 0px;
    transition: transform 0.5s;
    border-radius: 5px 5px 0 0;
    border: 1px solid #333;
}

.project-item img:hover {
    transform: scale(1.2);
    /* border-radius:5px 5px 5px 5px; */
}

.numbertext {
    position: absolute;
    color: #e67d22c4;
    right: 0;
    top: 0;
    visibility: hidden;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 0 16px;
    color: #e67d22c4;
    font-weight: bold;
    font-size: 150%;
    border-radius: 0 3px 3px 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: rgba(145, 145, 145, 0.7);
}

.next {
    right: 0;
    border-radius: 0 3px 3px 0;
}

.prev {
    left: 0;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.project-item__description {
    padding: 25px;
}

.project-item__description p {
    font-size: 90%;
}

.project-item__description ul ul {
    margin-left: 30px;
}

.project-item__description ul ul li {
    list-style: none;
}

.project-item__technologies {
    padding: 0 25px;
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.project-item__technologies p {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    background-color: var(--background-two-color);
    margin: 5px 15px 5px 0;
    padding: 5px;
    border-radius: 5px;
    font-size: 80%;
    cursor: default;
    transition: color 0.2s;
}

.project-item__technologies p:hover {
    color: #e67e22;
}

.project-content {
    padding: 10px;
}

.project-item__links {
    padding: 10px;
    align-self: flex-end;
}

.project-item__links a {
    border: none;
}

.project-item__links svg {
    fill: var(--text--color);
    margin-right: 10px;
    margin-bottom: 5px;
}

.project-item__links svg:hover, .project-item__links svg:active {
    fill: #e67e22;
}

.project-item__links ion-icon {
    margin-right: 10px;
    font-size: 32px;
    margin-bottom: 5px;
}

.project-item__links ion-icon:hover, .project-item__links ion-icon:active {
    color: #e67e22;
}

.contact-section {
    background-color: var(--background-two-color);
    -webkit-clip-path: polygon(0 13%, 100% 0, 100% 100%, 0 100%);
    clip-path: polygon(0 13%, 100% 0, 100% 100%, 0 100%);
}

.contact-container {
    margin-top: 40px;
}

.contact-form input, .contact-form textarea {
    color: #333;
}

.contact-form input:focus, .contact-form textarea:focus {
    background-color: var(--background-color-focus);
    outline: none;
}

.contact-form {
    width: 60%;
    margin: 0 auto;
}

.fvalue {
    margin-bottom: 30px;
    display: flex;
}

.form-name {}

.form-name label {
    flex: 30%;
}

textarea {
    resize: vertical;
    min-height: 100px;
    max-height: 200px;
}

input[type=text], input[type=email], textarea {
    width: 100%;
    border-radius: 3px;
    box-shadow: 0 8px 16px 0px rgb(0, 0, 0, 0.5);
    border: 1px solid #999;
}

input[type=submit] {
    cursor: pointer;
    box-shadow: #e67e22 0px 13px 19px -6px;
}

.form-submit-button {
    width: 100%;
}

.form-messages {
    width: 70%;
    margin: 0 auto;
    padding: 10px;
    border-radius: 3px;
    margin-bottom: 20px;
    font-size: 90%;
}

.success {
    color: #333;
    background-color: rgb(142, 238, 118);
}

.error {
    color: #333;
    background-color: rgb(253, 132, 132);
}

.footer-container {}

.footer-links-container {
    display: flex;
    padding: 50px 50px 10px;
    justify-content: center;
    align-content: center;
    font-size: 80%;
}

.footer-logo-name {
    display: inline-block;
    flex: 1;
    justify-self: flex-end;
}

.footer-logo-name img {
    max-height: 100px;
    border-radius: 50%;
    transition: transform 0.4s ease-in-out;
}

.footer-logo-name img:hover {
    transform: rotate(360deg);
}

.footer-links__nav {
    margin-top: 10px;
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-self: center;
    align-self: center;
}

.footer-links__social {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-content: center;
}

.social-container {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-self: flex-end;
    align-self: center;
}

.footer-links__nav li {
    margin-bottom: 10px;
}

.footer-links__social li {
    margin-right: 20px;
}

.footer-links__social li a {
    border: none;
}

.footer-links__social li a svg {
    width: 40px;
    height: 40px;
    fill: var(--text--color);
}

.social-mail:hover, .social-mail:active {
    fill: #4A00A0;
}

.social-linkedin:hover, .social-linkedin:active {
    fill: #0073b1;
}

.social-github:hover, .social-github:active {
    fill: rgba(165, 165, 165, 0.884);
}

.social-facebook:hover, .social-facebook:active {
    fill: #3b5998;
}

.footer-copyright {
    padding: 10px 50px 50px;
    display: flex;
    justify-content: center;
    align-content: center;
    font-size: 80%;
}

.footer-copyright p {
    text-align: center;
}