@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Bungee&family=Inter:ital,opsz,wght@0,14..32,300;1,14..32,300&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Lexend+Exa:wght@100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins' , sans-serif;
}

body{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
}
main{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 80%;
    border-radius: 10px;
    /* border: 1px solid black; */
    margin: 2rem 0;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.header h1{
    line-height: 1;
}
.header{
    width: 80%;
}
.header p{
    margin-top: 1rem;
}


/* Nav bar --> */

.nav-bar{
    margin: 2rem;
    width: 100%;
}
ul{
    /* overflow-x: scroll; */
    scroll-behavior: smooth;
    display: flex;
    list-style: none;
    justify-content: space-evenly;
}
ul::-webkit-scrollbar {
  display: none;
}
a{
    padding: 0.7rem 2rem;
    cursor: pointer;
    border: 1px solid rgb(216, 216, 216);
    border-radius: 20px;
    transition: all 0.2s linear;
}
a:hover{
    color: white;
    border: none;
    background-color: rgb(82, 82, 246);
    border-radius: 20px;
}
.active{
    border: none;
    color: white;
    background-color: rgb(82, 82, 246);
    border-radius: 20px;
}
h3{
    margin-bottom: 1rem;
}

section{
    width: 100%;
}


/* Profile container --> */

form{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.text-field{
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 7px;
}
form .text-field{
    width: 30%;
}
.text-field input{
    padding: 5px;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    transition: border 0.3s;
}
.text-field input:focus {
    border: 1px solid rgb(134, 134, 226);
    outline: none;
}
.additional-links{
    text-align: left;
    margin-top: 2rem ;
}
.links-section{
    /* margin: 1rem 0; */
    display: flex;
    /* flex-direction: column; */
    /* gap: 1rem; */
}
.links-section .text-field{
    width: 50%;
}
.next-page{
    text-align: right;
    padding: 7px;
}
.next-page button{
    padding: 7px 20px;
    background-color: rgb(75, 221, 75);
    border-radius: 5px;
    cursor: pointer;
    border: 1px solid black;
    transition: background-color 0.3s;
}
.next-page button:hover {
    background-color: rgb(56, 190, 56);
}
.next-page .create{
    margin-right: 1rem;
    color: white;
    background-color: rgb(255, 96, 96);
}
.next-page .create:hover {
    background-color: rgb(255, 27, 27);
}
.profile-container{
    text-align: left;
}



/* Summary container --> */

.summary-container{
    width: 100%;
    text-align: left;
}
    
textarea{
    padding: 10px;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    transition: border 0.3s;
}
textarea:focus {
    border: 1px solid rgb(134, 134, 226);
    outline: none;
}



/* Skills conttainer --> */

.skills-container{
    justify-content:left;
}
.skillsPage{
    width: 100%;
    text-align: left;
}
.addingmore{
    width: fit-content;
    color: rgb(80, 80, 235);
    cursor: pointer;
    margin-bottom: 1rem;
}
.addingmore:hover{
    color: blue;
    text-decoration: underline;
}
.skillsPage ul{
    display: flex;
    /* flex-wrap: wrap; */
    flex-direction: column;
    gap: 0.7rem;
}
li input{
    margin-left: 7px;
    padding: 5px;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    transition: border 0.3s;
}
li input:focus {
    border: 1px solid rgb(134, 134, 226);
    outline: none;
}



/* Eductaion container --> */
.education-container{
    text-align: left;
}
.educationPage{
    display: flex;
    flex-wrap: wrap;
}
.educationPage .text-field{
    width: 50%;
}



/* Projects container --> */
.projects-container{
    text-align: left;
}
.projectsPage{
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.projectsPage .text-field:nth-child(4){
    flex-basis: 100%;
}
.projectsPage .text-field{
    width: 33%;
}
.IDesc{
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 7px;
    width: 100%;
}




/* Experience container --> */
.experience-container{
    text-align: left;
}
.experiencePage{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.experiencePage .text-field{
    width: 50%;
}




/* Interest container --> */
.interests-container{
    justify-content:left;
}
.interestPage{
    width: 100%;
    text-align: left;
}
.interestPage ul{
    display: flex;
    /* flex-wrap: wrap; */
    flex-direction: column;
    gap: 0.7rem;
}



/* media screen --> */
@media screen and (max-width: 1200px) {
    .nav-bar ul{
        background-color: #fff;
        overflow-x: scroll;
        scroll-behavior: smooth;
        gap: 1rem;
        height: 52px;
        display: flex;
        align-items: center;
        box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
        border-radius: 21px;
        padding: 5px;
    }a{
        padding: 0.6rem 1.4rem;
        border: none;
    }
    main{
        background-color: #e3d3ff;
        padding: 2rem 1rem;
        width: 95%;
        margin: 1rem 0;
    }
    .header , form .text-field , .links-section .text-field ,
     .educationPage .text-field , .projectsPage .text-field , li input,
     .experiencePage .text-field{
        width: 100%;
    }
    .projectsPage , .experiencePage , .educationPage , .links-section{
        flex-direction: column;
    }
}
