/* Importing the tech font */
body {
    font-family: 'Roboto Mono', monospace;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #ffffff;
}

html {
	scroll-behavior: smooth;
    	scroll-padding-top: 80px; 
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    background-color: #1a1a1a;
    position: sticky;
    top: 0;
    z-index: 10;
    flex-wrap: wrap;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

header nav ul li {
    margin: 0;
}

header nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 10px;
}

header nav ul li a:hover {
    color: #00bcd4;
}

header .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00bcd4;
    margin-right: 20px;
}

header .logo span {
    color: #ffffff;
}

html {
    scroll-behavior: smooth;
}

/* Warning section */

.warning {
    position: fixed;
    bottom: 10px; /* Place it below the header */
    right: 10px;
    background-color: #9c2b2e; /* Bright warning color */
    color: #d2cece;
    padding: 4px 6px;
    border: solid #e84e4f;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 100; /* Ensure it stays above other elements */
    font-size: 0.9rem;
    font-weight: bold;
    min-width: 150px;
    max-width: 250px; /* Reduce the width */
    word-wrap: break-word; /* Ensure long text breaks into lines */
    text-align: center; /* Center the text */
}

strong{
    font-size: 1rem;
}

.sticky-warning p {
    margin: 0;
}


/* Hero Section */
#hero {
    text-align: center;
    padding: 100px 20px;
    background-color: #1a1a1a;
    color: #ffffff;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.photo-container {
    width: 250px;
    height: 250px;
    border: 5px solid #00bcd4;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.5);
}

.photo-container:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 188, 212, 0.8);
}

.photo-container img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.typing-animation {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid #00bcd4;
    animation: typing 3s steps(14), blink 1s infinite;
    max-width: 100%;
    color: #00bcd4;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 14ch;
    }
}

@keyframes blink {
    10% {
        border-color: transparent;
    }
}

/* Sections */
section {
    padding: 20px 10px;
    max-width: 1200px;
    margin: auto;
}

h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: #00bcd4;
}

/* Project Grid */
.project-card {
    background-color: #222;
    padding: 20px;
    border-radius: 10px;
    margin: 20px;
    margin-bottom: 40px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.project-card h3 {
    color: #00bcd4;
}

.project-card:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(0, 188, 212, 0.8);
}

/* .project-card a.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #00bcd4;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
}

.project-card a.btn:hover {
    background-color: #018e9f;
} */

/* Buttons */
.btn {
    padding: 10px 20px;
    background-color: #00bcd4;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
}

.btn:hover {
    background-color: #018e9f;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #1a1a1a;
    color: #777;
}

.warning.hidden {
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.close-warning {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
}

.close-warning:hover {
    color: #e84e4f;
}


.close-warning {
    background-color: rgba(255, 255, 255, 0.1); /* Lighter shade of the background */
    border: none;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.close-warning:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Slightly brighter on hover */
    color: #e84e4f;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 10px;
    }

    .hero-content {
        flex-direction: column;
    }

    .photo-container {
        width: 200px;
        height: 200px;
    }

}

/* Certifications Section */
#certifications {
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
    color: #ffffff;
}

#certifications h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: #00bcd4;
}

#certifications label {
    font-size: 1rem;
    color: #ffffff;
    margin-right: 10px;
}

select {
    padding: 10px;
    font-size: 1rem;
    font-family: 'Roboto Mono', 'monospace';
    max-width: 300px;
    margin-top: 20px;
    margin-right: 30px;
    margin-bottom: 20px;
    background-color: #222;
    color: #ffffff;
    border: 1px solid #00bcd4;
    border-radius: 5px;
}

button {
    padding: 10px 20px;
    background-color: #00bcd4;
    font-family: 'Roboto Mono', monospace;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
}

button:hover {
    background-color: #018e9f;
}

.certificate-info {
    background-color: #222;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    display: none;
}

.certificate-info h3 {
    color: #00bcd4;
}

.certificate-info p {
    color: #ffffff;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    #certifications {
        flex-direction: column;
        padding: 20px 10px;
    }

    select {
        width: 100%;
    }
}

