@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Inter:200,300,400,500,600,700,800,900&display=swap');

*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Poppins', consolas, sans-serif;
    scroll-behavior: smooth;
}

:root{
    --black: #2C3333;
    --black2: #4F5C5C;
    --white: #fff;
    --white2: #fff;
    --blue:#30E3CA;
    --blue2: #11999E;
}
::-webkit-scrollbar {
    width: 10px;
    background-color: var(--black);
  }
  ::-webkit-scrollbar-thumb {
    background-color: var(--blue2);
    border-radius: 10px;
  }
/* body{
    scrollbar-width: none;
    overflow: -moz-scrollbars-none;
    -ms-overflow-style: none;
} */
a{
    text-decoration: none;
    color: var(--blue2);
}
a:hover{
    color: var(--blue);
}
.diamond_arrow_down{
    position: absolute;
    bottom: 10px;
}
.diamond_arrow_up{
    position: absolute;
    bottom: 20px;
    right: 30px;
}
.diamond_arrow_up img{
    transform: rotate(180deg);
}

.diamond_line{
    
    position: relative;
    /*left: 35%;*/
    width: 30%;
    height: 1px;
    background: var(--black);
    margin-bottom: 30px;
}
.diamond_line::after,
.diamond_line::before{
    content: '';
    position: absolute;
    bottom: -2px;
    transform: rotate(45deg);
    width: 5px;
    height: 5px;
    background: var(--black);
}
.diamond_line::after{
    left: 0;
}
.diamond_line::before{
    right: 0;
}

.backgroud_dark{
    background-color: var(--black);
}
.backgroud_dark .title{
    color: var(--white);
}

.backgroud_dark .diamond_line{
    background-color: var(--white);
}

.backgroud_dark .diamond_line::after,
.backgroud_dark .diamond_line::before{
    background:var(--white);
}
.diamond_line_section{
    background-color: var(--black);
    position: relative;
    height: 5px;
    padding-left: 15%;
}
.diamond_line_section .diamond_line{
    width: 85%;
    background-color: var(--blue);
}
.diamond_line_section .diamond_line::after,
.diamond_line_section .diamond_line::before{
    background-color: var(--blue);
}
body{
    overflow-x: hidden;
    position: relative;
}
.container{
    position: relative;
    width: 100%;
    
}
.navigation{
    position: fixed;
    width: 300px;
    height: 100%;
    border-right: 1px solid rgba(0,0,0,0.05);
    background:  var(--white2);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: width 0.5s, left 0.5s; 
}
.navigation.active{
    width: 0;
}
.navigation ul{
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
}
.navigation ul li{
    position: relative;
    width: 100%;
    list-style: none;
}
.navigation ul li a{
    position: relative;
    display: block;
    width: 100%;
    margin: 10px 0;
    white-space: normal;
    display: flex;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    letter-spacing: 2px;
    opacity: 0.5;
}
.navigation ul li a:hover{
    opacity: 1;
}
                    
.themeSwitch{
    position: absolute;
    bottom: 20px;
    left: 40px;
    width: 30px;
    height: 30px;
    background: var(--black);
    cursor:pointer;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.themeSwitch::before{
    content: '\f186';
    font-family: fontAwesome;
    color: var(--white);
}
.themeSwitch::after{
    content: 'Switch to dark mode';
    position: absolute;
    left: 40px;
    font-size: 0.7em;
    color: var(--black);
    white-space: nowrap;
}

.main{
    position: absolute;
    width: calc(100% - 300px);
    left: 300px;
    background: var(--white);
    min-height: 100vh;
    transition: width 0.5s, left 0.5s;
}
.main.active{
    width: calc(100% - 0px);
    left: 0px;
}
.main .topbar{
    position: fixed;
    top: 0;
    width: calc(100% - 300px);    
    left: 300px;
    background: var(--white2);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    height: 60px;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
    transition: width 0.5s, left 0.5s;
}
.main .topbar.active{
    width: calc(100% - 0px);    
    left: 0px;    
}
.main .topbar .logo{
    color: var(--black);
    font-weight: 700;
    text-decoration: none;
    font-size: 1.4em;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.main .topbar .toggle{
    position: relative;
    width: 60px;
    height: 60px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: var(--black);
    
}

section{
    position: relative;
    min-height: 100vh;
}

/* Home */

.banner{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}
.banner .content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.banner .imgBx,.contact .imgBx{
    position: relative;
    width: 300px;
    height: 300px;
    overflow: hidden;
    border-radius: 50%;
    margin-bottom: 20px;
}
.contact .imgBx.imgBx_contact{
    width: 186px;
    height: 186px;
}
.imgBx img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
h3{
    position: relative;
    font-size: 1.4em;
    color: var(--black);
    letter-spacing: 2px;
    text-transform: uppercase;
}
p{
    color: #777;
}
.btn{
    position: relative;
    display: inline-block;
    padding: 10px 30px;
    background: var(--black2);
    color: #fff;
    font-weight: 400;
    letter-spacing: 1px;
    margin-top: 10px;
    text-decoration: none;
}
.socialMedia{
    position: absolute;
    bottom: 70px;
    display: flex;
    
}
.socialMedia li{
    list-style: none;
}
.socialMedia li a{
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0, 0.05);
    margin: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--black);
    font-size: 1.2em;
}
.socialMedia li a:hover{
    background: var(--black2);
    color: #fff;
}

