@import "reset.css";

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font: 100%/1.5em "Helvetica Neue", "Helvetica", Arial, sans-serif;
}

#slides {
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    position: relative;
}
#slides > li {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
}

#intro {
    background: #FFF6B8; /* Light yellow background */
    text-align: center;
    padding-top: 10%;
}
#intro h1, #intro p {
    color: #403D2E; /* Dark brown color */
    font-size: 10em;
    font-weight: bold;
    letter-spacing: -0.05em;
    line-height: 2em;
    margin-top: -0.5em;
    text-transform: lowercase;

}
#contact .email {
    font-size: 5em;
    font-weight: bold;
    line-height: 1em;
    padding-left: 0.4em;
    margin-bottom: 20px; /* Adjust the value as needed */
}
#contact .social-links {
    list-style: none;
    padding: 2;
    padding-left: 2em;
    clear: left;
    margin-top: 20px; /* Adjust the value as needed */
}
#contact .social-links li {
    display: inline;
    font-size: 2em;
    line-height: 1.5em;
    margin-top: 20px;
}
#contact .social-links a {
    color: white;
    background-color: black;
    text-decoration: none;
    padding: 0.5em;
    text-transform: lowercase;
    display: inline; /* Adjust as needed */
}
#contact .social-links a:hover {
    background: #000;
    color: #fff;
}

/* Additional styles for other elements */
/* Your existing CSS */

/* ... Your current styles ... */

/* Responsive adjustments for different screen sizes */

/* For tablets */
@media screen and (max-width: 768px) {
    #intro h1, #intro p {
        font-size: 5em; /* Smaller font size */
        line-height: 1.2em;
    }

    #contact .email {
        font-size: 3em; /* Smaller font size */
    }

    #contact .social-links li {
        font-size: 1.5em; /* Smaller font size */
    }
}

/* For mobile phones */
@media screen and (max-width: 480px) {
    html, body {
        overflow: auto; /* Enable scrolling */
    }

    #slides > li {
        position: static; /* Adjust positioning for smaller screens */
    }

    #intro h1, #intro p {
        font-size: 3em; /* Even smaller font size */
        margin-top: 0;
        padding: 10px; /* Add padding */
    }

    #contact .email {
        font-size: 1.5em; /* Smaller font size for email */
        word-wrap: break-word; /* Wrap long email addresses */
        padding: 0 10px; /* Add padding on the sides */
        margin-bottom: 10px; /* Space between email and social links */
    }

    #contact .social-links {
        list-style: none;
        padding: 0 10px; /* Padding to align with the email address */
        margin: 0; /* Reset margin */
    }

    #contact .social-links li {
        display: inline; /* Keep social links inline */
        font-size: 1.5em; /* Adjust font size */
        line-height: 1.5em;
        margin-right: 5px; /* Margin to the right of each link */
    }

    #contact .social-links a {
        color: white;
        background-color: black;
        text-decoration: none;
        padding: 0.5em;
        text-transform: lowercase;
    }
/* Responsive adjustments for mobile phones */
@media screen and (max-width: 480px) {
    #contact .email {
        font-size: 1.5em; /* Smaller font size for email */
        overflow-wrap: break-word; /* Allows the words to break and wrap to the next line */
        padding: 0 10px; /* Add padding on the sides */
        margin-bottom: 10px; /* Space between email and social links */
    }

    #contact .social-links {
        list-style: none;
        padding: 0 10px; /* Padding to align with the email address */
        margin: 0; /* Reset margin */
    }

    #contact .social-links li {
        display: inline-block; /* Change to inline-block for better control */
        font-size: 1.5em; /* Adjust font size */
        line-height: 1.5em;
        margin: 5px 10px 5px 0; /* Adjust margin to better align */
        vertical-align: top; /* Align the items to the top */
    }

    #contact .social-links a {
        color: white;
        background-color: black;
        text-decoration: none;
        padding: 0.5em;
        text-transform: lowercase;
    }
}

/* For large tablets and small laptops */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    #intro h1, #intro p {
        font-size: 7em; /* Adjust font size */
        line-height: 1.4em;
    }

    #contact .email {
        font-size: 4em; /* Adjust font size */
    }

    #contact .social-links li {
        font-size: 2em; /* Adjust font size */
    }
}

/* For medium desktop screens */
@media screen and (min-width: 1025px) and (max-width: 1440px) {
    #intro h1, #intro p {
        font-size: 8em; /* Slightly larger font size */
        line-height: 1.6em;
    }

    #contact .email {
        font-size: 5em; /* Slightly larger font size */
    }

    #contact .social-links li {
        font-size: 2.5em; /* Slightly larger font size */
    }
}

/* High-DPI (Retina) Displays */
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi) {
    /* Styles for high-resolution screens */
    /* Example: Overriding background images with higher resolution versions */
    /* .element {
        background-image: url('path-to-high-res-image.png');
    } */
    /* Adjust other elements as needed */
}

/* Additional adjustments and optimizations as needed */
