@import url('https://fonts.googleapis.com/css2?family=Victor+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&family=Yanone+Kaffeesatz&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@200&family=Victor+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&family=Yanone+Kaffeesatz&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;

}
body{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

main {
    display: flex;
    flex-direction: row;
    height: 100%;
    min-height: 100vh;
}

.sidebar {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    width: 20vw;
    background-color: #0d929e;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: -webkit-sticky;
    /* Safari & IE */
    position: sticky;
    top: 0;
    height: 100vh
}

.sidebar a {
    margin-top: 1.5vh;
    margin-bottom: 1.5vh;
    text-decoration: none;
    color: rgba(255, 255, 255, .5);
}

.sidebar a:hover {
    color: white;
}

.sidebar a:active {
    color: white;
}

.sidebar img {
    width: 50%;
    height: 20%;
    border-radius: 50%;
    border: #51a1a9 solid 10px;
}


.content {
    display: inline-block;
    width: 80vw;
}

.about {
    height: 90vh;
    color: #495057;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* margin-top: 1000px; */
    align-items: left;
    margin: 5rem;
    margin-top: 15rem;
    font-family: 'Victor Mono', monospace;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    /* border-bottom: 1px solid #495057; */
}

.restname {
    color: #0d929e;
}

.about h1,
.experience h1 {
    font-size: 80px;
}

.name {
    display: flex;
    margin-right: 11px;
}

.description-text {
    font-size: 35px;
    padding-left: 5px;

}

.description-work {
    padding-left: 5px;
    font-size: 25px;
    margin-top: 5vh;
    width: 80%;
}

.social {
    margin-top: 5vh;
    align-items: flex-start;
    justify-content: flex-start;
}

#social a {
    margin-right: 2vh;  
}

.social .btn-resume {
    background-color: #495057;
    font-size: 20px;
    color: white;
    padding: 2vh 2vw;
    border-radius: 10px;
    transition: all 1s ease-in-out;
}

.social .btn-resume:hover {
    background-color: #0d929e;
    transition: all 1s ease-in-out;
    border-radius: 40px;
}

.fa {
    padding: 1rem;
    font-size: 30px;
    width: 2.5%;
    height: 40%;
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
    background: #495057;
    color: white;
}


.fa:hover {
    background-color: #0d929e;
}


.skills-section {

    color: #495057;
    /* width: 80%; */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: left;
    margin: 5rem;
    padding: 3rem;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-size: 50px;
    /* border-bottom: 1px solid #495057; */
}

.skills {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;

}

.skill {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-bottom: 2vh;
    background-color: #0d929e;
    height: 20vh;
    width: 30%;
    color: white;
    border-radius: 5%;

}

.skill p {
    cursor: default;
}

.skill:hover {
    background-color: white;
    border: #0d929e solid 1px;
    color: #0d929e;
}



.project-section {
    /* height: 90vh; */
    margin-top:40% ;
    display: flex;
    padding-top: 3rem;
    display: flex;
    color: #495057;
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: left;
    margin: 5rem;
    font-family: 'Victor Mono', monospace;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-size: 40px;
    overflow: hidden;

}

.project-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 80%;
    padding-top: 5rem;

}

.project {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 5rem;
    border: #0d929e 1px solid;
    padding: 1rem;
    border-radius: 20px;
    margin-bottom: 5rem;
    transition: transform 0.5s ease-in-out;
    min-width: 100%;
    margin: 0 2vh;
    box-sizing: border-box;
    width: 100%;
}

.title {
    margin-top: 1rem;
    margin-bottom: 0.5vh;
}

.role {
    font-size: 30px;
}

.tech-tags {
    font-size: 20px;
}

.tech-tags p{
    margin:0.1rem;
    display: inline-block;
    background-color: #0d929e;
    padding: 1vw;
    border-radius: 10px;
    color: white;
}

.about-project {
    margin-top: 3vh;
    width: 70%;
}

.about-text {
    margin-top: 1vh;

    font-size: 20px;
}


.demo-fa {
    padding: 0.7rem;
    font-size: 30px;
    width: 1%;
    /* border-radius: 100%; */
    background: #495057;
    color: white;
}

.links {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
}

.links a {
    text-decoration: none;
    margin-top: 1vh;
    margin-left: 1vh;
}

.links .fa {
    font-size: 20px;
}

#navigate-left,
#navigate-right {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    width: 1%;
    margin: 0vw 0.4vw;
    text-align: center;
    text-decoration: solid;
    font-weight: 900;
    border-radius: 10px;
    height: 1vh;
    transition: 0.5s ease-in-out;


}

#navigate-left:hover,
#navigate-right:hover {
    height: 4vh;
    width: 3vw;
    box-shadow: 0 0 5px 1px #51a1a9;
    transition: 0.5s ease-in-out;

}

#navigate {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 10vh 0;
    text-align: center;
}

.contact-section {

    height: 80vh;
    color: #495057;
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: left;
    margin: 5rem;
    font-family: 'Victor Mono', monospace;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-size: 40px;
    /* border-bottom: 1px solid #495057; */
}

