 @import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200&family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,100&family=Roboto:ital,wght@0,100;0,400;0,700;1,400;1,700&display=swap');

:root{
    --blue: #017ad0; 
    --black: #444;
    --bg-color: #e6e6e6;
    --border: .1rem solid rgba(0,0,0,.2);
    --box-shadow: .4rem .4rem 1rem #ccc, -.4rem -.4rem 1rem #fff;
    --box-shadow-inset: .4rem .4rem 1rem #ccc inset, -.4rem -.4rem 1rem #fff inset;
}

 *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    text-transform: capitalize;
    outline: none; border: none;
    transition: all .2s linear;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

*::selection{
    background: var(--blue);
    color: #333;
}

body{
    background: var(--bg-color);
    padding-left: 30rem;
}

body.active{
    --black: #fff;
    --bg-color: #222;
    --border: .1rem solid rgba(0,0,0,.4);
    --box-shadow: .4rem .4rem 1rem #111, -.4rem -.4rem 1rem #333;
    --box-shadow-inset: .4rem .4rem 1rem #111 inset, -.4rem -.4rem 1rem #333 inset; 
}

.header{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background: var(--bg-color);
    width: 30rem;
    border-right: var(--border);
    height: 100%;
    padding: 2rem;
}

.header .user img{
    margin: 1rem 0;
    border: 1rem solid transparent;
    border-radius: 50%;
    height: 18rem;
    width: 18rem;
    box-shadow: var(--box-shadow);
}

.header .user h3{
    color: var(--black);
    font-size: 2.5rem;
}

.header .user p{
    color: var(--blue);
    font-size: 2rem;
}

.header .navbar{
    padding-top: 1rem;
}

.header .navbar a{
    text-align: center;
    display: block;
    margin: 1.5rem 0;
    padding: .7rem;
    border-radius: 5rem;
    font-size: 2rem;
    box-shadow: var(--box-shadow);
    color: var(--black);
}

.header .navbar a:hover{
    color: #017ad0;
    box-shadow: var(--box-shadow-inset);
}

#menu-btn{
    background-color: var(--bg-color);
    position: fixed;
    top: 1.5rem;
    left: 2rem;
    height: 5rem;
    width: 5rem;
    line-height: 5rem;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    z-index: 1000;
    text-align: center;
    color: var(--black);
    display: none;
}

#menu-btn:hover{
    color: var(--blue);
    box-shadow: var(--box-shadow-inset);
}

#theme-toggler{
    background-color: var(--bg-color);
    position: fixed;
    top: 1.5rem;
    right: 2rem;
    height: 5rem;
    width: 5rem;
    line-height: 5rem;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    z-index: 1000;
    text-align: center;
    color: var(--black);
}

#theme-toggler:hover{
    color: var(--blue);
    box-shadow: var(--box-shadow-inset);    
}

.spanish-version{
    background-color: var(--bg-color);
    position: fixed;
    top: 1.5rem;
    right: 9rem;
    height: 5rem;
    width: 5rem;
    line-height: 5rem;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    z-index: 1000;
    text-align: center;
    color: var(--black);
}

.spanish-version:hover{
    font-weight: 700;
    color: var(--blue);
    box-shadow: var(--box-shadow-inset);    
}

section{
    min-height: 100vh;
    padding: 2rem;
}

.btn{
    margin-top: 1rem;
    display: inline-block;
    padding: 1rem 3.5rem;
    border-radius: 2rem;
    font-size: 1.7rem;
    cursor: pointer;
    background: none;
    color: var(--black);
    background: var(--bg-color);
    box-shadow: var(--box-shadow);
}

.btn:hover{
    box-shadow: var(--box-shadow-inset);
    color: var(--blue);
    transform: scale(1.2);
}

.heading{
    border-bottom: .2rem solid var(--black);
    text-align: center;
    font-size: 4rem;
    color: var(--black);
    text-transform: uppercase;
    padding-top: 1.5rem;
    padding-bottom: .5rem;
}

.heading span{
    color: var(--blue);
    text-transform: uppercase;
}

.heading-portfolio{
    border-bottom: .2rem solid var(--black);
    text-align: center;
    font-size: 2.5rem;
    color: var(--black);
    text-transform: uppercase;
    padding-top: 5rem;
    padding-bottom: .5rem;
}

.heading-portfolio span{
    color: var(--blue);
    text-transform: uppercase;
}

.home{
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
}

.home .content h3{
    font-size: 5rem;
    color: var(--black);
    line-height: 1.1;
    padding-bottom: 4rem;
    text-transform: uppercase;
}

.home .content h1{
    background-color: var(--bg-color);
    font-weight: 300;
    font-size: 3.5rem;
    color: var(--blue);
    border-radius: .5rem;
}

.home .content p{
    text-transform: none;
    color: var(--black);
    text-align: center;
    font-weight: 500;
    font-size: 2rem;
    padding-top: 1rem;
    padding-bottom: 4rem;
}

.home .share{
    position: relative;
    top: 10rem;
    border-radius: .5rem;
    box-shadow: var(--box-shadow);
    background: var(--bg-color);
    padding: 1rem;
}

