* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: #2b2b2b;
}

/* ----------------------------------------- */


#home {
    width: 100%;
    background: linear-gradient(rgba(255,255,255,0.6), rgba(255,255,255,0.6)), url(../img/background.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: relative;
}

#home .container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    padding-top: 25vh; 
}

#home > .container > .center-wrap {
    text-align: center;
}

#home > .container > .center-wrap > h1 {
    font-size: 150px;
    font-weight: bold;
    color: #2b2b2b;
    text-align: left;
    line-height: 1.1;
    margin-top: 100px;
}

@media screen and (max-width: 768px) {
    #home {
        margin-top: 150px;
    }
    #home > .container > .center-wrap > h1 {
        font-size: 60px;
        margin-top: 70px;
        padding: 0 20px;
        text-align: center center;
    }
}


/* ----------------------------------------- */


/* header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    position: relative;
    background-color: #2b2b2b;
}

.navbar_logo > img {
    height: 40px;
}

.navbar_menu {
    display: flex;
    gap: 20px;
    list-style: none;
}

.navbar_menu > li > a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    padding: 8px 12px;
}

.navbar_menu > li:hover a {
    font-weight: bold;
}

.navbar_btn {
    display: none;
}

@media screen and (max-width: 768px) {
    .navbar_menu {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        background: #2b2b2b;
        position: absolute;
        top: 60px;
        left: 0;
        margin-top: 16px;
        padding: 16px 0;
    }

    .navbar_menu.active {
        display: flex;
    }

    .navbar_menu > li {
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }
  
    .navbar_menu > li:hover {
        background-color: rgba(224, 224, 224, 0.5);
    }
        
    .navbar_menu > li > a {
        display: block;
        width: 100%;
        height: 100%;
    }

    .navbar_btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 32px;
        cursor: pointer;
    }
}


/* ----------------------------------------- */


/* section - About Me */
#aboutme {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 130px;
    margin-bottom: 80px;
}

#aboutme > .profile-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    height: 570px;
    position: relative;
}

#aboutme > .profile-section > .content1-left {
    position: relative;
    width: 700px;
    height: 500px;
}

#aboutme > .profile-section > .content1-left > h1 {
    position: absolute;
    top: -110px;
    left: 50px;
    font-size: 65px;
    font-weight: bold;
    color: #2b2b2b;
    letter-spacing: 1px;
    margin-top: 40px;
}

#aboutme > .profile-section > .content1-left > .about_bg {
    position: absolute;
    top: 33px;
    right: 55px;
    width: 700px;
    height: 400px;
    background-color: rgba(199, 199, 199, 0.3);
    z-index: 1;
}

#aboutme > .profile-section > .content1-left > .img{
    position: absolute;
    top: 55px;
    left: 135px;
    z-index: 2;
}

#aboutme > .profile-section > .content1-right {
    width: 500px;
    height: auto;
}

#aboutme > .profile-section > .content1-right > .profile > .clearfix > .info-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#aboutme > .profile-section > .content1-right > .profile > .clearfix > .info-list > .info-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

#aboutme > .profile-section > .content1-right > .profile > .clearfix > .info-list > .info-row > dt {
    width: 140px; 
    font-weight: bold;
    flex-shrink: 0;
}

#aboutme > .profile-section > .content1-right > .profile > .clearfix > .info-list > .info-row > dd {
    margin: 0;
    flex: 1;
}

#aboutme > .profile-section > .content1-right > .profile > .clearfix > .info-list > .info-row > dd > a {
    text-decoration: none;
    color: #2b2b2b;
}

#aboutme > .profile-section > .content1-right > .profile > .clearfix > .info-list > .info-row > dd > a:hover {
    color: #aaa;
}



/* 자격증란 */
#aboutme > .certifide {
    clear: both;
    padding : 100px 200px 0 200px;
    text-align: center;
    margin-bottom: 100px;
}

#aboutme > .certifide > h2 {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

#aboutme > .certifide > .year-tabs {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 60px;
    font-size: 15px;
    color: #aaa;
}

#aboutme > .certifide > .year-tabs span {
    color: #aaa;
    position: relative;
    cursor: pointer;
    transition: color 0.3s ease;
}

#aboutme > .certifide > .year-tabs span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 100%;
    background-color: #2b2b2b;
    transform: scaleX(0);
    transform-origin: bottom left;
    transition: color 0.3 ease;
}

#aboutme > .certifide > .year-tabs span:hover {
    color: #2b2b2b;
}

#aboutme > .certifide > .year-tabs span:hover::after {
    transform: scaleX(1);
}

#aboutme > .certifide > .year-tabs span.active {
    color: #2b2b2b;
}
  
#aboutme > .certifide > .year-tabs span.active::after {
    transform: scaleX(1);
}

#aboutme > .certifide > .cert-list {
    display: none;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#aboutme > .certifide > .cert-list.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

#aboutme > .certifide > .cert-list > .cert-card {
    text-align: center;
    width: 150px;
}

#aboutme > .certifide > .cert-list > .cert-card > img {
    height: 30px;
    margin-bottom: 10px;
}

