/* MOBILE HEADER-NAV*/
* {                        
    padding: 0;
    font-family: Lexend Deca;
}





/* GENERAL STYLES */

body {
    margin: 0;
    font-family: Lexend Deca
}

a{
    text-decoration: none;
    color: #fff;
}

h1{
    color: #7F4CFB;
    font-size: 4em;
    margin: 0%;
}

p{
    line-height: 1.6em;
}

.btn {
    display: inline-block;
    background-color: #7F4CFB;
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 20px;
}

.btn:hover {
    background-color: #61CE70;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.4);
}




/* WHITE SPACE STYLES */


.white-space-portoflio{
    border-bottom: solid;
    border-bottom-color: #7F4CFB;
    margin: 50px 200px 50px 200px;
}


@media (max-width: 999px){

    .white-space-portoflio{
        margin: 50px 100px 0px 100px;
    }
}





/* HEADLINE STYLES*/


@media screen and (max-width: 1030px) {
    h1 {
        font-size: 3.5em;
    }
    
    h2 {
        font-size: 1.7em;
    }
}

@media screen and (max-width: 440px){
    h1 {
        font-size: 2.7em;
    }
}







/*HEADER SETTINGS*/

header{
    display: flex;
    flex-direction: row-reverse;
    background-color: #7F4CFB;
    padding: 30px 15px;
}




/* LOGO */

.logo{
    display:flex;
    align-items: flex-start;
    max-width: 300px;
    transition: background-color 0.5s ease;
}

header .default-logo{
    display: none;
}


header:hover .default-logo {
    display: none; 
}

header:hover .hover-logo {
    display: block; 
    width: 60%
}

.logo img {
    width: 60%; 
    transition: width 0.5s ease; 
}

header:hover .logo img {
    width: 60%; 
    transition: width 0.5s ease; 
}




/* NAV SETTINGS*/

.menu-wrap {                             
    height: 3em;                       
    background-color: #7F4CFB;            
    width: 100%;  
    font-size: 1.15em;                    
}

.menu-icon {
    font-size: 2em;                    
    color: #fff;                       
}

nav {
    position: absolute;                
    background-color: #7F4CFB;            
    top: 5.5em;
    padding-bottom: 20px;                        
    left:0;                            
    width: 100%;                     
}

nav ul {          
    margin: 0%;
    max-height: 0em;                   
    overflow: hidden;                  
    transition: max-height 0.5s;     
}
nav ul li a {
    display: block;                    
    padding: .75em 1.75em;             
    color: #fff;                       
    text-decoration: none;             
}

#checkbox {
    display: none;       
}

#checkbox:checked ~ nav ul {
    max-height: 11em;                  
}




/*SUB-MENU*/

.sub-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 4px 7px rgba(0, 0, 0, 0.2);
    border-top: 2px solid rgba(0, 0, 0.2);
    font-size: 18px;
    padding: 20px 5px;
    border-radius: 10px;
}

.portfolio:hover .sub-menu {
    display: flex;
    flex-direction: column; 
}

.sub-menu li {
    margin: 5px 0;
    display: flex;
    flex-direction: column;
}

.sub-menu li a {
    color: black;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 400;
}

.sub-menu li a:hover {
    color: #7F4CFB;
}




/* MEDIA QUERY */

@media (min-width: 1160px) {
    
    header{
        padding: 30px 100px;
    }
}