.home .share a{
    height: 5rem;
    width: 5rem;
    line-height: 5rem;
    box-shadow: var(--box-shadow);
    margin: .5rem;
    font-size: 2rem;
    color: var(--black);
    border-radius: 1.5rem;
}

.home .share a:hover{
    box-shadow: var(--box-shadow-inset);
    color: var(--blue);
    transform: scale(1.2);
}

.about .row{
    padding-top: 2rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap-reverse;
    gap: 2rem;
}

.about .row .box-container{
    flex: 1 1 40rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.about .row .box-container .box{
    padding: 2rem;
    border-radius: .5rem;
    box-shadow: var(--box-shadow);
    flex: 1 1 25rem;
}

.about .row .box-container .box h3{
    font-size: 3rem;
    color: var(--blue);
    line-height: 1.1;
    text-align: center;
    padding-bottom: 1.5rem;
}

.about .row .box-container p{
    font-size: 1.5rem;
    color: var(--black);
    text-align: center;
}

.about .row .content h3{
    text-align: center;
    font-size: 3.5rem;
    color: var(--black);
    line-height: 1.8;
}

.about .row .content h3 span{
    font-size: 4.5rem;
    color: var(--blue);
}

.about .row .content p{
    font-size: 1.5rem;
    color: var(--black);
    line-height: 1.8;
    padding: 1rem 0;
    text-transform: none;
    padding-bottom: 2rem;
}

.services .box-container{
    padding-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
    gap: 2rem;
}

.services .box-container .box{
    padding: 2rem;
    border-radius: .5rem;
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.services .box-container .box i{
    font-size: 4rem;
    padding-bottom: 5rem;
    color: #fff;
}

.services .box-container .box h3{
    font-size: 2.5rem;
    padding-bottom: 1em;
    color: var(--black);
}

.services .box-container .box p{
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--black);
}

.services .box-container .box::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: var(--blue);
    z-index: -1;
    clip-path: circle(9rem at 0% 5%);
    transition: .5s linear;
}

.services .box-container .box:hover::before{
    clip-path: circle(100%);
}

.services .box-container .box:hover > *{
    color: #fff;
}

.portfolio .box-container{
    padding-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
    gap: 2rem;
}

.portfolio .portfolio-text{
    font-size: 1.5rem;
    color: var(--black);
    font-weight: 400;
    text-align: center;
    padding-top: 1rem;
    text-transform: none;
}

.portfolio .box-container .box{
    height: 25rem;
    border-radius: .5rem;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
    border: 1rem solid transparent;
}

.portfolio .box-container .box img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.portfolio .box-container .design{
    height: 35rem;
    border-radius: .5rem;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
    border: 1rem solid transparent;
}

.portfolio .box-container .design img{
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.portfolio .box-container .social{
    height: 35rem;
    border-radius: .5rem;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
    border: 1rem solid transparent;
}

.portfolio .box-container .social img{
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.portfolio .box-container .animation{
    height: 33rem;
    border-radius: .5rem;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
    border: 1rem solid transparent;
}

.portfolio .box-container .web-design{
    height: 25rem;
    border-radius: .5rem;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
    border: 1rem solid transparent;
}

.portfolio .box-container .web-design img{
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.portfolio .box-container .photo{
    height: 35rem;
    border-radius: .5rem;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
    border: 1rem solid transparent;
}

.portfolio .box-container .photo img{
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.portfolio .box-illustration{
    padding-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(45rem, 1fr));
    gap: 2rem;
}

.portfolio .box-illustration .box{
    height: 45rem;
    border-radius: .5rem;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
    border: 1rem solid transparent;
}

.portfolio .box-illustration .illustrations img{
    height: 100%;
    width: 100%;
    object-fit: contain;
}


.portfolio .box-container .box .content a{
    padding: 10rem;
}


.portfolio .box-container .box .content{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: grid;
    place-items: center;
}

.portfolio .box-container .box .content h4{
    font-size: 2.5rem;
    color: #fff;
    text-shadow: .2rem .2rem .5rem #222, -.2rem -.2rem .2rem #111;
    text-transform: uppercase;
}

.contact form{
    margin: 1rem auto;
    max-width: 70rem;
    border-radius: 2rem;
    box-shadow: var(--box-shadow);
    padding: 2rem;
}

.contact form textarea{
    height: 20rem;
    resize: none;
}

.contact form .box{
    padding: 1rem 1.5rem;
    background: none;
    color: var(--black);
    font-size: 1.6rem;
    text-transform: none;
    margin: .7rem 0;
    box-shadow: var(--box-shadow);
    border-radius: 2rem;
    width: 100%;
}

.contact form .box:focus{
    box-shadow: var(--box-shadow-inset);
}


/* media queries */ 

@media (max-width: 991px){

    html{
        font-size: 55%;
    }

    body{
        padding-left: 0;
    }

    .header{
        left: -110%;
    }

    .header.active{
        left: 0%;
        transition: .4s linear;
    }

    #menu-btn{
        display: initial;
    }

}

@media (max-width: 450px){

    html{
        font-size: 50%;
    }

    .header{
        width: 100%;
        border-right: 0;
    }

    .about .box-container2 .box2{
        width: 100%;
    }

}