@tailwind base;
@tailwind components;
@tailwind utilities;

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
*{
    margin: 0;
    padding: 0;
    font-family:  "Inter",sans-serif;
}

.static-text{
    font-size: 6vw;
}

.static-text span{
    color:  red;
    position: relative;
}

.static-text span::before {
    content: "";
    position: absolute;
    right: -6px;
    height: 6vw;
    width: 3px;
    background: red;
    top: 50%;
    transform: translateY(-45%);
    animation: blink 0.7s infinite;
}

@keyframes blink {
    50%{
        opacity: 0;
    }
}

.wrapper {
    position: relative;
}

.animate-fadeIn {
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: none;
}

.moving-icon {
    animation: moveUpDown 2s infinite alternate;
}

@keyframes moveUpDown {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10px);
    }
}

/* timeline.css */

#timeline {
    position: relative;
}

#timeline .timeline {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
}

#timeline .timeline-item {
    scroll-snap-align: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

#timeline .timeline-item:hover {
    transform: scale(1.05);
}

#timeline .timeline-content {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#timeline .timeline-content img {
    border-radius: 0.5rem;
}

#timeline .timeline-content i {
    margin-bottom: 1rem;
}

#timeline .timeline-content h3 {
    margin-bottom: 0.5rem;
}

    #contact-form input, #contact-form textarea {
        transition: all 0.3s ease;
    }
    
    #contact-form input:focus, #contact-form textarea:focus {
        outline: none;
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    }
    
    #contact-form button:hover {
        transform: scale(1.05);
    }

    /* about.css */

#about .reveal {
    display: none;
}

@media (min-width: 768px) {
    #about .reveal {
        display: block;
    }
}