@media (min-width: 1000px) {             
    header{
        flex-direction: row;
        padding: 30px 200px;
        align-items: center;
        justify-content: space-between;
        text-align: center;
        margin: 0%;
        transition: background-color 0.5s ease;
        background-color: #fff;
    }

    header:hover {
        background-color: #7F4CFB;
    }

    header .default-logo{
        display: block;
    }

    header .hover-logo{
        display: none;
    }
    
    header:hover nav ul li a {
        color: #fff;
    }
    
    header:hover .sub-menu li a {
        color: black;
        text-decoration: none;
        font-size: 0.9em;
        font-weight: 400;
    }
    
    header:hover .sub-menu li a:hover {
        color: #7F4CFB;
    }

    .menu-wrap {                                                   
        background-color: transparent;     
        width: auto;                     
    }
    
    .menu-icon {
         display: none;                
    }
    
    nav {
        position: relative;
        top: -1em;                    
        background-color: transparent; 
        transition: background-color 0.5 ease;
        padding-bottom: 0%;                                            
        }
    
    nav:hover{
        color: #fff;
    }

    nav ul {
        display: flex;
        list-style-type: none;  
        max-height: 9.5em;           
        padding: 15px 0;
        background-color: transparent;
        overflow: visible;
    }
    nav ul li {
        display: inline-block;       

    }

    nav ul li a{
        color: #7F4CFB;
    }

}





/* ABOUT ME STYLES */


.about-me{
    background-color: #fff;
    text-align: left;
}

.about-me-container{
    padding: 100px 200px;
    display: flex;
    flex-direction: row;
}


@media screen and (max-width: 1030px) {
    .about-me-container {
        padding: 100px 100px;
    }
}


@media (max-width: 999px){

    .about-me-container {
        padding: 100px 200px;
    }

    .about-me{
        text-align: center;
    }

    .about-me-container{
        flex-direction: column;
    }
}


@media screen and (max-width: 750px) {
    .about-me-container {
        padding: 100px 100px;
    }
}

@media (max-width: 480px){
    .about-me-container {
        padding: 100px 50px;
    }
}




.about-me h1{
    max-width: 600px;
}

.about-me p{
    color: black;
    width: 70%;
    padding: 20px 0px;
}


@media screen and (max-width: 1300px){
    .about-me h1 {
        font-size: 3.5em;
    }

    .about-me h2 {
        font-size: 1.7em;
    }
}


@media (max-width: 999px){

    .about-me h1{
        max-width: 100%;
    }

    .about-me h2{
        width: 100%;
    }

    .about-me p{
        width: 100%;
    }
}




.about-me-text{
    align-items: center;
    align-content: center;
}


@media  (max-width: 999px){

    .about-me-text{
        margin-bottom: 50px;
    }

    .about-me-text .btn{
        margin-top: 50;
    }

    .about-me h1{
        font-size: 3.5em;
    }

    .about-me h2{
        font-size: 1.7em;
    }
}

@media (max-width: 548px){
    .about-me h1{
        font-size: 2.8em;
    }

    .about-me h2{
        font-size: 1.6em;
    }
}

@media (max-width: 416px){

    .about-me h2{
        font-size: 1.3em;
    }
}

@media (max-width: 399px){
    .about-me h1{
        font-size: 2.5em;
    }
}


.white-space{
    border-bottom: solid;
    border-bottom-color: #7F4CFB;
    max-width: 35%;

}


@media (max-width: 999px){

    .white-space{
        max-width: 100%;
    }
}




.about-me-img{
    align-items: center;
    align-content: center;
}

.about-me-img img{
    max-width: 400px;
    border-radius: 30px;
}


@media screen and (max-width: 1300px){

    .about-me-img img{
        max-width: 350px;
    }
}

@media (max-width: 549px){
    .about-me-img img{
        max-width: 200px;
    }
}

@media (max-width: 399px){
    .about-me-img img{
        max-width: 180px;
    }
}






/* RESUME STYLES */

.resume-section {
    padding: 50px 200px;
}

.resume-section h1 {
    font-size: 2.5em;
}


@media screen and (max-width: 1030px) {
    .resume-section {
        padding: 100px 100px;
    }
}


@media (max-width: 999px){

    .resume-section {
        padding: 100px 100px;
    }

    .resume-section h1 {
        text-align: center;
    }
}

@media (max-width: 480px){
    .resume-section {
        padding: 100px 50px;
    }
}




/* Work Experience
------------------------------------*/

.work-experience{
    margin: 0%;
    padding-bottom: 50px;
}

.work-experience p{
    font-size: 0.9em;
}

.work-experience ul{
    font-size: 0.9em;
}

.education p{
    font-size: 0.9em;
}

