

html {
    scroll-behavior: smooth;
  }

  @font-face {
    font-family: 'CustomFont';
    src: url('font_obrazec/obrazec.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
  }

body {
    margin: 0;
    padding: 0;
    font-family: 'Raleway', sans-serif;
    background-color: #040d1b;
    color: #ccd6f6;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 100vh;
    overflow: hidden;
    cursor: default; /* Shows default cursor (arrow) */
   
}
/* cursor stylings  */
.light {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, transparent 0%, transparent 0%);
    transition: background 0.1s, width 0.1s, height 0.1s;
    filter: blur(20px); /* Add blur effect */
}
/* main div stylings  */
.container {
    display: flex;
    flex-direction: row;
    width: 80%;
    height: 100%;
    position: relative;
}
.left-section {
    flex: 1;
   
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 20px;
}

.right-section {
    margin-top: 9%;
    flex: 1;
    overflow-y: auto; 
    height: 100vh;
    -ms-overflow-style: none;
    scrollbar-width: none; 
}
.right-section::-webkit-scrollbar { 
    display: none;
}
.typing-effect {
  
    animation: blink 0.5s step-end infinite alternate;
  }

  @keyframes blink {
    from {
      border-color: transparent;
    }
    to {
      border-color: #ffffff;
    }
  }
h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
}
h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin: 10px 0;
}
p {
    font-size: 1rem;
    line-height: 1.5;
}
.nav-links {
    margin-top: 20px;
}
.nav-links a {
    display: block;
    font-size: 1rem;
    color: #f3f4f8;
    font-weight: bold;
    text-decoration: none;
    margin: 10px 0;
    position: relative;
    transition: all 0.3s ease;
}
.nav-links a.active::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 2px;
    background-color: #64ffda;
}
.nav-links a:hover {
    transform: translateX(10px);
}
.social-icons {
    margin-top: 50px;
}
.social-icons a {
    color: #f0f0f0;
    font-size: 1.5rem;
    margin-right: 20px;
    text-decoration: none;
}
.experience {
    margin-top: 50px;
    width: 90%;
}
.experience-item {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #112646;
    border-radius: 10px;
    transition: all 0.3s ease-in-out, transform 0.3s ease-in-out;
    cursor: pointer;
}
.experience-item:hover {
    transform: translateY(-10px);
    border-color: #64ffda;
}
.experience-item h3 {
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
}
.experience-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 5px 0;
}
.experience-item p {
    font-size: 0.9rem;
    font-weight: 300;
    margin: 10px 0;
    max-width: 600px;
}
/* Timeline styles */
.timeline {
    margin-top: 50px;
    width: 60%; 
   margin-left: 10%;
}
.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}
.timeline-item .content {
    background-color: #112240;
    padding: 10px 20px;
    border-radius: 10px;
    position: relative;
    width: 100%;
}
.timeline-item .content::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: #64ffda;
    border-radius: 50%;
    top: 20px;
    left: -5px;
}
.timeline-item .date {
    font-size: 0.8rem;
    font-weight: bold;
    color: #64ffda;
}
 /* grid container / images styles starts here */

.grid_container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  
    gap: 20px;
    justify-content: center;
}
.grid_img {
    position: relative;
    width: 250px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
  
    overflow: hidden;
}
.grid_img img {
    max-width: 100%;
    max-height: 100%;
}
.grid_img:nth-child(5) {
    grid-column: span 2; /* Span across both columns */
    justify-self: center; /* Center horizontally */
    height: auto; /* Maintain aspect ratio */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    color: #64ffda;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 17px;
    font-weight: bold;
    
}
.overlay a{
    text-decoration: none;
    color: #64ffda;
}
.grid_img:hover{
    border: 1px solid #64ffda;
    border-radius: 5px;
    box-shadow: 0px 0px 15px #64ffda,
        0px 0px 15px #64ffda inset;
}
.grid_img:hover .overlay {
    opacity: 1;
   
    
}

/* logos columns starts here */
.slider-parent-container{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    transform: scale(1);

}
.skills-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    
}

.skills-container img {
    width: 60px; /* Set a fixed width for uniformity */
    height: 60px; /* Set a fixed height for uniformity */
    object-fit: contain; /* Ensures the image fits inside the container without distortion */
    background-color: #1e2026; /* Optional: Adds a background to make images stand out */
    padding: 10px; /* Optional: Adds padding around images */
    border-radius: 8px; /* Optional: Adds rounded corners */
}
.skills-container img:hover {
    transform: scale(1.2);  /* Enlarges image on hover */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);  /* Adds pop effect with shadow */
}


