@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;700&family=Poppins:wght@500;600;700&display=swap');

html{
    scroll-behavior: smooth;
}

body {
    width: 80%;
    margin: 10px auto;

    font-family: 'IBM Plex Mono', monospace;
}

nav {
    width: 100%;
    margin: 0 auto;

    display: flex;
    justify-items: center;
    align-items: center;
}

.navbar span {
    display: none;
}

.brand {
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;

    overflow: visible;
}

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

.brand img{
    width: 70px;
    height: 20px;
    margin: 0;
}

ul {
    width: 65%;
    padding-left: 0;
    
    display: flex;
    justify-content: flex-end;
    gap: 50px;
}

ul li {
    list-style: none;
}

ul li a {
    color: #000;
    text-decoration: none;
}

ul li a:hover {
    font-weight: 600;
}

.button-chat {
    width: 20%;

    display: flex;
    justify-content: flex-end;
}

.label-chat {
    width: 130px;
    height: 30px;

    font-weight: 600;

    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 7px;
    border: 2px solid #000;
    
    
    /* border: 5px solid #000; */
}

.label-chat:hover {
    background: #000;
    color: aliceblue;
}

.dropdown, dropdown > a{
    display: none;
}

/* modal setting */
.modal {
    display: none;
    justify-content: end;

    position: fixed;
    z-index: 3;
    top: 0;
    right: 0;

    width: 100%;
    height: 100%;

    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0, 0, 0, 0.5);

}

.modal-content {
    display: flex;
    flex-direction: column;
    width: 150px;
    height: 100%;

    background-color: #fefefe;
    border: 1px solid #888; 
    padding: 30px;

    gap: 10px;
}

.modal-content a {
    text-decoration: none;
    color: #000;

    padding: 10px;
}

.modal-content a:nth-child(5) {
    border: 3px solid #888;

    text-align: center;

    font-weight: 800;
}

.modal-content a:hover {
    background-color: rgb(0,0,0);
    background-color: rgba(0, 0, 0, 0.5);

    color: #fff;
}

.modal-content i {
    text-align: end;
}

#myBtn-Modal:hover {
    cursor: pointer;
}

#close:hover {
    cursor: pointer;
}

@media screen and (max-width: 1024px) {
    nav{
        justify-content: space-between;
        align-items: center;
    }

    .navbar span {
        display: flex;
    }

    .brand{
        justify-content: start;
    }

    .hide {
        display: none;
    }

    .nav-link {
        font-size: 13px;
    }

    .label-chat {
        display: inline-flex;
        text-align: center;

        line-height: 13px;

        font-size: 13px;
    }

    .dropdown{
        /* width: 60px; */
        display: block;
        position: relative;

        margin-right: 10px;
    }

    .dropdown-content > ul > li:nth-child(1){
        margin-top: 10px;
    }
   
    .dropdown:hover a{
        color: #fff;
    }
    
    .dropdown:hover, .dropdown:hover ul{
        background-color: #000;
    }
    
    .dropdown:hover a, dropdown:hover .dropdown-content a{
        background-color: #000;
        color: #fff;
        display: block;
    }

    .dropdown-content{
        width: 100%;
    }
    
    .dropdown-content ul{
        display: block;
        margin: 0 0;

        position: absolute;
        z-index: 2;
    }

    .dropdown-content a{
        display: none;
    }
}


/* main */
.hero {
    display: flex;
    margin: 50px auto;

}

.left, .right {
    width: calc(100%/2);
    z-index: 1;
}

.left {
    display: flex;
    justify-content: center;

    margin-right: 20px;
}

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

.right {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.right p {
    margin-top: 20px;

    font-weight: 400;
}

.title, .content {
    margin: 0;
    font-family: 'IBM Plex Mono', monospace;
}

.content {
    width: 100%;
    margin-top: 10px;
}

.main-bg img {
    position: absolute;
    right: 0;
    z-index: 0;
}

@media screen and (max-width: 1024px) {
    .hero {
        flex-direction: column;
        align-items: center;
    }
    .right {
        width: 100%;
        margin-top: 20px;
    }
    .left{
        margin-right: 0;
    }
}

/* skills */
.skils {

    display: flex;
    justify-content: center;

    flex-wrap: wrap;

    gap: 15px;

}

.skil-container {
    width: 156px;
    height: 50px;

    font-weight: 600;

    display: flex;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;

    border-radius: 10px;
    box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.25);

    z-index: 3;
}

.skil-container img {
    width: 30px;
    height: 30px;

    margin-left: 10px;
}

@media screen and (max-width: 390px) {
    .skil-container{
        width: 50px;
    }
    .skil-container p{
        display: none;
    }

}
/* service-section */
.services{
    margin-top: 80px;

    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
}

.title-services{
    margin-bottom: 50px;
}

.service-section {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;

    gap: 30px;
    flex-wrap: wrap;
}

.service-right, .service-left {
    width: 250px;
    height: 250px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.img-services {
    width: 150px;
    height: 160px;
    border-radius: 10px;
    box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.25);
    padding: 20px 20px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.img-services img {
    width: 100px;
    transition: all 0.3s;
}

.service-section p {
    font-size: 1rem;
    font-weight: 600;
}

/* hover services */
.service-section div:hover {
    .img-services img{
        width: 150px;
    }
}

/* footer */
footer {
    display: flex;
    justify-content: center;

    margin-top: 50px;
    margin-bottom: 15px;
}

footer p {
    font-size: 0.7rem;
    font-weight: 400;
}
