body {
    background-image: url(bg_15.webp);
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    text-align: center;
    background-attachment: fixed;
    background-position: left;
}


header {
    background-color: #2c3e50;
    color: white;
    padding: 40px 0;
    font-size: 1.5em;

}


section {
    margin: 40px auto;
    padding: 20px;
    width: 80%;
    max-width: 800px;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.main {
    margin: 40px auto;
    padding: 20px;
    width: 80%;
    max-width: 800px;
    background: #2c3e50;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    color: whitesmoke;
}

.intro {
    color: whitesmoke;
}

h2 {
    color: #2c3e50;
}

/* Links */
.y {
    color: #2980b9;
    text-decoration: none;
    font-weight: bold;
}

.y:hover {
    text-decoration: underline;
}

.ID {
    width: auto;
    height: 300px;
    background-image: url('idpic.jpg');
    background-size: cover;
    background-position: center;
    transition: box-shadow 0.3s ease-in-out;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
}


.languages {
    display:flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.item {
    padding: 10px;
    border-radius: 8px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    font-weight: bold;
    
}


.item:hover {
    transform: scale(1.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: #2c3e50;
    color: white;
}

html {
    scroll-behavior: smooth;
}

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

/* burger css */
.off-screen-menu {
    height: 100vh;
    width: 100%;
    max-width: 450px;
    position: fixed;
    top: 0;
    right: -450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 3rem;
    transition: .3s ease;
    color: white;
}

.off-screen-menu.active {
    right: 0;
    background-color: whitesmoke;
}

nav {
    padding: 1rem;
    display: flex;
    background-color: whitesmoke;
}

.ham-menu {
    height: 60px;
    width: 50px;
    margin-left: auto;
  margin-right: 20px;
    position: relative;
    top: 20px;
    left: 20px;
    background-color: #2c3e50;
    padding: 15px;
    border: 2px solid #ccc;
    border-radius: 12px;
}

.ham-menu span {
    height: 6px;
    width: 100%;
    background-color: black;
    border-radius: 25px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: .3s ease;
}

.ham-menu span:nth-child(1) {
    top: 25%;
}

.ham-menu span:nth-child(3) {
    top: 75%;
}

.ham-menu.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.ham-menu.active span:nth-child(2) {
    opacity: 0;
}

.ham-menu.active span:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}