@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
}

body {
    height: 100vh;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to right, #f0fdfa, #e0f7f1);
}

li {
    list-style: none;
}

a {
    font-size: 1.1rem;
    text-decoration: none;
}

/* ===== HEADER ===== */
header {
    display: flex;
    justify-content: space-between;
    background-color: #0d9488;
    box-shadow: 0 8px 10px;
}

.jasbeer {
    margin: 0.5rem 1rem;
    font-size: 2rem;
    color: #fafafa;
}

.Main-navigation ul {
    display: flex;
    flex-flow: row wrap;
    gap: 3rem;
    margin: 1rem 1.5rem;
}

.Main-navigation a {
    color: whitesmoke;
    transition: color 0.3s ease;
}

.Main-navigation a:hover {
    color: #f59e0b;
    text-decoration: underline;
}

/* ===== MAIN CONTENT ===== */
main {
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

section {
    width: 75%;
    min-width: 800px;
    height: fit-content;
    border: 2px solid black;
    border-radius: 8px 250px 250px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content {
    margin: 5px 20px;
    display: flex;
    flex: 1;
    flex-flow: column wrap;
    align-items: center;
    text-align: center;
}

.content p:first-child {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.content p {
    font-size: 1.7rem;
    color: #374151;
}

.content p:nth-child(3) {
    font-size: 1.2rem;
    color: #333;
}

.content h1 {
    margin-bottom: 0.5rem;
    font-size: 3rem;
    font-weight: 700;
    color: #000;
}

/* ===== TYPEWRITER ===== */
#typewriter {
    margin-bottom: 12px;
    font-size: 24px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    white-space: nowrap;
}

#typewriter::after {
    content: "|";
    animation: blink 0.7s infinite;
    color: #f59e0b;
}

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

.content a {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    color: #f9fafb;
    background-color: #f59e0b;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.content a:hover {
    background-color: #d97706;
    transform: translateY(-2px);
    box-shadow: -2px 2px 5px #f59e0b;
}

.social-Media {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.social-Media img{
    width: 40px;
    margin: 10px;
    height: auto;
    border-radius: 50%;
}

/* ===== PORTRAIT IMAGE ===== */
.portrait {
    position:relative;
    left: 40px;
    flex-shrink: 0;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 40px;
}

.portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) { 
    body {
        display: flex;
        align-items: center;
    }

    li {
        border-bottom: 2px solid black;
        width: 150px;
        padding: auto;
    }

    header {
        height: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-bottom: 10px;
    }

    .Main-navigation ul {
        flex-direction: column;
        gap: 1rem;
        margin: 0;
        padding: 0;
    }

    section {
        border: none;
        flex-direction: column;
        min-width: unset;
        width: 90%;
        border-radius: 20px;
        padding: 20px;
        text-align: center;
    }

    .portrait {
        width: 220px;
        height: 220px;
        margin-top: 20px;
    }

    .content {
        align-items: center;
        text-align: center;
    }
}