/* General Styles */
body {
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #1e1e1e;
    color: #ffffff;
}

/* General box-sizing */
* {
    box-sizing: border-box;
}

/* Header Styles */
header {
    position: static;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #333333;
    z-index: 1000;
}

.navbar {
    position: absolute;
    left: 20px;
}

.menu-icon {
    font-size: 24px;
    cursor: pointer;
    color: #ffffff;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    margin-right: 10px;
}

.company-name {
    font-size: 24px;
    color: #ffffff;
    font-family: 'Horizon', sans-serif;
}

/* Main Content Styles */
main, .welcome-div, .contact-div {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 10%;
}

.welcome-div {
    max-width: 100%; /* Ensure it doesn't exceed the viewport width */
    margin: 0 auto; /* Center the content */
    overflow-x: hidden; /* Prevent horizontal overflow */
}

.welcome-section-container {
    padding-top: 10%;
}

.welcome-section, .contact-section {
    text-align: center;
    width: 100%;
    max-width: 600px;
    padding: 20px;
    background-color: #2c2c2c;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.welcome-section h2 {
    margin-top: 0;
    color: #ffffff;
    font-family: 'Horizon', sans-serif;
}

.content p {
    margin: 15px 0;
    color: #cccccc;
}

/* Contact Div Styles */
.contact-section-container {
    padding-top: 10%;
}

#contact-section-span {
    font-size: 0.8em;
}

#copy-button {
    visibility: visible;
    position: inherit;
    cursor: pointer;
    height: 1.3em;
    transform: translate(0%, 15%);
}

.mail-address {
    color: #86FCF5;
    padding-right: 8px;
}

/* Tooltip Styles */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltip-text {
    visibility: hidden;
    opacity: 0; /* Start with opacity 0 */
    width: 70px;
    background-color: black;
    color: #ffffff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 150%;
    left: 50%;
    margin-left: -35px;
    transition: opacity 0.5s ease-in-out; /* Add transition for opacity */
}

.tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: black transparent transparent transparent;
}

.tooltip .tooltip-text.visible {
    visibility: visible;
    opacity: 1; /* Change to opacity 1 */
}

/* Responsive Design */
@media (max-width: 600px) {
    .welcome-section {
        padding: 10px;
    }
    .contact-container {
        padding: 10px;
    }
    .welcome-div {
        width: 100%;
        padding: 0 10px; /* Adjust padding for mobile devices */
    }

    .welcome-section-container {
        padding-top: 5%;
    }

    .welcome-section {
        max-width: 100%; /* Ensure it uses full available width */
    }
}
