@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

* {
    padding: 0;
    margin: 0;
    font-family: 'Roboto Mono', monospace;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;

    ::-webkit-scrollbar {
        display: none;
    }
}


/* navbar1 */

header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-transform: uppercase;
    background-color: #000000;
    padding: 30px 0px;
    z-index: 1000;
}

.logo {
    color: white;
}

nav {
    transition: top 0.6s ease-in;
}

nav ul {
    display: flex;
    list-style: none;
}

nav li a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    padding: 10px 20px;
    font-size: 20px;
}

nav li a:hover {
    color: #d59f44;
    text-shadow: 0 0 2px #f5ebdb;
    /* box-shadow: 0 0 10px #f5ebdb; */
}

.open,
.close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 30px;
    cursor: pointer;
    display: none;
    color: white;
}

.activated {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: black;
}

.activated ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.activated li {
    padding: 30px 0px;
}

.activated li a {
    color: white;
}

.activated .close {
    display: block;
    color: white;
}

.activated .open {
    display: none;
}

@media (max-width: 768px) {
    nav {
        top: -100%;
    }

    nav ul {
        display: none;
    }

    .open {
        display: block;
    }
}


/*--------------- scroll down icon animation --------------- */

.scroll-down {
    position: absolute;
    left: 50%;
    bottom: 100px;
    display: block;
    text-align: center;
    font-size: 20px;
    z-index: 0;
    text-decoration: none;
    text-shadow: 0;
    width: 13px;
    height: 13px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    -webkit-transform: translate(-50%, 0) rotate(45deg);
    animation: fade_move_down 3s cubic-bezier(0.19, 1, 0.22, 1) infinite;
}

@keyframes fade_move_down {
    0% {
        transform: translate(0, -20px) rotate(45deg);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translate(0, 20px) rotate(45deg);
        opacity: 0;
    }
}


/* sections */

section {
    background: #000000;
    color: white;
}

.title-section {
    text-align: center;
    padding: 3rem;
    font-size: 3rem;
}

@media(max-width: 768px) {
    .title-section {
        text-align: center;
        padding: 1rem;
        font-size: 30px;
    }
}


/* home */

#home {
    background: url(img/1.JPG);
    color: white;
    background-size: cover;
    background-position: center;
    height: 95vh;
}

.home-txt {
    text-shadow: 3px 3px 10px #000000;
    padding: 2rem;
    padding-left: 8rem;
    direction: rtl;
}

.home-links {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    gap: 2rem;
    padding: 2rem;
}

.home-links a {
    text-decoration: none;
    font-size: 1em;
    color: white;
}

.home-links :hover {
    color: #d59f44;
    text-shadow: 0 0 2px #f5ebdb;
}

@media(max-width: 768px) {
    .home-txt {
        text-shadow: 3px 3px 10px #000000;
        padding: 2rem;
        padding-left: 8rem;
        font-size: 10px;
        direction: rtl;
    }

    .home-links {
        font-size: 10px;
    }
}




/* skills section */

.skills {
    display: grid;
    column-gap: 1rem;
    grid-template-columns: 1fr 1fr;
    padding: 2rem;
    color: #fff;
}

.skills li {
    /*set margin of li*/
    margin: 20px 0;
}

.bar {
    /*style the bar*/
    background-color: #380f2d;
    display: block;
    height: 2px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 0 10px #2187e7b3;
}

.bar span {
    height: 2px;
    float: left;
    background-color: #d59f44;
    box-shadow: 0 0 10px #f5ebdb;
}

.html {
    width: 80%;
    animation: html 2s;
}

.css {
    width: 93%;
    animation: css 2s;
}

.javascript {
    width: 75%;
    animation: javascript 2s;
}

.php {
    width: 50%;
    animation: jquery 2s;
}

.symfony {
    width: 60%;
    animation: jquery 2s;
}

.mysql {
    width: 70%;
    animation: jquery 2s;
}
.java {
    width: 70%;
    animation: jquery 2s;
}

.angular {
    width: 70%;
    animation: jquery 2s;
}
.react {
    width: 50%;
    animation: jquery 2s;
}

.photoshop {
    width: 90%;
    animation: jquery 2s;
}

.lightroom {
    width: 80%;
    animation: jquery 2s;
}

