.main_1_button a {
    text-decoration: none;
    color: white;
    background-color: black;
    padding: 10px 20px;
    border-radius: 5px;
}

.main_1_button a:hover {
background-color: #333;
}

.description-container img {
max-width: 100%;
height: auto;
}

@font-face {
    font-family: 'DK Zealand';
    src: url('/static/fonts/DkZealandRegular-1ymv.otf') format('truetype');
}

.nav-menu ul {
    display: inline-block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu li {
    display: inline-block;
    margin: 0 15px;
    position: relative;
}

.nav-menu li:not(:last-child)::after {
    content: " | ";
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff0000;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 25px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a::before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: #ffffff;
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-menu a:hover::before {
    width: 100%;
    left: 0;
}

.nav-menu a:hover {
    color: #d62828;
}

.social-media-icons {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 150px;
}

.social-media-icons img {
    width: 30px;
    height: 30px;
    margin: 0 10px;
}

/* Add this rule to adjust spacing between menu and social media */
.nav-menu li:last-child {
    margin-right: 0;
}

.download_cv_button a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #d62828;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.download_cv_button a:hover {
    background-color: #0056b3;
}

.main_1_button {
    display: flex;
    gap: 30px;
}

.main_1_button a {
    display: inline-block;
    padding: 20px 35px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-family: 'Courier New', Courier, monospace;
    font-size: 20px;
}

/* Light background button with black text */
.main_1_button a.light-background {
    background-color: #ffffff;
    color: #000000;
}

.main_1_button a.light-background:hover {
    background-color: #59f1ff;
}

/* Transparent background button with white text */
.main_1_button a.transparent-background {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.main_1_button a.transparent-background:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

main {
    margin: 5px;
}

/* Home PAGE */

#home {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
}

.container {
    text-align: center;
    position: relative;
}

.description-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.shapes-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.shape1 {
    top: -10px;
    left: -10px;
    animation-name: shape1-animation;
}

.shape2 {
    top: -10px;
    right: -10px;
    animation-name: shape2-animation;
}

.shape3 {
    bottom: 40px;
    right: -10px;
    animation-name: shape3-animation;
}

@keyframes shape1-animation {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-5px, -5px); }
    100% { transform: translate(0, 0); }
}

@keyframes shape2-animation {
    0% { transform: translate(0, 0); }
    50% { transform: translate(5px, -5px); }
    100% { transform: translate(0, 0); }
}

@keyframes shape3-animation {
    0% { transform: translate(0, 0); }
    50% { transform: translate(5px, 5px); }
    100% { transform: translate(0, 0); }
}

.hello-text {
    font-family: 'Courier New', Courier, monospace;
    font-size: 50px;
    margin-bottom: 50px;
}

.first-name {
    color: #ffffff;
    margin-right: 20px;
}

.last-name {
    color: transparent;
    -webkit-text-stroke: 1px #ffffff;
    text-stroke: 1px #ffffff;
}

#phrase-container {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 90px;
}


#dynamic-word {
    animation: blink-caret 0.75s step-end infinite;
    font-size: 45px;
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #000; }
}

#cursor {
    display: inline-block;
    vertical-align: bottom;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

.main-1-button {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 90px;
}

.main-1-button a {
    display: inline-block;
    padding: 20px 35px;
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.main-1-button a:hover {
    background-color: #59f1ff;
}

.transparent-background {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.light-background {
    background-color: #ffffff;
    color: #000000;
}



main {
    margin: 5px;
}

/* About PAGE */

#about {
    padding: 50px 0;
    color: #000000;
    height: 90%;
    background-color: #dbe0e1;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 90px;
}

.about-photo-container {
    flex: 1;
    width: 75%;
    max-width: 450px;
    height: auto;
}

.about-photo-container img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.personal-info-container {
    flex: 1;
    min-width: 300px;
    max-width: 60%;
}

.personal-info-container h1 {
    font-size: 2em;
    color: #191919;
    margin-bottom: 10px;
}

.personal-info-container h2 {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 20px;
}

.personal-info-container p {
    font-size: 1em;
    color: #2e2e2e;
    line-height: 1.3;
    margin-bottom: 15px;
}

.personal-info-list {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 18px;
    color: #000000;
  }
  
  .personal-info-list ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    flex: 1;
  }
  
  .personal-info-list li {
    font-size: 0.9em;
    color: #2c2c2c;
    margin-bottom: 10px;
  }
  
  .personal-info-list li strong {
    color: #333;
    margin-right: 5px;
  }

/* Skills section */
.skills-container {
    width: 100%;
}

.skills-container h1 {
    font-size: 2.5em;
    color: #171717;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
}

.skills-container p {
    font-size: 1.8em;
    margin-bottom: 5px;
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
}

.tool-container {
    width: 100%;
    background-color: #4b4b4b2c;
    overflow: hidden;
    border: 2px solid #000000;

}

.marquee {
    display: flex;
    animation: marquee 30s linear infinite;
}

.marquee img {
    width: 130px;
    height: 130px;
    margin: 30px;
}

@keyframes marquee {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
    }

    .about-photo-container,
    .personal-info-container {
        max-width: 100%;
    }
}

/* Education PAGE */

#education {
    padding: 60px 0;
    height: 75%;
    background-image: url('/static/images/slider-bg.jpg');
    color: #ecf0f1;
}

.education-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 10px;
}

.education-container h1 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 22px;
}

.content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 18px;}

.description {
    flex: 1;
    margin-right: 40px;
}

