/* Reset default margin and padding */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

/* Style header/logo section */
header {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 0px 0;
}

/* Style each full-page section */
.section {
    height: 100vh; /* 100% of viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0; /* Change background color as needed */
}

/* Style section content */
.section h1 {
    font-size: 2em;
}

/* Add more styles as needed */

/* Section 1 */
.section:nth-child(1) {
    background-image: url('memarkem_businessbg.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: 75%;
    background-color: #faf9f5;
    /* Other styles for section 1 */
}

/* Section 2 */
.section:nth-child(2) {
    background-color: #FAF7F5; /* Replace with your desired color for Section 2 */
    
    /* Default font settings */
    font-family: Courier, sans-serif; /* Specify the font family */
    font-weight: normal; 
    line-height: 1.5; /* Set the line height */
    text-align: center; /* Set the text alignment */

    /* Font size settings based on screen width */
    font-size: 8px; /* Default font size for small screens */

    /* Minimum font size for medium screens and above */
    @media (min-width: 768px) {
        font-size: 10px;
    }

    /* Maximum font size for large screens and above */
    @media (min-width: 1200px) {
        font-size: 12px;
    }
}

/* Section 3 */
.section:nth-child(3) {
    background-color: #FFFFFF; /* Replace with your desired background color for Section 3 */
    /* Other styles for section 3 */
}

/* email-link div */
/* email-link div */
.email-link {
    position: relative;
    display: inline-block;
}

.email-link h1,
.email-link a {
    text-decoration: none;
    color: inherit; /* Inherit the color from the parent */
}

.email-link a {
    display: none; /* Initially hide the email link */
}

.email-link:hover a {
    display: inline; /* Display the email link on hover of the container */
}

.email-link:hover h1 {
    display: none; /* Hide the "bye" text on hover of the container */
}

.email-link a:hover {
    color: #f0f0f0; /* Change text color on hover */
    background-color: #333; /* Change background color on hover */
    padding: 5px 10px; /* Add padding for better interaction */
    border-radius: 5px; /* Add rounded corners */
    transition: all 0.4s ease; /* Add smooth transition effect */
}

/* Media query for smartphones (adjust as needed) */
@media (max-width: 768px) {
      .email-link h1 {
        display: none; /* hide the email h1 on smartphones */
    }
  
    .email-link a {
        display: inline; /* Display the email link on smartphones */
        background-color: transparent; /* Remove background color on smartphones */
        padding: 0; /* Remove padding on smartphones */
        border-radius: 0; /* Remove rounded corners on smartphones */
        transition: none; /* Remove transition effect on smartphones */
    }
}