.education li:nth-child(2){
    list-style-type: none;
    color: gray;
}

.education ul{
    font-size: 0.9em;
}

.work-item{
    margin: 30px 0px;
    background-color: aliceblue;
    border-radius: 30px;
    padding: 20px 50px;
}

.work-item:hover{
    background-color: #fff;
    border-color: #7F4CFB;
    border-style: solid;
    border-width: 3px;
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.4);
}


@media screen and (min-width:860px) {
    .work-item{
        display: grid;
        grid-template-columns: 300px 1fr;
        column-gap: 20px;
    }
}




.ways-to-help{
    background-image: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.9),
        rgba(0, 0, 0, 0.8)
    ), url(../Images/Ensana-_InstagramTemplates.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    padding: 100px 200px;
}


@media screen and (max-width: 1030px) {
    .ways-to-help {
        padding: 100px 100px;
    }
}

@media screen and (max-width: 999px) {
    .ways-to-help {
        padding: 100px 200px;
    }
}

@media screen and (max-width: 750px) {
    .ways-to-help {
        padding: 100px 100px;
    }
}

@media screen and (max-width: 480px) {
    .ways-to-help {
        padding: 100px 50px;
    }
}





.ways-to-help h2{
    margin-top: 0%;
}

.ways-to-help h1{
    color: #fff;
    text-align: center;
}


.white-space-tools{
    border-bottom: solid;
    border-bottom-color: #7F4CFB;
    margin: 50px 0px;
}



.tools {
    display: flex;
    flex-direction: row;
    justify-content:center ;
    align-content: center;
    margin-top: 70px;
    justify-content: space-between;
}


@media (min-width: 1550px){

    .tools{
        justify-content: space-evenly;
    }

}


@media (max-width: 999px){

    .tools{
        flex-direction: column;
    }

}




.tools p{
    font-weight: 300;
}

.tools-1{
    display: flex;
    flex-direction: column;
    width: 500px;
    align-content: center;
}

.tools-2{
    display: flex;
    flex-direction: column;
    width: 500px; 
    align-content: center;
}



.flyers-posters{
    display: flex;
    flex-direction: row;
    padding-bottom: 50px;
}

.stationary{
    display: flex;
    flex-direction: row;
}

.brand-identity{
    display: flex;
    flex-direction: row;
    padding-bottom: 50px;
}

.web-design{
    display: flex;
    flex-direction: row;
}

.flyers-posters img, .brand-identity img{
    max-width: 70px;
    padding-right: 20px;
}

.stationary img, .web-design img{
    max-width: 60px;
    padding-right: 20px;
}


@media screen and (max-width: 1030px) {

    .tools-1 {
        width: 100%;
    }

    .tools-2 {
        width: 100%;
    }

    .tools h2 {
        font-size: 1.4em;
    }

    .tools p {
        font-size: 0.9em;
    }
}


@media screen and (max-width: 999px) {
    .stationary{
        padding-bottom: 50px;
    }
}

@media screen and (max-width: 480px) {

    .ways-to-help h1{
        font-size: 2.9em;
    }
    
    .flyers-posters, .stationary, .brand-identity, .web-design{
        flex-direction: column;
        text-align: center;
    }

    .flyers-posters img, .stationary img, .brand-identity img, .web-design img{
        padding-right: 0;
        padding-bottom: 20px;
    }
}




/* FOOTER STYLES */


footer {
    display: flex;
    flex-direction: column;
    background-color: #7F4CFB;
    color: #fff;
    text-align: center;
    padding: 0px 200px;
    font-weight: 300;
}

footer p{
    font-size: 0.9em;
    line-height: normal;
}

footer a:hover{
    text-decoration: underline;
}

footer .container{
    display: flex;
    flex-direction: row;
    padding: 20px;
    justify-content: space-between;
    text-align: left;
}

footer .copyright{
    padding: 10px;
    border-top: solid;
}





@media (max-width: 999px) {
    footer{
        padding: 0px 100px;
    }
    footer .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}


@media (max-width: 517px) {
    footer{
        padding: 0px 50px;
    }
}
