/* styles/style.css */

body {
    background-color: black;
    font-family: sans-serif;
    color: white;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

h1 {
    padding-top: 30px;
}

h2 {
    margin-bottom: 60px;
}

a{
  color: white;
  text-decoration: none;
}

.proj{
  color: black;
  text-decoration: none;
}

.container {
    max-width: 1200px;
    width: 100%;
    padding: 20px;
}

.content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px; /* Space between button container and image */
}

.button-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.button-container button {
    display: block;
    width: 200px;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 6px;
    background-color: whitesmoke;
    border: 2px solid grey;
}

.button-container button:hover {
    background-color: darkgray;
}

.image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image img {
    width: 270px;
    height: 270px;
}

footer {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    font-size: 12px;
}

.dropdown-content {
    display: none; /* Hide dropdowns by default */
    position: absolute; /* Position dropdowns absolutely */
    right: -40px;
    margin-top: 540px;
    transform: translate(-50%, -50%); /* Center the dropdown precisely */
    width: 470px; /* Limit maximum width */
    height: 300px; /* Limit maximum height */
    overflow-y: auto; /* Enable vertical scrolling */
    padding: 20px; /* Increase padding for better readability */
    background-color: white;
    border: 1px solid #ccc;
    z-index: 10; 
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: black;
    text-align:left;
}

h3 {
    margin-top: 10px;
    color: black;
}

section {
    margin: 20px 0;
}

li {
  color: darkslategrey;
}

.icon-container {
    display: flex;
    justify-content: center;
    margin-left: 30px;
    gap: 10px; /* Increased gap for better spacing */
}

.icon {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon a {
    text-decoration: none;
    color: inherit;
}

.icon img {
    width: 80px; /* Adjusted size for better visibility */
    height: 40px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.icon img:hover {
    transform: scale(1.2); /* Increased scale for better effect */
}


/* Container for languages section */
.languages {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* Each language skill entry */
.language-skill {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: black;
}

/* Language name styling */
.language-name {
    width: 20%;  
    margin-left: 20px;
}

/* Language bar container */
.language-bar {
    width: 70%;
    background-color: white ;
    border-radius: 25px;
    border: 1px solid black;
    overflow: hidden;
    height: 10px;
}

/* Language level bar */
.language-level {
    height: 100%;
    background-color: black;
    border-radius: 24px;
    text-align: center;
    padding-right: 5px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact{
  padding-top: 120px
}
