/* Basic reset for consistent styling */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    height: -webkit-fill-available;
    overflow: hidden; /* Prevent scrolling */
    font-family: Arial, sans-serif;
}

.svg-container {
  width: 40px;
}

a {
  text-decoration: none;
}

svg {
  max-width: 100%;
  color: #fff;
}

/* Fixed Header Styling */
.fixed-header {
    /* position: fixed; */
    top: 0;
    left: 0;
    width: 100%; /* Full width across both sections */
    background-color: #333; /* Dark background */
    color: #fff; /* White text */
    text-align: center;
    padding: 10px 0;
    z-index: 1000; /* Ensure it stays on top */
    font-size: 24px;
    font-weight: bold;
    line-height: 24px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Add shadow for a subtle effect */
}


/* Adjust the container to account for the fixed header */
.container {
    display: flex; /* Use flexbox */
    width: 100vw;
    height: calc(100vh - 169px); /* Subtract header height */
    margin-top: 0px;
}

/* Split screen styling */
.split {
    flex: 1; /* Each side takes up 50% */
    display: flex;
    flex-direction: column; /* Stack content vertically */
    justify-content: center; /* Center items vertically */
    align-items: center; /* Center items horizontally */
    transition: flex 0.5s ease-in-out, background-color 0.5s ease;
    text-align: center; /* Center text */
    padding: 20px;
  cursor: pointer;
}

/* SVG Icon Styling */
.icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px; /* Spacing between icon and heading */
}

/* Left side styling */
.split.left {
    background-color: #3498db; /* Blue color */
}

/* Right side styling */
.split.right {
    background-color: #DC143C; /* Red color */
}

/* Hover effect */
.split:hover {
    flex: 2; /* Expand hovered section */
}

/* Text styling */
.split h1 {
    margin: 0; /* Remove default margin */
    padding: 0;
  color: #fff;
}

.split p {
    margin: 20px 0 0 0; /* Add margin to separate the paragraph */
    padding: 0;
    color: #ffffff;
}

a svg {
    fill: #fff;
    transition: 0.5s ease;
}

a svg:hover {
    transform: scale(1.2);
}

.bi-envelope:hover {
    fill: #3498db;
}

.bi-github:hover {
    fill: #DC143C;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .container {
        flex-direction: column; /* Stack vertically */
        margin-top: 0px;
    }

    .icon {
        width: 60px; /* Reduce icon size for mobile */
        height: 60px;
    }

    .fixed-header {
        font-size: 20px;
    }

    .container {
        height: calc(100vh - 150px); /* Subtract header height */
    }
    @supports (height: 100svh) {

     .container {
          height: calc(100svh - 150px);
     }

}
}