.contact-section form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-section form input {
    margin-top: 2vh;
    margin-bottom: 2vh;
    padding: 3vh;
    width: 50%;
    border-radius: 10px;
    border: none;
    box-shadow: 0 0 10px 5px #51a1a9;
}

#btn-send {
    margin-top: 4vh;
    box-shadow: none;
    border: none;
    height: 5vh;
    width: 40%;
    font-size: 20px;
    border-radius: 50px;
    background-color: #0d929e;
    color: white;
    text-decoration: solid;
}

#content {
    height: 15vh;
}

#btn-send:hover {
    background-color: white;
    color: #0f727b;
    border: #0d929e dashed 5px;
}

.contact-section form input:hover {
    border: #91c5c9 dashed 5px;
    box-shadow: none;
    outline: none;
}

.contact-section form input:focus {
    border: #91c5c9 dashed 5px;
    box-shadow: none;
    outline: none;
}

#social {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
}

#social .fa {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80%;
    width: 10%;
    margin: 1vw;
    display: flex;
    justify-content: center;
    font-size: 30px;

}

.links a {
    transition: all 1s ease-in-out;
}

.links a:hover {
    border-radius: 50px;
    width: 12rem;
    transition: all 1s ease-in-out;
}

#facebook:hover {
    background: blue;
}

#twitter:hover {
    background: #020f71;
}

#linkedin:hover {
    background: #135fbc;
}

#github:hover {
    background: #000000;
}

nav {
    display: none;
}

.links a {
    display: flex;
    justify-content: center;
    align-items: center;
}
.about-btn{
    display: none;
}

@media only screen and (max-width: 281px) {
    .content{
        margin-top: 3rem;
    }
}

@media only screen and (max-width: 768px) {
    .sidebar {
        display: none;
        width: 0;
        height: 0;
    }

    nav {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        background-color: #0d929e;
        width: 100%;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;

    }

    .n-link{
        margin: 2vh;
        
    }
    
    .n-link a{
        text-decoration: none;
        color: white;
        margin: 0 2vh;
    }

    .n-link i{
        display: none;
    }

    .content {
        width: 100vw;
    }

    main {
        height: 50vh;
        min-height: 50vh;
        padding: 0;
    }

    #social .fa {
        font-size: 25px;
    }

    .about {
        margin-top: 5rem;
        height: 71vh;
        justify-content: center;
    }

    .skill {
        width: 15rem;
        height: 6rem;
        padding: 1.5rem;
    }

    .skills-section h1,
    .project-section h1,
    .contact-section h1 {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: row;
        font-size: 50px;
        padding-bottom: 2vh;
    }
}

@media only screen and (max-width: 480px) {
    
    .n-link i{
        display: block;
        border-radius: 0;
        background-color: transparent;
        cursor: pointer;
    }
    .n-link a{
        margin: 1rem 0;
    }
    .n-link{
        width: 100%;
    }
    .tabs{
        display: none;
        /* display: flex; on click*/
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    #tab{
        transition: all 5s ease;
    }
    .tabs.tab-visible {
        display: flex;
        flex-direction: column;
        background-color: #0d929e;
        position: absolute;
        top: 60px; /* Adjust the top position as needed */
        left: 0;
        width: 100%;
        z-index: 1;
    }
    .tabs.tab-visible a {
        color: white;
        padding: 1rem;
        text-align: center;
        text-decoration: none;
        font-size: 20px;
        transition: all 0.3s ease-in-out;
    }
    .tabs.tab-visible a:hover {
        background-color: #0f727b;
        border-radius: 5px;
    }
    .tabs {
        display: none;
    }    
    
    .skills-section {
        margin: 0 3rem;
        height: fit-content;
        overflow: hidden;
    }
    .skills{
        padding: 3rem;

    }

    .about {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .name {
        margin: 0;
        align-items: center;
    }

    .description-text {
        justify-content: center;
        align-items: center;
        padding: 0;
    }
    .social {
        justify-content: center;
        align-items: center;
    }
    .project-section{
        margin-top: 20%;
        justify-content: center;
        padding-top: 1rem;
        margin: 3rem;
    }
    .contact-section{
        margin: 3rem;
    }
    .contact-section form{
        width: 100%;
    }
    #social .fa{
        font-size: 20px;
        width: 20%;
        height: inherit;
        margin-top: 2rem;
    }
    .about-project{
        display: none;
    }

    .about-btn{
        display: block;
    }
    .about-btn button{
        
        padding:0.5rem;
        background-color: #495057;
        color: white;
        border-radius: 10px;
    }
    .about-btn button:hover{
        background-color: #0d929e;
    };
    .project-container{
        box-shadow:inset 0 0 5px 1px #ffffff;
    }
    .tech-tags{
        font-size: 20px;
    }
    .tech-tags p{
        padding: 0.5rem 0.5rem;
    }
    .project{
        width: max-content;
    }

}