/* About */

.about{
    color: var(--white);
    display: inline-block;
    width: 100%;
    min-height: 400px;
}
.adjust {
    position: relative;
    padding: 80px 40px 50px;
    width: 100%;
    
}
.title{
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.title h2{
    width: auto;
    position: relative;
    letter-spacing: 2px;
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 30px;
}
.title h2 b{
    color: var(--blue);
}
/*
.title h2::after,
.title h2::before{
    content: '';
    position: absolute;
    bottom: -3px;
    transform: rotate(45deg);
    width: 5px;
    height: 5px;
    background: #fff;
}
.title h2::after{
    left: 0;
}
.title h2::before{
    right: 0;
}
*/


.about .content{
    display: flex;
    justify-content: center;
    align-items: baseline;
    flex-direction: row;
    margin-top: 10px;

    flex-grow: 1;
}
.about .content h2{
    font-weight: 600;
    margin-bottom: 15px;
}
.about .content .textBox{
    width: 49%;
    min-width: 400px;
    max-width: 600px;

}
.about .content .textBox p{
    color: var(--white);
}
.about .content .skillBox{
    margin-left: 40px;
    display: flex;
    flex-direction: column;
    max-width: 600px;
}
.about .content .skillBox h2{
    margin-left: 5px;
}
.about .content .skillBox .skills{
    list-style: none;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;


}
.about .content .skillBox .skills li{
    padding: 8px 10px;
    margin: 5px;
    
    background: var(--blue2 );
    border: 1px solid var(--blue);
    font-size: 1.2em;
    font-weight: 400;
    letter-spacing: 1.5px;
    cursor: default;

}

.services{
    min-height: 50vh;
    padding-bottom: 100px;
}

.services .content{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-gap: 20px;
    margin: 40px 0;
}
.services .content .serviceBox{
    border: 1px solid rgba(0,0,0, 0.05);
    padding: 50px 20px;
    display: flex;
    background: var(--black2);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.services .content .serviceBox img{
    max-width: 50px;
    -webkit-filter: invert(100%); /* Safari/Chrome */
    filter: invert(100%);
}
.services .content .serviceBox h2{
    font-size: 1.1em;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.services .content .serviceBox p{
    text-align: center;
    color: var(--white2);
}

.project .diamond_line{
    background-color: #2C3333;
}

.project .diamond_line::after,
.project .diamond_line::before{
    background: #2C3333;
}
.project .content{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-gap: 20px;
    margin: 40px 0;
}
.project .content .workBx{
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}
.project .content .workBx .imgBx{
    position: relative;
    width: 100%;
    height: 100%;
    transform: translateY(0);
    transition: 0.5s ease-in-out;
}
.project .content .workBx:hover .imgBx{
    transform: translateY(-100%);
}
.project .content .workBx .imgBx img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.project .content .workBx .textBx{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(100%);
    transition: 0.5s ease-in-out;  
}
.project .content .workBx:hover .textBx{
    transform: translateY(0);
}

.project .content .workBx .textBx h3{
    color: var(--white);
    font-size: 1em;
    padding: 10px;
}
.project .content .workBx .textBx p{
    position: absolute;
    left: 20px;
} 
.project .content .workBx .textBx p.category{
    top: 20px;
} 
.project .content .workBx .textBx p.tags{
    bottom: 30px;
}

.contact{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    min-height: 50vh;
}
.contact p, .contact h2, .contact a{
    color: var(--white);
}
.contact p{
    font-size: 1.15em;

}

.contact .content{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-columns: 200px auto 40%;
    grid-gap: 20px;
    margin: 40px 0;
    line-height: 190%;
}
.contact .content .div{
    margin-right: 50px;
}

/* .contact .contactForm .row{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-gap: 20px;
    margin-top: 20px;
}
.contact .contactForm .row2{    
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}
.contact .contactForm .row input,
.contact .contactForm .row2 textarea{
    width: 100%;   
    padding: 10px;
    border: none;
    outline:  none;
    color: var(--white);
    background: var(--black2);
    font-size: 16px;
    border: 1px solid rgba(0,0,0, 0.1);
}
.contact .contactForm .row input::placeholder,
.contact .contactForm .row2 textarea::placeholder{
    color: var(--white);
    opacity: 0.6;
}
.contact .contactForm .row2 textarea{
    resize: none;
    height: 200px;
}
.contact .contactForm .row2 input[type="submit"]{
    background: var(--blue2);
    color: #fff;
    padding: 10px 30px;
    display: inline-block;
    font-weight: 500;
    letter-spacing: 2px;
    cursor: pointer;
    font-size: 16px;
    text-transform: uppercase;
    max-width: 150px;
    border: none;
} */

.modal_box{
    position: relative;
    background: #F8FFFE;
    padding: 50px 80px;
}

.modal_header{
    position: relative;
    display: flex;
    margin-bottom: 25px;
}
.modal_box .btn_back{
    text-decoration: none;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    letter-spacing: 2px;
    opacity: 0.5;
    font-size: 0.8em;
}
.modal_box .diamond_line{
    position: absolute;
    width: 200px;
    left: calc(50% - 50px);
    top: 8px;
}
.modal_box .pj_title{
    margin-bottom: 50px;
}
.modal_box h3{
    margin: 35px 0 25px;
}
.modal_box .example_row{
    display: grid;
    margin-bottom: 80px;
    column-gap: 50px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
}

.modal_box .example_row.pc_mob{
    display: grid;
    grid-template-columns: 4fr 1fr;
}


.modal_box .pj_grid1{
    grid-template-columns: 1fr;
}
.figma_ratio{
    aspect-ratio: 10/7.4;
}
.modal_box .example_row .interface{
    height: 100%;
}
.modal_box .example_row .interface img{
    height: 100%;
    object-fit: cover;
    background-color: #fff;
    
}
.modal_box .example_row .browser img{
    width: 100%;
}

.submit_mssg{
    width: 100%;
    min-height: 50vh;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--black2);
    bottom:60px;
    visibility: hidden;
}
.submit_mssg.active{
    visibility: visible;
}

/* response */

@media (max-width: 992px) {
    p{
        font-size: 1.02em;
    }
    .navigation{
        left:-100%;
        height: 100vh;
    }
    .navigation.active{
        left:0;
        width: 100%;
    }
    .main{
        width: 100%;
        left: 0;
    }
    .main.active{
        left: 100%;
    }
    .main .topbar{
        width: 100%;
        left: 0;
        padding: 0 20px;
    }
    .navigation ul{
        padding: 20px 50px;
    }
    .navigation ul li a{
        font-size: 1.2em;
        padding: 10px 0;
        margin: 5px 0;
    }
    .diamond_line{
        margin-bottom: 15px;
    }
    .title h2{
        margin-bottom: 20px;
    }
    .banner .imgBx{
        width: 250px;
        height: 250px;
    }
    .banner h3,
    .banner p{
        text-align: center;
    }
    .adjust{
        /* padding: 20px 20px; */
    }
    .adjust .content{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .about .content .skillBox{
        margin-left: 0;
    }
    .about .content .skillBox h2{
        margin: 10px 0;
    }
    .about .content .textBox{
        width: 100%;
        min-width: 100%;
    }
    .contact .contactForm .row{
        display: flex;
        flex-direction: column;
    }
    .project .content{
        display: grid;
        grid-template-columns: repeat(2,1fr);
    }
    .modal_box h3{
        font-size: 2.5em;
    }
    .modal_box p{
        font-size: 2em;

    }
    .modal_box .btn_back{
        letter-spacing: 2px;
        font-size: 1.4em;
        padding: 15px 5px;

    }

}

@media (max-width: 769px) {
    .project .content{
        display: grid;
        grid-template-columns: repeat(1,1fr);
    }
    
    .project .content .workBx .imgBx{
        transform: translateY(0);
    }
    .project .content .workBx:hover .imgBx{
        transform: translateY(0);
    }
    .project .content .workBx:hover .textBx{
        transform: translateY(0);
    } 
    .project .content .workBx .textBx{
        transform: translateY(0);
        background: rgb(44,51,51);
        background: linear-gradient(0deg, 
        rgba(44,51,51,0.6) 12%, 
        rgba(44,51,51,0) 12%, 
        rgba(44,51,51,0) 87%, 
        rgba(44,51,51,0.6) 87%);
    }       
    .project .content .workBx .textBx h3{
        background: rgb(44,51,51);
    } 
    .project .content .workBx .textBx h3::after,
    .project .content .workBx .textBx h3::before{
        content: '';
        position: absolute;
        bottom: 0.5em;
        transform: rotate(45deg);
        width: 1.5em;
        height: 1.5em;
        background: var(--black);
        z-index: -1;
    }
    .project .content .workBx .textBx h3::after{
        left: -0.5em;
    }
    .project .content .workBx .textBx h3::before{
        right: -0.5em;
    }
    .project .content .workBx .textBx p{
        color: var(--white);
    }    
    .project .content .workBx .textBx p.category{
        top: 8px;
    } 
    .project .content .workBx .textBx p.tags{
        bottom: 8px;
    }


    .modal_box .btn_back{
        letter-spacing: 2px;
        font-size: 1em;
    }
}