/*style.css*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&display=swap');

:root 
{
    --yellow:#ffcc0d;
    --black:#000;
    --white:##fff;
    --light-bg:#eee;
    --border-bold:.3rem solid var(--black);
    --border-light:.1rem solid var(--black);
}
*
{
    font-family: 'Rubik', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    color: var(--black);
}
::selection
{
    background-color: var(--black);
    color: var(--yellow);
}
::-webkit-scrollbar
{
    height: .5rem;
    width: 1rem;
}
::-webkit-scrollbar-track
{
    background-color: transparent;
}
::-webkit-scrollbar-thumb
{
    background-color: var(--yellow);
}
html
{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
body
{
    overflow: hidden;
    transition: .2s linear !important;
}
body.active
{
    padding-left: 35rem;
}
section
{
    padding: 3rem 2rem;
    margin: 0 auto;
    max-width: 1200px;
    text-align: center;
}
.heading 
{
    margin-bottom: 3rem;
    text-align: center;
    padding-top: 5rem;
}
.heading span
{
    text-transform: uppercase;
    font-size: 5.5rem;
    border-bottom: var(--border-bold);
}
.btn
{
    display: inline-block;
    margin-top: 1rem;
    cursor: pointer;
    padding: 1rem 3rem;
    border: var(--border-light);
    font-size: 2rem;
}
.btn:hover 
{
    background-color: var(--black);
    color: white;
}

/*-------------HEADER-----------------*/

.header
{
    position: fixed;
    top: 0;
    left: -35rem;
    height: 100vh;
    background-color:white;
    border-right: var(--border-bold);
    width: 35rem;
    padding: 3rem 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-flow: column;
    transition: .2s linear !important;
}
.header .logo
{
    text-transform: uppercase;
    text-decoration: underline;
    font-size: 4.5rem;
}
.header .navbar
{
    width: 100%;
}
.header .navbar a
{
    display: block;
    font-size: 2.5rem;
    padding: 1.5rem;
    margin: .5rem;
}
.header .navbar a:hover 
{
    background-color: var(--yellow);
}
.header .follow a .fa-brands
{
    font-size: 3rem;
    margin: 0 1rem;
    cursor: pointer;
    color: #000;
}
.header .follow a .fa-brands:hover 
{
    color: var(--yellow);
}
#menu-btn .fa-solid
{
    position: absolute;
    top: 0;
    right: -5.5rem;
    height: 4.5rem;
    line-height: 4.5rem;
    width: 5rem;
    font-size: 2.5rem;
    cursor: pointer;
    background-color: #000;
    color: #eee;
}
.header.active
{
    left: 0;
}

/*--------------HOME------------------*/

.home
{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    min-height: 100vh;
}
.home .image 
{
    flex: 13 1 40rem;
}
.home .image img 
{
    height: 57rem;
    padding: 2rem;
    border: var(--border-bold);
}

.home .content
{
    flex: 1 1 40rem;
}
.home .content h3
{
    text-transform: uppercase;
    font-size: 4rem;
    margin-bottom: .5rem;
}
.home .content span
{
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--yellow);
    font-size: 2.5rem;
    margin: 1rem 0;
}
.home .content p
{
    font-size: 1.5rem;
    line-height: 2;
    padding: 1rem 0;
}

/*-------------------ABOUT SECTION-------------*/

.about .biography p
{
    margin: 2rem auto;
    max-width: 70rem;
    line-height: 2;
    font-size: 1.7rem;
    text-transform: none;
}
.about .biography .bio 
{
    margin-top: 1rem;
}
.about .biography .bio h3
{
    padding: 1rem 2rem;
    display: inline-block;
    margin: 1rem;
    background-color: var(--light-bg);
    border: var(--border-light);
    word-break: break-all;
    font-size: 2.3rem;
    font-weight: normal;
    text-transform: none;
}
.about .biography .bio h3 span
{
    font-weight: lighter;
}

/*------------------SKILLS------------*/

