@import url("/css/style.css");

/* Container Styles */
.home-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.inner-container {
    margin-top: 50px;
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    margin-bottom: 130px;
}

/* Text Section Styles */
.text-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-section h1 {
    line-height: 110%;
}

.highlight {
    color: var(--accent-color);
    transition: color .7s ease;
}

.typing-container {
    margin-top: 25px;
    height: 3vh;
}

.text-section a button {
    margin-top: 20px;
}

/* Image Section Styles */
.image-section {
    flex: 1;
    text-align: center;
    margin-top: 20px;
}

.image-section img {
    width: 500px;
    max-width: 100%;
    height: auto;
    border-radius: 50px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

.floating {  
    animation-name: floating;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}
 
@keyframes floating {
    0% { transform: translate(0,  0px); }
    50%  { transform: translate(0, 15px); }
    100%   { transform: translate(0, -0px); }    
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .text-section {
        width: 95%;
        flex: 1;
        margin-bottom: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .text-section h1 {
        font-size: 4rem;
    }

    .text-section h5 {
        font-size: 1.2rem;
    }

    .text-section a button {
        margin-top: 15px;
    }
    
    .typing-container {
        text-align: center;
    }

    .text-section a button {
        margin-top: 20px;
    }

    .image-section {
        display: none
    } 
}
