/* General Styles */
body {
    margin: 0;
    font-family: 'Montserrat';
    background-color: white;
    color: black;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

.skills {
    font-family: 'Courier New', Courier, monospace;
    color: #555;
    text-align: center;
    margin-top: 20px;
    line-height: 1.4;
    font-size: 14px;
    
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    
    overflow: hidden; 
    white-space: normal; /* Ensure text wraps and doesn't overflow */
}

/* Mobile adjustments */
@media only screen and (max-width: 768px) {
    .skills {
        font-size: 12px;  /* Slightly smaller font on mobile */
        max-width: 90%;   /* Adjust width for better fit */
    }
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    min-height: 100vh; /* Ensure container fills the viewport height */
    overflow-y: hidden; /* Hide vertical scrollbar */
}

/* Main Content Styles */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px; /* Limit content width */
    margin: auto; /* Center content horizontally */
    overflow-y: hidden; /* Hide vertical scrollbar */
}

.image-container {
    margin-bottom: 20px;
}

.image-container img {
    max-width: 100%;
    height: auto;
}

.content {
    text-align: center;
}

.content h1 {
    margin-bottom: 20px;
}

.content p {
    margin: 10px 0;
}

/* Footer Styles */
footer {
    text-align: center;
    margin-top: 20px;
}

.social-icons {
    margin-bottom: 10px;
}

.social-icons a {
    margin: 0 10px;
}

.social-icons img {
    width: 30px;
    height: 30px;
}

.footer p {
    margin: 0;
    font-style: italic;
}

/* Media Queries for Responsive Design */
@media only screen and (min-width: 768px) {
    main {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .image-container {
        margin-right: 20px;
        margin-bottom: 0;
    }

    .content {
        text-align: left;
        max-width: calc(100% - 300px); /* Adjust for image width and margin */
    }

    .content h1 {
        margin-bottom: 30px;
    }

    .footer {
        margin-top: 30px;
    }
}