.premiere-pro {
    width: 50%;
    animation: jquery 2s;
}
.davinci {
    width: 65%;
    animation: jquery 2s;
}

.after-effects {
    width: 50%;
    animation: jquery 2s;
}


/*--------------- projects section --------------- */
.bento-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(100px, auto);
    gap: 10px;
    margin-left: 10vw;
    margin-right: 10vw;
}

.bento-box-item {
    border-radius: 10px;
    border: 2px solid #333;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: box-shadow 0.3s ease;
    box-shadow: -2px -6px 24px -105px rgba(191, 191, 191, 0.95);
    -webkit-box-shadow: -2px -6px 24px -105px rgba(191, 191, 191, 0.95);
    -moz-box-shadow: -2px -6px 24px -105px rgba(191, 191, 191, 0.95);


}

.bento-box-item:hover {
    box-shadow: -2px -5px 72px -12px rgba(224, 224, 224, 0.95) inset;
    -webkit-box-shadow: -2px -5px 72px -12px rgba(224, 224, 224, 0.95) inset;
    -moz-box-shadow: -2px -5px 72px -12px rgba(224, 224, 224, 0.95) inset;
}

#work1 {
    background: url("./img/Pjkt/eCommerce.jpg");
    background-size: cover;
    cursor: pointer;
    color: black;
    font-weight: bolder;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5)

}

#work2 {
    background: url("./img/Pjkt/ninjaBlood.jpg");
    background-size: cover;
    cursor: pointer;
    color: white;
    font-weight: bolder;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5)

}

#work3 {
    background: url("./img/Pjkt/weatherApp.jpg");
    background-size: cover;
    cursor: pointer;
    color: white;
    font-weight: bolder;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5)

}

#work4 {
    background: url("./img/Pjkt/snake.jpg");
    background-size: cover;
    cursor: pointer;
    color: white;
    font-weight: bolder;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5)

}

#work5 {
    background: url("./img/Pjkt/netflixClone.jpg");
    background-size: cover;
    cursor: pointer;
    color: white;
    font-weight: bolder;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5)

}


.bento-box-item:nth-child(1) {
    grid-row: span 5;
    grid-column: span 3;
}

.bento-box-item:nth-child(2) {
    grid-row: span 6;
    grid-column: span 2;
}

.bento-box-item:nth-child(3) {
    grid-row: span 6;
    grid-column: span;
}

.bento-box-item:nth-child(4) {
    grid-row: span 5;
    grid-column: span 1;
}

.bento-box-item:nth-child(5) {
    grid-row: span 5;
    grid-column: span 2;
}


/*--------------- end projects section --------------- */



@media(max-width: 768px) {
    .project {
        width: 90% !important;
        margin: 14px auto;
    }

    .vertical {
        display: none;
    }

    .project1::after,
    .project2::after,
    .project3::after,
    .project4::after {
        display: none;
    }
}


/*--------------- footer section --------------- */

.cont-footer {
    display: flex;
    justify-content: space-between;
}

.container {
    padding: 3rem;
}

.collab {
    text-align: right;
}

.collab p {
    font-weight: lighter !important;
    margin-bottom: 20px;
}

.hr {
    background: rgba(255, 255, 255, 0.2);
    height: 1px;
}

.info {
    display: flex;
}

.info h4 {
    font-size: 18px;
    font-weight: lighter;
}

.info p {
    color: grey;
    font-weight: lighter;
}

.info li {
    font-weight: lighter;
    color: #fff;
    font-size: 18px;
    padding-left: 20px;
}

.row {
    display: flex;
}

.column {
    flex-basis: 50%;
    padding: 10px;
    box-sizing: border-box;
}

#ig::before {
    display: inline-block;
    content: '';
    border-radius: 100%;
    height: 4px;
    width: 4px;
    margin-right: 6px;
    background: #fcaf45;
}

#gh::before {
    display: inline-block;
    content: '';
    border-radius: 100%;
    height: 4px;
    width: 4px;
    margin-right: 6px;
    background: #55acee;
}

#media,
#address {
    text-align: right;
}

#media ul {
    list-style: none;
}

#media ul li {
    display: inline-block;
}

@media(max-width: 768px) {
    .cont-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .info .row {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .collab,
    #personal,
    #media,
    #address {
        text-align: center;
    }

    .info ul {
        margin: 0 0 0 -22px;
        padding: 0;
    }
}