#aboutme > .certifide > .cert-list > .cert-card > .title {
    font-weight: bold;
    margin-bottom: 5px;
    line-height: 1.5;
}

#aboutme > .certifide > .cert-list > .cert-card > #none {
    margin-top: 21px;
}

#aboutme > .certifide > .cert-list > .cert-card > .date {
    font-size: 0.9em;
    color: #aaa;
}



@media screen and (max-width: 768px) {
    #aboutme {
        height: auto;
        margin-top: 90px;
        padding: 20px;
    }

    #aboutme > .profile-section {
        height: 700px;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 100px;
        margin-top: 100px;
    }

    #aboutme > .profile-section > .content1-left,
    #aboutme > .profile-section > .content1-right {
        float: none;
        position: static;
        width: 100%;
        margin: 0 auto;
    }

    #aboutme > .profile-section > .content1-left > h1 {
        position: static;
        margin: 0 auto 20px;
        font-size: 40px;
        text-align: center;
    }

    #aboutme > .profile-section > .content1-left > .img {
        position: static;
        margin: 0 auto 20px;
        text-align: center;
        display: block;
    }

    #aboutme > .profile-section > .content1-left > .about_bg {
        position: static;
        width: 100%;
        height: auto;
        margin-top: 20px;
        background-color: rgba(199, 199, 199, 0.3);
    }

    #aboutme > .profile-section > .content1-right {
        width: 100%;
        padding: 20px;
        height: auto;
    }

    #aboutme > .profile-section > .content1-right > .profile > .clearfix > .info-list {
        gap: 20px;
    }

    #aboutme > .profile-section > .content1-right > .profile > .clearfix > .info-list > .info-row {
        flex-direction: column;
        gap: 5px;
        margin-bottom: 15px;
    }

    #aboutme > .profile-section > .content1-right > .profile > .clearfix > .info-list > .info-row > dt {
        width: 100%;
    }

    #aboutme > .profile-section > .content1-right > .profile > .clearfix > .info-list > .info-row > dd {
        width: 100%;
    }

    /* --------------------------------------- */

    #aboutme > .certifide {
        padding: 150px 20px 0 20px;
        margin-top: 120px;
    }
    
    #aboutme > .certifide > h2 {
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    #aboutme > .certifide > .year-tabs {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin-bottom: 40px;
        font-size: 14px;
    }
    
    #aboutme > .certifide > .cert-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    #aboutme > .certifide > .cert-list > .cert-card {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    #aboutme > .certifide > .cert-list > .cert-card > img {
        height: 24px;
    }
    
    #aboutme > .certifide > .cert-list > .cert-card > .title {
        font-size: 16px;
    }
    
    #aboutme > .certifide > .cert-list > .cert-card > .date {
        font-size: 0.85em;
    }
}


/* ----------------------------------------------------- */

/* work */
#work {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 130px;
    margin-bottom: 80px;
}

#work > .container > .assignment {
    height: auto;
    width: auto;
    margin: 0 200px;
    background-color: rgba(240, 240, 240, 0.8);
    border-radius: 20px;
    margin-bottom: 100px;
}

#work > .container > .assignment > .header {
    text-align: center;
    padding: 15px 0;
    margin-bottom: 20px;
    background-color: #2b2b2b;
    border-radius: 20px 20px 0 0;
}

#work > .container > .assignment > .header h2 {
    color: white;
}

#work > .container > .assignment > .content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    flex-wrap: wrap;
}

#work > .container > .assignment > .content > .content2-left, .content2-right {
    background-color: #ffffff;
    border: 2px solid #bcbcbc;
    border-radius: 15px;
    padding: 20px;
    width: 45%;
    text-align: center;
    transition: transform 0.2s;
}

#work > .container > .assignment > .content > .content2-left h3, .content2-right h3 {
    margin-bottom: 10px;
}

#work > .container > .assignment > .content > .content2-left p, .content2-right p {
    color: #aaa;
    margin-bottom: 15px;
}
  
#work > .container > .assignment > .content > .content2-left img, .content2-right img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#work > .container > .assignment > .content > .content2-left img:hover, .content2-right img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}


#work > .container > .secon {
    height: auto;
    width: auto;
    margin: 0 200px;
    padding-bottom: 15px;
    background-color: rgba(240, 240, 240, 0.8);
    border-radius: 20px;
}

#work > .container > .secon > .header {
    text-align: center;
    padding: 15px 0;
    margin-bottom: 20px;
    background-color: #2b2b2b;
    border-radius: 20px 20px 0 0;
}

#work > .container > .secon > .header h2 {
    color: white;
}

#work > .container > .secon > .secon-box > .box-item > .clearfix > .info-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 50px;
    padding-bottom: 30px;
}

#work > .container > .secon > .secon-box > .box-item > .clearfix > .info-list > .info-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

#work > .container > .secon > .secon-box > .box-item > .clearfix > .info-list > .info-row > dt {
    width: 140px; 
    font-weight: bold;
    flex-shrink: 0;
}

