@font-face {
    font-family: 'CustomFont';
    src: url('Monoton-Regular.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'CustomFont1';
    src: url('FrederickatheGreat-Regular.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'CustomFont2';
    src: url('JosefinSlab-VariableFont_wght.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'CustomFont3';
    src: url('BlakaHollow-Regular.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'CustomFont4';
    src: url('RalewayDots-Regular.ttf') format('truetype');
    font-weight: 1000;
    font-style: normal;
}

@font-face {
    font-family: 'CustomFont5';
    src: url('Lato-Regular.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'CustomFont6';
    src: url('ChakraPetch-Light.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'CustomFont7';
    src: url('Dongle-Regular.ttf') format('truetype');
    font-weight: 1000;
    font-style: normal;
}

@font-face {
    font-family: 'CustomFont8';
    src: url('CarterOne-Regular.ttf') format('truetype');
    font-weight: 1000;
    font-style: normal;
}

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

body {
    background-color: #000000;
    color: #ffffff;
    font-family: CustomFont8;
    font-size: 16px;
    line-height: 1.5;
}

header {
    background-image: url('head.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #131313b4;
    /* background-image: blur(2px); */
    background-blend-mode: multiply;
    color: aliceblue;
}

nav {
    display: flex;
    justify-content: space-between;
    text-align: center;
    padding: 20px;
    position: absolute;
    top: 0;
    left: 40;
    width: 100%;
    
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: space-between;
    font-size: larger;
}

nav ul li {
    margin-right: 20px;
    text-align: center;
}

nav ul li a {
    color: crimson;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-align: center;
}

nav ul li a:hover {
    color: #ff1616;
}

.first-let::first-letter {
    font-size: 2em;
}

p {
    text-indent: 1.5em;
    text-align: left;
}

.hero-text {
    text-align: center;
    margin-top: 50px;
    font-family: CustomFont3;
}

.hero-text h1 {
    font-size: 5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0px 0px 50px rgb(212, 0, 255);
}

.hero-text p {
    font-size: 3rem;
    font-display: bold;
    text-shadow: 0px 0px 20px #000000;
}

.container {
    width: 80%;
    margin: auto;
    padding: left 50px;
    padding-bottom: 50px;
    padding-top: 50px;
}

section h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 50px;
    text-align: center;
    text-shadow: 0px 0px 55px #ff0000;
    font-family: CustomFont1;
}

section p {
    margin-bottom: 20px;
    font-family: CustomFont5;
    font-weight: bolder;
    line-height: 1.5; 
    word-spacing: 0.4em; 
    font-size: 18px;
}

#about {
    margin-left: 23%;
    margin-right: 15%;
    padding: 5%;
}

#education {
    padding: 80px 0;
    background-image: url('Polish_20221028_215638242.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: #131313b4;
    /* background-image: blur(2px); */
    background-blend-mode: multiply;
    color: aliceblue;
}

.about2 {
    background-image: url('1 - MTOimIx.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: #131313b4;
    /* background-image: blur(2px); */
    background-blend-mode: multiply;
    color: aliceblue;
    
}
.timeline {
    list-style-type: none;
    position: relative;
    margin-top: 0;
    padding: 0;
    margin-left: 7%;
    margin-bottom: 10%;
    padding-left: 9%;
}

.timeline:before {
    content: "";
    height:103.9%;
    width: 3px;
    background-color: cadetblue;
    position: absolute;
    margin-left: -3px;    
    grid-template-columns: repeat(5, 1fr);
    top: 10px;
    z-index: 1;
}

.timeline li {
    margin-bottom: 80px;
    position: left;
    
}

.timeline li:before {
    content: "";
    position: left;
    z-index: 5px;
    right: -14px;
    top: 1px;
    height: 0;
    width: 0;
    border: 25px solid transparent;
    border-left-color: cadetblue;
    /* padding-bottom: 5%; */
}

.timeline-date {
    display: inline-block;
    width: 120px;
    font-weight: 700;
    margin-bottom: 0px;
    color: cadetblue;
    font-family: CustomFont6;
}

.timeline-content {
    display: inline-block;
    margin-left: 30px;
    margin-top: 0; 
}

.timeline-content h3 {
    margin-top: 30px;
    color: #ffffff;
    font-family: CustomFont2;
    font-size: larger;
}

.timeline-content p {
    margin: 0;
    color: #ffffff;
    font-family: CustomFont5;
    font-size: larger;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 40px;
    margin: 50px;
    align-content: center;

    /* opacity: 0; */
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: all 0.3s ease;
    /* opacity: 0; */
}

/* .gallery img:hover {
    transform: scale(4.4);
    opacity: 0;
} */

.gallery img:hover {
    transform: scale(3);
    opacity: 1;
    /* transition: opacity 0.5s ease-out; */
}

.gallery:hover img:not(:hover) {
    opacity: 1;
    /* transition: opacity 0.5s ease-out; */
}

/* .gallery:hover h2:not(:hover) {
    opacity: 1;
    /* transition: opacity 0.5s ease-out; } */

.gallery:hover p:not(:hover) {
    opacity: 0;
    /* transition: opacity 0.5s ease-out; */
}

.project {
    position: static;
}

/* .project :hover {
    transform: scale(1.1)
} */

.project-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(19, 131, 131, 0.671);
    color: #ffffff;
    font-size: 12px;
    text-align: center;
    padding: 10px;
    margin: 0;
    border-radius: 5px;
}

.services {
    background-image:url('wp7782542-warzone-ghost-wallpapers.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: #131313b4;
    /* background-image: blur(2px); */
    background-blend-mode: multiply;
}
.skill-list {
    list-style: none;
    padding: 0;
    align-items: normal;
    margin-bottom: 5%;
}

.skill-list li {
    margin-bottom: 20px;
}


.skill-name {
    display: inline-block;
    margin-left: 3.5%;
    padding-left: 3.5%;
    width: 500px;
    font-weight: medium;
    font-family: CustomFont7;
    margin-bottom: 0.5%;
    font-size: 2.6rem;
    /* text-align: justify; */
}

.skill-bar {
    margin-left: 20%;
    display: inline-block;
    width: 500px;
    height: 20px;
    background-color: #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    display: inline-block;
    height: 100%;
    background-color: cadetblue;
    transition: width 1s ease-in-out;
}

.skill-progress:hover {
    background-color: #00fff27e;

}
.skill-100 {
    width: 100%;
}

.skill-90 {
    width: 90%;
}

.skill-80 {
    width: 80%;
}

.skill-70 {
    width: 70%;
}

.skill-60 {
    width: 60%;
}

.skill-50 {
    width: 50%;
}

.skill-40 {
    width: 40%;
}

footer {
    /* background-color: #222; */
    padding: 20px;
    text-align: center;
    margin-top: 50px;
    background-image:url('alien_twitter_banner_by_skyhaishai_db5serp.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: #131313b4;
    /* background-image: blur(2px); */
    background-blend-mode: multiply;
}

footer p {
    font-size: 1.2rem;
    text-shadow: 0px 0px 20px #3dfc9c;
    font-family: CustomFont2;
}

.typewriter {
    overflow: hidden;
    border-right: 0.15em solid transparent;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: 0.15em;
    animation: typing 5.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: transparent
    }
}

.icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    justify-content: space-between;
}

.icons a {
    margin: 0 15px;
    font-size: 3.5em;
    color: #2e5b6d;
    transition: color 0.3s;
}

.icons a:nth-child(n+6) {
    display: block;
    margin-top: 10px;
}

.icons a:hover i {
    color: #ffffff;
}

.text-shadow {
    text-shadow: 0px 0px 30px #11e5ec;
}

#notification {
    font-family: CustomFont5;
    display: none;
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    background-color: #000000;
    border: 1px solid #ffffff;
    border-radius: 4px;
  }
  