/* logos container ends here  */


    /* get in touch section & contact form starts here  */
    .contact {
        display: flex;
        justify-content: space-between;
        padding: 10px;
        max-width: 650px;
        margin: auto;
        transform: scale(0.9);
        margin-bottom: 1rem;
       
    }
    .form-left-section, .form-right-section {
        width: 45%;
    }
    .form-left-section h1 {
        font-size: 24px;
        color: #ff00ff;
        background: linear-gradient(to right, #ff00ff, #00ffff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    .form-left-section h2 {
        font-size: 20px;
        margin: 20px 0;
        display: flex;
        align-items: center;
    }
    .form-left-section img {
        margin-top: 10px;
        width: 300px;
        height: 20  0px;
    }
    .form-right-section h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    .form-right-section form {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .form-right-section form input, .form-right-section form textarea {
        background-color: #0b0e1a;
        border: 1px solid #ffffff;
        border-radius: 5px;
        padding: 10px;
        margin-bottom: 10px;
        color: #ffffff;
        width: 100%;
    }
    .form-right-section form textarea {
        height: 150px;
    }
    .form-right-section form button {
        background-color: #0b0e1a;
        border: 1px solid #ffffff;
        border-radius: 5px;
        padding: 5px;
        color: #ffffff;
        cursor: pointer;
        font-size: 14px;
        width: 100px;
        align-self: center;

    }
     /* get in touch section & contact form ends here  */


     @media (max-width: 768px) {
        html {
            scroll-behavior: smooth;
            height: auto;
        }
    
        body {
            margin: 0;
            padding: 0;
            font-family: 'Raleway', sans-serif;
            background-color: #040d1b;
            color: #ccd6f6;
            display: flex;
            justify-content: center;
            align-items: center;
            height: auto;
        }
    
        .container {
            display: flex;
            flex-direction: column;
            width: 80%;
            height: auto;
            position: relative;
        }
    
        .left-section {
            flex: 1;
            top: 0;
            height: auto;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding-right: 20px;
        }
    
        .right-section {
            margin-top: 9%;
            flex: 1;
            overflow-y: auto;
            height: 100%;
            -ms-overflow-style: none;
            scrollbar-width: none;
            background: scroll;
        }
    
        .right-section::-webkit-scrollbar {
            display: none;
        }
    
        .timeline {
            margin-top: 30px;
            width: 70%; 
            margin-left: 5%; 
            display: flex;
            flex-direction: column;
        }
    
        .timeline-item {
            display: flex;
            flex-direction: column; 
            align-items: flex-start; 
        }
    
        .timeline-item .content {
            padding: 15px; 
            font-size: 0.9rem; 
            width: 100%; 
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }
    
        .timeline-item .content::after {
            top: 15px; 
            left: -7px; 
        }
    
        .timeline-item .date {
            font-size: 0.7rem; 
            margin-bottom: 10px; 
        }
    
        .grid_container {
            grid-template-columns: 1fr; 
            gap: 15px; 
            justify-content: center; 
            width: 100%; 
            padding: 10px; 
            display: flex;
            flex-direction: column;
        }
    
        .grid_img {
            width: 100%; 
            height: auto; 
            margin: 0 auto; 
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 5px; 
            overflow: hidden;
        }
    
        .grid_img img {
            max-width: 100%; 
            max-height: 100%;
            object-fit: cover; 
        }
    
        .overlay {
            font-size: 14px; 
            padding: 5px; 
        }
    
        h1 {
            font-size: 2rem;
        }
    
        h2 {
            font-size: 1.2rem;
        }
    
        p {
            font-size: 0.9rem;
        }
    
       
    .name {
        font-size: 1rem;
        white-space: nowrap;
        text-align: center;
        overflow: hidden;
       margin-top: 2rem;
        width: 100%;
    }
    
        .skills-container {
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            display: grid; 
        }
    
        .skills-container img {
            width: 50px;
            height: 50px;
            padding: 8px;
        }
    
        .form-left-section {
            display: none !important;
        }
    
        .contact {
            flex-direction: column;
            align-items: center;
        }
    
        .form-right-section {
            width: 100%;
            text-align: center;
        }
    
        .form-right-section form {
            align-items: center;
        }
    }
    