* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: cursive;
    color: #333;
    position: relative;
    overflow-x: hidden;
}

.head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    background-color: white;
    border-bottom: 1px solid #ccc;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    max-height: 80px;
}

.logo {
    height: 75px;
    max-width: 100%; 
    object-fit: contain; 
}


.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    z-index: 1500; 
}

.bar {
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 4px 0;
    transition: 0.4s;
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -80%; 
    height: 100%;
    width: 45%;
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.3s ease;
    z-index: 1000;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.nav-menu.active {
    right: 0; 
}

.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu ul li {
    margin: 20px 0;
}

.nav-menu ul li a {
    text-decoration: none;
    color: #333;
    font-size: 1.5rem;
    padding: 10px;
    transition: color 0.3s;
}

.nav-menu ul li a:hover {
    color: #007bff;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 999;
    display: none; /
}

.overlay.active {
    display: block; 
}

.main-image {
    background: url('./img/le.png') no-repeat center center;
    background-size: cover; 
    height: 60vh; 
    margin-top: 60px; 
    width: 100%; 
    overflow: hidden; 
}

.about {
    padding: 100px 50px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 10px;
}

.comment {
    background-color: #d5e0ce;
    padding: 20px;
    border-radius: 15px;
    position: relative;
    max-width: 700px;
}

.comment:after {
    content: '';
    position: absolute;
    top: 50%;
    left: -20px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent #f0f0f0 transparent transparent;
    transform: translateY(-50%);
}

.comment span {
    font-family: cursive;
    margin: 0;
    font-size: 1.2rem;
    color: #333;
}

.link {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 50px;
    text-align: center;
}

.link div a {
    text-decoration: none;
    color: #333;
    font-size: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.link i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.link a:hover {
    color: #333;
}

.link a.instagram:hover {
    color: #E1306C;
}

.link a.github:hover {
    color: rgb(117, 109, 109);
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }

    .logo {
        height: 60px;
        max-width: 100%;
        object-fit: contain;
    }

    .about-icon-wrapper {
        width: 50px; 
        height: 50px;
        border-radius: 50%;
        overflow: hidden; 
        display: flex;
        justify-content: center;
        align-items: center;
        margin-right: 20px;
    }

    .about-icon {
        width: 30%; 
        height: 30%;
        object-fit: cover; 
    }

    .main-image {
        max-width: 100%;
        overflow: hidden;
    }

    .nav-menu {
        width: 45vw;
        right: -100vw;
    }

    .about {
        padding: 20px 10px;
        width: 76%; 
        margin: 0 auto;
        display: flex;
        flex-direction: row; 
        align-items: center; 
        text-align: left; 
    }

    .comment{
        margin-left: 1%;
    }

    .comment,
    .container {
        width: 100%;
        margin: 0 auto;
        padding: 10px;
    }

    .row {
        display: flex;
        justify-content: space-between;
        padding: 10px;
        border-bottom: 1px solid #ddd;
    }

    .link {
        flex-direction: column;
        gap: 20px;
    }
}

.container {
    width: 100%;
    max-width: 100vh;
    margin: 0 auto;
    margin-top: 30px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.row {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.label {
    font-weight: bold;
    margin-right: 10px;
}

.value {
    color: #333;
}

.pr {
    color: black;
}

.pr:visited {
    color: black;
}

.spec-container {
    padding: 20px;
    background-color: #fdfdfd;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 700px;
    font-family: 'Arial', sans-serif;
    margin-top: 100px;
}

.spec-container h1 {
    text-align: center;
    margin-bottom: 20px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    align-items: center;
}

.spec-category {
    font-weight: bold;
    color: #333;
    flex-basis: 30%;
    min-width: 120px; 
}

.spec-detail {
    flex: 1;
    text-align: left;
    color: #666;
}
.works {
    margin-top: 10%;
    padding: 50px 10%;
    background-color: #d5e0ce;
}

.works h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}

.work {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    padding: 20px;
}

.work-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 20px;
}

.work-description {
    flex-grow: 1;
}

.work-description h2 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: #333;
}

.work-description p {
    font-size: 1rem;
    color: #666;
}