#work > .container > .secon > .secon-box > .box-item > .clearfix > .info-list > .info-row > dd {
    margin: 0;
    flex: 1;
}

#work > .container > .secon > .mini-header {
    text-align: center;
    padding: 15px 0;
    margin-bottom: 20px;
    background-color: #2b2b2b;
}

#work > .container > .secon > .mini-header h2 {
    color: white;
}

#work > .container > .secon > .booth-box > .company {
    margin: 40px;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
}
  
#work > .container > .secon > .booth-box > .company > .title {
    padding: 1rem;
    cursor: pointer;
    background-color: #7d7d7d;
    font-weight: bold;
}

#work > .container > .secon > .booth-box > .company > .title > h3 {
    color: white;
    font-weight: bold;
}
  
#work > .container > .secon > .booth-box > .company > .content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 2rem;
    transition: max-height 0.5s ease, opacity 0.4s ease, padding 0.3s ease;
}

#work > .container > .secon > .booth-box > .company > .content > .box-item > .clearfix > .info-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 50px;
    padding-bottom: 10px;
}

#work > .container > .secon > .booth-box > .company > .content > .box-item > .clearfix > .info-list > .info-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

#work > .container > .secon > .booth-box > .company > .content > .box-item > .clearfix > .info-list > .info-row > dt {
    width: 140px; 
    font-weight: bold;
    flex-shrink: 0;
}


#work > .container > .secon > .booth-box > .company > .content > .box-item > .clearfix > .info-list > .info-row > dd {
    margin: 0;
    flex: 1;
}

#work > .container > .secon > .booth-box > .company > .content > .box-item > .clearfix > .info-list > .info-row > dd > p {
    font-weight: bold;
}

#work > .container > .secon > .booth-box > .company > .content > .box-item > .clearfix > .info-list > .info-row > dd > a {
    color: #000;
    text-decoration: none;
}

#work > .container > .secon > .booth-box > .company > .content > .box-item > .clearfix > .info-list > .info-row > dd > a:hover {
    color: #7d7d7d;
}

#work > .container > .secon > .booth-box > .company > .content.show {
    opacity: 1;
    padding: 2rem;
    background-color: white;
}
  
#work > .container > .secon > .booth-box > .company > .content.show > p {
    margin-bottom: 5px;
}
  
#work > .container > .secon > .write > p {
    margin: 0 50px;
    padding: 15px;
}


@media screen and (max-width: 768px) {
    #work {
        margin-top: 150px;
        margin-bottom: 100px;
        padding: 0 40px;
    }

    #work > img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    #work > .container > .assignment,
    #work > .container > .secon {
        margin: 0;
        padding: 0 20px;
        padding: 20px;
        border-radius: 10px;
    }

    #work > .container > .assignment {
        margin-bottom: 50px;
    }

    #work > .container > .assignment > .content {
        padding: 10px;
    }

    #work > .container > .assignment > .content > .content2-left, .content2-right {
        width: 100%;
        padding: 10px;
    }

    #work > .container > .secon > .secon-box > .box-item > .clearfix > .info-list,
    #work > .container > .secon > .booth-box > .company > .content > .box-item > .clearfix > .info-list {
        margin: 20px;
    }

    #work > .container > .secon > .secon-box > .box-item > .clearfix > .info-list > .info-row,
    #work > .container > .secon > .booth-box > .company > .content > .box-item > .clearfix > .info-list > .info-row {
        flex-direction: column;
        gap: 5px;
        margin-bottom: 20px;
    }

    #work > .container > .secon > .booth-box > .company {
        margin: 20px 0;
    }

    #work > .container > .secon > .write > p {
        margin: 0;
        padding: 15px;
    }
}


/* ----------------------------------------------------- */


#team {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 130px;
    margin-bottom: 30px;
}

#team > h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 10px;
}
  
#team > p {
    color: #666;
    text-align: center;
    margin-bottom: 10px;
}

#team > p > a {
    text-decoration: none;
}

#team > .team {
    margin-bottom: 40px;
}

#team > .team:hover {
    font-weight: bold;
}
  
#team > .team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding-bottom: 100px;
}
  
#team > .team-container > .team-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 250px;
    padding: 20px;
    transition: transform 0.3s ease;
  }
  
#team > .team-container > .team-card:hover {
    transform: translateY(-5px);
}

#team > .team-container > .team-card > img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: block;
}
  
#team > .team-container > .team-card > h3 {
    margin: 10px 0 5px;
  }
  
#team > .team-container > .team-card > .position {
    color: #2b2b2b;
    font-weight: bold;
    margin-bottom: 10px;
}

#team > .team-container > .team-card > a {
    text-decoration: none;
}
  


/* ----------------------------------------------------- */


/* footer */
footer {
    height: 70px;
    background-color: #2b2b2b;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

footer > p {
    color: white;
    margin: 0; 
    font-size: small;
}

@media screen and (max-width: 768px) {
    footer {
        height: auto;
        padding: 16px 10px;
    }

    footer > p {
        font-size: 10px;
        line-height: 1.4;
    }
}