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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    color:  #0089f0;
}

body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
}

.hero-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 75%;
    max-width: 1200px;
    background-color: white;
    padding: 20px;
    padding-top: 5%;
    /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
}

.intro {
    flex: 1;
    padding-right: 20px;
    margin-bottom: 30px;
}

.intro h1 {
    font-size: 1.8em; /* Reduced for better fit on small screens */
    margin-bottom: 10px;
}

.intro h2 {
    font-size: 1.5em; /* Reduced for better fit on small screens */
    margin-bottom: 5px;
}


.intro p {
    font-size: 1.0em; /* Adjusted font size */
    line-height: 1.6;
    color: black;
    margin-bottom: 1rem;
    text-align: left;
}

.photo-and-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.profile-photo {
    width: 50%; /* Reduced size for better responsiveness */
    height: 50%;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    flex-direction: row;
}

.social-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: #0089f0;
    border-radius: 50%;
    margin-right: 22px;
    text-align: center;
    line-height: 35px;
    border: 1px solid white;
    outline: 2px solid #0089f0;
    transition: .3s;
}

.social-icons a:hover {
    transform: translateY(-5px);
}

.social-icons a i {
    color: white ;
}

@keyframes jiggle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.lin, .gsch {
    display: inline-block;
    width: 50px;
    height: 50px;
    margin: 10px;
}

.lin {
    animation: jiggle 1.0s infinite;
}

.gsch {
    animation: jiggle 1.1s infinite alternate;
}



@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: left;
        width: 90%;
    }

    .intro h1 {
        font-size: 1.5em; /* Further reduced for smaller screens */
    }
    .intro h2 {
        font-size: 1.2em; /* Further reduced for smaller screens */
    }

    .intro p {
        font-size: 0.9em; /* Further reduced font size */
    }
}

@media (max-width: 480px) {
    .hero-section {
        flex-direction: column;
        text-align: left;
        width: 90%;
    }

    .intro h1 {
        font-size: 1.2em; /* Further reduced for smaller screens */
    }
    .intro h2 {
        font-size: 1.0em; /* Further reduced for smaller screens */
    }

    .intro p {
        font-size: 0.8em; /* Further reduced font size */
    }
}