.education-list {
    list-style: none;
    margin-bottom: 5px;
    padding: 10px;
    margin: 0;
}

.education-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    transition: transform 0.3s, filter 0.3s;
}

.icon img {
    max-width: 40px;
    max-height: 40px;
}

.education-list li:hover .icon img {
    animation: blitz 0.5s ease-in-out;
}

@keyframes blitz {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }
    25% {
        transform: scale(1.2);
        filter: brightness(1.4);
    }
    50% {
        transform: scale(1);
        filter: brightness(1);
    }
    75% {
        transform: scale(1.2);
        filter: brightness(1.4);
    }
    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}


.text h2 {
    margin: 0 0 5px;
    font-size: 1.3em;
    color: #ecf0f1;
}

.text p {
    margin: 5px 0;
    font-size: 19px;
    color: #bdc3c7;
}

.image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.image-container img {
    max-width: 100%;
    border-radius: 10px;
}

@media screen and (max-width: 768px) {
    .content {
        flex-direction: column;
    }

    .image-container {
        margin-top: 20px;
    }

    .image-container img {
        max-width: 90%;
    }
}

/* Projects PAGE */

#projects {
    padding: 5px;
    padding-bottom: 50px;
    height: 80%;
    background-color: #dbe0e1;
}

.projects-container {
    width: 75%;
    margin: 0 auto;
}

.projects-container h3 {
    text-align: center;
    color: #000000;
    
}

.projects-container p {
    font-size: 1.3em;
    color: #000000;
}

.project-grid {
    display: flex;
    flex-direction: column;
}

.project-item {
    text-align: left;
    display: flex;
    align-items: center;
    border: 1px solid #000000;
    justify-content: space-between;
    background-size: cover;
    position: relative;
    padding: 5px;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.project-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.202);
    z-index: 0;
    border-radius: 10px;
}

.project-item * {
    position: relative;
    z-index: 1;
}


.project-item h2 {
    font-size: 1.7em;
    color: #384d75;
    flex: 1;
    margin: 0 30px;
    text-align: center;
}

.project-item p {
    flex: 2;
    margin-right: 40px;
    font-size: 1.1em;
    color: #000000;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-align: center;
}

.project-image-container {
    position: relative;
    width: 300px;
    height: 300px;
    padding: 20px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.project-image-container img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.7s ease, filter 0.2s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.click-icon {
    color: rgb(120, 120, 120);
    font-size: 2rem;
}

.project-image-container:hover .image-overlay {
    opacity: 1;
}

.project-image-container:hover img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

.fullscreen-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.fullscreen-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.fullscreen-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: white;
    cursor: pointer;
    padding: 20px;
    user-select: none;
}

.fullscreen-arrow.left {
    left: 20px;
}

.fullscreen-arrow.right {
    right: 20px;
}

/* Sliding Text Container Styling */


/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap');

.text-container {
    width: 98%;
    padding: 25px 20px;
    font-size: 80px;
    font-family: 'Poppins', sans-serif;
    color: #dae0e4;
    text-align: center;
    overflow: hidden;
    background-color: #dbe0e1;
    border: 1px solid #000000;
}
.sliding-text {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    animation: slide-left 40s linear infinite;
}

.text-item {
    -webkit-text-stroke: 2px #3C5B6F;
    text-stroke: 1px #ffffff;
    display: inline-block;
    padding: 0;
    color: #153448;
}

/* Animation for sliding text */
@keyframes slide-left {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0%); }
}


/* Contact PAGE */

#contact {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 50px 0;
    height: 50%;
    background-image: url('/static/images/slider-bg.jpg');
    color: #333;
    font-family: Arial, sans-serif;
}

.contact-info, .contact-form {
    flex: 0 0 350px; 
    padding: 10px;
}

.contact-info {
    font-size: 20px;
    color: aliceblue;
}

.contact-form {
    margin-left: 45px;
}

.contact-info h2, .contact-form h2 {
    color: #abfff8;
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 10px;
}

.social-media-icons_down_page a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-media-icons_down_page a:last-child {
    margin-right: 0px;
}

.social-media-icons_down_page img {
    width: 50px;
    height: 50px;
    margin: 20px 5px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.social-media-icons_down_page a:hover img {
    transform: scale(1.2);
}

.contact-form form {
    margin-top: 20px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 400px;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 18px;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    padding: 12px 24px;
    background-color: #007BFF;
    border: none;
    width: 400px;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #0056b3;
}

.download_cv_button_down_page a {
    display: inline-block;
    padding: 20px 35px;
    text-decoration: none;
    text-align: center;
    width: 200px;
    font-weight: 600;
    margin-top: 20px;
    border-radius: 5px;
    border: 1px solid #ffffff;
    color: #ffffff;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-family: 'Courier New', Courier, monospace;
    font-size: 20px;
}

.download_cv_button_down_page a:hover {
    background-color: #ffffff;
    color: #000000;
}

.vertical-line {
    width: 1px;
    background-color: #fff;
    margin: 0 20px;
    margin-right: 40px;
    height: 400px;
}

#submitBtn {
    display: inline-block;
    padding: 20px 35px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-family: 'Courier New', Courier, monospace;
    font-size: 20px;
    font-weight: 600;
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #ffffff;
    cursor: pointer;
}

#submitBtn:hover {
    background-color: #e0e0e000;
    color: #ffffff;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
  }
  
  #myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: red;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
  }
  
  #myBtn:hover {
    background-color: #555;
  }


footer {
    background-color: #022030;
    color: #d62828;
    text-align: center;
}
