/* styles.css */
@import url(https://fonts.googleapis.com/css?family=Roboto:400,500);
@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css);

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    font-size: 1rem;
    line-height: 1.5;
    overflow-x: hidden; /* This prevents horizontal scrolling */
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

header {
    background-color: #f0f0f0; /* Grey background color */
    padding: 10px 0;
    text-align: center;
    width: 100%;
}

header h1 {
    margin: 0;
}

header p {
    margin: 0.5em 0 0;
}

section {
    padding: 2em;
    margin: 1em;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: 100%;
}

section h2 {
    margin-top: 0;
    text-align: center;
}

.burger {
    position: fixed;
    top: 10px; /* Adjust top position as needed */
    left: 1em; /* Adjust right position as needed */
    z-index: 1000; /* Ensure it's above other content */
}

.app-features {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 1em; /* Changed from margin: 1em 0; */
    text-align: center;
    padding: 2em;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: 100%;
}


.feature-caption {
  font-weight: 500;
  margin: 2rem 0 1rem;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
}

.feature-txt {
  color: #999;
  margin-bottom: 3rem;
  max-width: 300px;
}

.feature-item picture {
    display: flex;
    justify-content: center;
    width: 100%;
}

.feature-item img {
    max-width: 100%;
    max-height: 80vh; /* Limit height to 50% of the viewport height */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px;
}

.feature-item p {
    margin: 1em 0 0;
    flex: 1;
    min-width: 0; /* Prevent overflow */
}

footer {
    text-align: center;
    padding: 1em 0;
    background-color: #333;
    color: white;
    width: 100%;
}

footer p {
    margin: 0;
}

.skills-img {
  width: 50%;
  height: auto; /* Maintains aspect ratio */
}

.appleAppStore-img {
    transform: scale(1.2); /* Scales the image by 200% */
}


/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .feature-item {
        flex-direction: column;
    }

    .feature-item img {
        margin: 0 0 1em 0;
    }
}



/* DARK MODE */
@media (prefers-color-scheme: dark) {
  body {
    color: #ccc; /* Text color for dark mode */
    /* background-color: #333; */
    background-color: rgba(30, 30, 30, 1);
  }

  header, footer {
    background-color: rgba(30, 30, 30, 1);
  }

  .feature-item {
    background-color: #333;
    /* background-color: rgba(30, 30, 30, 1); */
  }
}