.about .skills
{
    margin: 3rem 0;
}
.about .skills .progress
{
    margin-top: 1rem;
}
.about .skills .progress .bar 
{
    margin: 1rem auto;
    max-width: 70rem;
    border:var(--border-bold);
    padding: 1rem;
    height: 7rem;
}
.about .skills .progress .bar h3
{
    display: flex;
    align-items: center;
    font-size: 2rem;
    padding: 2rem;
    height: 4rem;
    justify-content: space-between;
    background-color: var(--yellow);
}
.about .skills .progress .bar span
{
    font-weight: normal;
}
.about .skills .progress .bar:nth-child(1) h3
{
    width: 95%;
}
.about .skills .progress .bar:nth-child(2) h3
{
    width: 85%;
}
.about .skills .progress .bar:nth-child(3) h3
{
    width: 30%;
}
.about .skills .progress .bar:nth-child(4) h3
{
    width: 70%;
}
.about .skills .progress .bar:nth-child(5) h3
{
    width: 85%;
}
.about .edu-exp .row 
{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.about .edu-exp .row .box-container
{
    flex: 1 1 40rem;
}
.about .edu-exp .row .box-container .titile 
{
    padding: 1.5rem;
    font-size: 2.5rem;
    background-color: var(--yellow);
} 
.about .edu-exp .row .box-container .box 
{
    text-align: left;
    margin: 1.5rem 0;
    background-color: var(--light-bg);
    padding: 2rem;
}
.about .edu-exp .row .box-container .box span
{
    font-size: 1.5rem;
}
.about .edu-exp .row .box-container .box h3
{
    font-size: 2.5rem;
    font-weight: normal;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}
.about .edu-exp .row .box-container .box p
{
    line-height: 1.5;
    font-size: 1.7rem;
}


/*------------------SERVICES----------------*/

.service .box-container
{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(30rem, 1fr));
    gap: 1.5;
    align-items: flex-start;
}
.service .box-container .box 
{
    padding: 3rem 2rem;
    border: var(--border-light);
    margin-bottom: 2rem;
    margin-left: 2rem;
}
.service .box-container .box i
{
    font-size: 4rem;
    margin-bottom: 1rem;
}
.service .box-container .box h3
{
    margin: 1rem 0;
    font-size: 2rem;
    padding: 1rem;
    background-color: var(--yellow);
    font-weight: normal;
}
.service .box-container .box p
{
    font-size: 1.7rem;
}
.service .box-container .box:hover 
{
    background-color: rgb(230, 219, 219);
}

/*-------------PROTFOLIO---------------*/

.protfolio .box-container
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
    align-items: flex-start;
}
.protfolio .box-container img
{
    height: 19rem;
    width: 30rem;
    object-fit: cover;
    border-radius: 2.2rem;
}
.protfolio .box-container img:hover 
{
    transform: scale(1.1);
}
.protfolio .box-container .box h3
{
    margin: 1rem 0;
    font-size: 2rem;
    font-weight: normal;
}
.protfolio .box-container .box span
{
    font-size: 1.7rem;
    color: rgb(44, 97, 44);
}

/*-----------------------CONTACT---------------*/

.contact
{
    padding: 3rem ;
    margin-top: 7rem;
    padding-left: 3rem;
}
.from-text
{
    padding: 2rem 1rem;
    margin: 8px 0;
    width: 88%;
    border: var(--border-light);
}
form .btn
{
    padding: 1rem 1rem;
    margin: 2rem 0;
    color: #000;
    background-color: rgb(236, 230, 230);
    border: none;
    font-size: 1.8rem;

}
.btn-form:hover
{

    background-color: var(--yellow);
    cursor: pointer;
}
.contact .box-container
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
    align-items: flex-start;
    margin-top: 3rem;
}
.contact .box-container .box
{
    padding:3rem 2rem;
    border: var(--border-light);
    background-color: var(--light-bg);
}
.contact .box-container .box i
{
    font-size: 3rem;
    height: 7rem;
    width: 7rem;
    line-height: 7rem;
    color: white;
    background-color: black;
    margin-bottom: .5rem;
}
.contact .box-container .box h3
{
    margin: 1.4rem 0;
    font-size: 2.5rem;
}
.contact .box-container .box p
{
    font-size: 2rem;
    text-transform: none;
}

/*----------------------COPYRIGHT----------------*/

.credit
{
    text-align: center;
    background-color: var(--black);
    padding: 3rem;
    font-size: 2rem;
    color: white;
}
.credit span
{
    color: var(--yellow);
}






























































/*----------------MEDIA QUERY--------------*/

@media(max-width:991px)
{
    html 
    {
        font-size: 55%;
    }
    body.active
    {
        padding-left: 0;
    }
}
@media(max-width:450px)
{
    html 
    {
        font-size: 50%;
    }
    .header.active
    {
        margin-left: -3rem;
    }
    .header .logo
    {
        padding-left: 3rem;
        text-decoration: underline;
    }
    .navbar a:hover
    {
        background-color: #ffcc0d;
    }
    #menu-btn .fa-solid
    {
        padding-left: 1rem;
        font-size: 2.5rem;
        padding-right: 1rem;
        display: inline-block;
    }
    .home .image img 
    {
        height: auto;
        width: 100%;
    }
    .heading span
    {
        font-size: 4rem;
    }
    .about .biography .bio h3
    {
        font-size: 2rem;
    }
    .protfolio .box-container img:hover 
    {
        transform: scale(1.1);
    }
    .contact .from-text
    {
        width: 100%;
        height: auto;
    }
}