 /*Fonts*/
 @import url('https://fonts.googleapis.com/css2?family=Playball&display=swap');

* {
    padding:0;
    margin:0;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
}

:root {
    --pink:#FFC0AB;
    --red:#66101F;
    --grey:#E6D8D8;
    --redish:#CF344D;
    background-color: var(--grey);
}

/*navigation bar*/

/*new codes*/
header {
    position: fixed;
    background-color: var(--pink);
    width: 100%;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--red);
}
/*new codes*/

#pageOne {
    background-color: var(--grey);
    height:40rem;
}

 nav {
    display:flex;
    justify-content: space-between;
 }


img.site_logo {
    width:4.5rem;
    height:4.5rem;
    margin-top: 0.5rem;
    margin-left: 1rem;
    margin-bottom: 0.5rem;
    border: 3px solid var(--red);
    border-radius: 50px;
}

 .menu_info li{
    display:inline-flex;
    padding-left: 3.1rem;
    padding-right: 3.1rem;
    margin-top: 3.1rem; 
     
 }


li a {
    list-style: none;
    text-decoration: none;
    color:var(--red);
    font-size: 1.25rem;
    font-weight:bold;
}

a:hover {
    text-decoration: underline;
    color:#CF344D;
    transition:color 300ms; 
    cursor: pointer;
}

/*home section*/

section#home {
    margin-top: 7rem;
}

.main-content-border {
    background-color: #66101F;
    width: 58.75rem;
    height: 29rem;
    border-radius: 0.625rem;
    margin: 60px auto;
    display:flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    color:var(--pink);
}


.main-content-border h1{
    font-family: 'Playball', 'cursive';
    font-size: 5.5rem;
}

.main_picture {
    width:20%;
    border-radius: 50%;

}

.main-content-border p {
    font-family: 'Playball';
    font-size:2rem ;
}

/*About me section*/


 h2.sections_headings{
     color:var(--red);
     font-size: 4rem;
     margin-top: 30px;
     margin-bottom: 30px;
     display: flex;
     justify-content: center;
    }
    

div.comune_title{
     background-color: white;
     padding:1px 0;
     height: 150px;
 }
 

 .personal_info{
     text-align: justify;
     line-height: 1.5rem;
    margin:30px 300px; 
    
 }


.cv_download{
     background-color: var(--red);
     text-decoration: none;
     border-radius: 3px;
     padding:10px 35px;
     font-weight: bold;
     cursor: pointer;
     margin-top:30px;
     margin-bottom: 40px;
     border-color: var(--red);
     cursor:pointer;

     box-shadow: 0px 4px 4px 1px;
     cursor: pointer;
     color: var(--red);
     
 }

 div.button_background{
     display:flex;
     justify-content: space-evenly;
   
 }
 
button a{
    text-decoration: none;
    color:var(--pink);
    font-size: 25px;
}

.cv_download a:hover{
    color:var(--pink); 
}
    
button:hover{
    background-color:#3a0912;
    transition: background-color 600ms;  
}

div.button_background {
    background-color: white;
    /*height: 120px;*/
    
}


 /*Skills section*/
 div.Skill_background{
    background-color: var(--red);
    padding:1px 0;
    height: 150px;
}

 .Skill_background {
    display: flex;
    justify-content: center;
    background-color: var(--red);
}

h2.skills_heading{
    color:var(--pink);
    font-size: 4rem;
    margin-top: 35px;
 }

section#skills {
    background-color: var(--grey);
   
}

div.skill_gallery{
     display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    height: 400px;
}

figcaption{
    text-align:center ;
}



/*Projects*/

.projects_display{
   display:flex;
   justify-content: space-around;
   align-items: center;
   flex-wrap: wrap;
   
}

.Imagine_wxh{
    width:400px;
    border-radius: 10px;
    box-shadow: 0px 4px 4px 1px;
    cursor: pointer;
    color: var(--red);
    
    border: 1px solid black;
}

.Imagine_wxh:hover {
    width:450px; 
}



 /*contact section*/

#contact{
    background-color: var(--grey);
}

 .contact_heading span{
font-size: 2rem;
text-align: left;
 }

 h2.contact_heading{
    text-align:left; 
    color:var(--red);
    font-size: 4rem;
    margin-left: 25rem;
    margin-top: 35px;
 }

 .main_picturecontact {
    width:25%;
    border-radius: 50%;
    margin-left: 25rem;
    margin-top: 2rem;
 }

div.contact_container {
     display:flex;
 }

div.item2 {
    margin-right: 25rem;
    margin-bottom: 1.5rem;
}



input[type=text],
input[type=email], 
textarea, 
input[type=submit]{
    padding: 12px 20px;
    margin: 2px 0;
    box-sizing: border-box;
    border-color: #66101F;
    border: 2px solid;
    border-radius: 10px;
    background-color:blanchedalmond;
    color: var(--red);
  }

  input[type=submit]:hover {
    background-color: var(--pink);

  }




/*footer*/
 footer{
     background-color: var(--red);
     color:var(--pink);
 }

div.footer_container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    
}

.personalcontact i{

    margin-left: 50%;
}

footer p {
    font-weight: bold;
    text-align: center;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    font-size: 1.9rem;
    
}

p.right {
    font-family: 'Playball', cursive;
    font-size: 1rem;
}

figcaption a {
    text-decoration: none;
}

figcaption a:link,
.socialcontact a,
figure i {
    color: var(--pink);
}

i {
    font-size: 1.4rem;
}

.footer_container i:hover {
color:var(--redish) ;
font-size: 25px;

}


/*responsive menu*/









/*Responsive*/

@media only screen and (max-width: 1175px){
    img.main_picturecontact {
        visibility: hidden;
      }
}


@media only screen and (min-width: 956px) and (max-width: 998px) {
    ul.menu_info li{
        font-size: 1rem;
        margin-left: -0.8rem;
        }
	
} 


@media only screen and (max-width: 956px){
    ul.menu_info li{
        font-size: 1rem;
        padding-left: 1px;
        }
    
    div.about_container {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    p.personal_info{
        margin-right: auto;
        margin-left: auto;
        padding-left: 10px ;
        padding-right:10px ;
    }

    .button_background {
        background-color: var(--grey);
    }
    
    }


@media only screen and (max-width: 941px){
    div.main-content-border{
        width: 80%;
    }

    div.item1 {
        display: none;
      }

    ul.menu_info li{
        font-size: 1rem;
        padding-left: 0.5rem;
        /*margin-left: 0.4rem ;*/
        }

   div.item2 {
       display: block;
       margin-left: auto;
       margin-right: auto;

    }

    h2.contact_heading {
        text-align: center;
        display: block;
       margin-left: auto;
       margin-right: auto;

    }

    div.button_background {
        background-color:var(--grey);
    }
    
    li a {
        font-size: 15px;
    }

    .menu_info li {
        padding-right: 1rem;
    }

}





@media only screen and (max-width: 890px){
    .main_picturecontact{
        visibility: hidden;
      }
    }






@media only screen and (max-width: 748px) {
    /*.site_logo {
        display: none;
      }*/

    nav {
    display: flex;
    justify-content: space-evenly;
    }
   
    .menu_info li{
        margin-top:25px;
        margin-bottom:25px;
    }

    p.personal_info {
        padding-left:15px ;
        padding-right: 15px;
    }

    .main_picture{
        width: 35%;
    }
     
     }


     @media only screen and (max-width: 680px){
    .main-content-border h1{
        font-size: 70px;

    }

    .main-content-border p {
        font-size: 30px;

    }
}


@media only screen and (max-width: 592px){
    .main-content-border h1{
        font-size: 50px;

    }

    .main-content-border p{
        font-size: 20px;

    }

}

@media only screen and (max-width: 545px) {

    ul.menu_info {
        display: none;
    }

    nav {
        display:flex;
        justify-content: space-between;
    }

    div.dropdown_menu {
        margin-top:0.5rem;;
    }
}



@media only screen and (max-width: 420px){
    .personalcontact figcaption{
        display: none;
    }


}


@media only screen and (max-width: 403px){

    .menu_info li {
        padding-right: 0.8rem;
    }

    .main-content-border{
        width: 25rem;
        height: 25rem;
        margin-top: 2rem;
    }

    #pageOne {
        height: 34rem;
    }

    .main-content-border h1{
        font-size: 35px;

    }

    .main-content-border p {
        font-size: 20px;

    }
}




@media only screen and (max-width: 395px){
    .Imagine_wxh{
        width: 99%;
    }

    /*Projects*/

.projects_display{
    display:inline-flex;
   
 }

 .main-content-border h1{
    font-size: 40px;

}

.main-content-border p {
    font-size: 15px;

}

}

@media only screen and (max-width: 352px) {
    li a {
        font-size: 10px;
    }


}


@media only screen and (max-width: 334px){

    .main_picture {
        width: 50%;
    }

    #pageOne {
        height: 37rem;
    }

    }
    


@media only screen and (max-width: 320px){

    h2.sections_headings,
    h2.skills_heading {
        font-size:2.5rem;
        padding-top: -4rem;
        margin-bottom: -2rem;
    }

    h2.contact_heading {
        font-size:2.5rem;
        padding-top: -4rem;
    }

    footer p {
        font-size: 1rem;
    }

    p.right {
        font-size: 12px;

    }

    div.comune_title,
    div.Skill_background {
        padding:1px 0;
        height: 100px;
    }

    div.button_background {

        padding:1px 0;
        height: 100px;

    }


}

@media only screen and (min-width: 289px) and (max-width: 321px) {
    #about {
        height: 38rem;
    }
	.cv_download {
        padding-bottom:30px;
        padding-left:35px;
        padding-right:35px
    }
} 





@media only screen and (max-width: 310px) {
    .main-content-border h1 {
        font-size: 30px;
        text-align: left;
    }

    .main-content-border p {
        font-size: 12px;
    }

    img.site_logo {
        width: 3rem;
        height: 3rem;
    }

    .dropdown {
        width: 12px;
        height: 12px;
        margin-top: 0.4rem;
        margin-right: 0.4rem;
    }

    .dropdown i {
        font-size: 12px;
        display:flex;
        justify-content: center;
        align-items: center;
    }
   
    .dropdown_list a {
        font-size: 12px;
        font-weight: bold;
    }

    #pageOne {
        height: 35rem;
    }

}


@media only screen and (width: 299px){
    nav {
        display:flex;
        justify-content: space-between;
     }

    .cv_download {
        padding: 5px 18px;
    }

    button a {
        font-size: 18px;
    }

     /*#pageOne {
        height: 20rem;}*/

    
    
}


@media only screen and (max-width: 288px){
    *section#skills {
        height: 55rem;
    }

    .cv_download {
        padding: 5px 18px;
    }

    button a {
        font-size: 18px;
    }*
    
    .personal_info, 
    .projects_display figcaption {
        font-size: 12.5px;
    }

    .skill_logo {
        width: 85%;
      
    }

}


@media only screen and (width:288px){
    section#skills {
        height: 35rem;
    }
}

@media only screen and (width:287px){
    section#skills {
        height: 15rem;
    }
}

@media only screen and (max-width:287px){
    section#skills {
        height: 48rem;
    }
}


@media only screen and (max-width:257px){
   input {
       width: 95%;
   }
   textarea {
       width :95%;
   }

   div.item2 {
      
       margin-left: auto;
       margin-right: auto;
   }

   input#submit {
       width: 40%;
   }

   input[placeholder]{
       font-size: 12px;

   }

   textarea[placeholder]{
    font-size: 12px;

   }

   input#submit {
    font-size: 12px;
   }

   .personalcontact i,
   .socialcontact i{
       font-size: 16px;
   }

   h2.sections_headings,
    h2.skills_heading {
        font-size:2rem;
    }

    h2.contact_heading {
        font-size:2rem;
        
    }

    .main_picture {
        width: 80%;
    }

}

@media only screen and (max-width:237px){
    .main-content-border h1 {
        margin-left:1rem;
        margin-right:0.2rem ;

    }

    .main-content-border p{
        margin-left:1rem;
        margin-right:0.2rem ;

    }
}





/*Dropdown menu*/
div.dropdown_menu {
    float:right;
}

.dropdown {
    background-color: var(--red);
    color: var(--pink);
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
  }
  
  .dropdown_menu {
    position: relative;
    display: inline-block;
  }
  
  .dropdown_list {
    display: none;
    position: absolute;
    right: 0;
    background-color: blanchedalmond;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  .dropdown_list a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: center;
  }
  
  .dropdown_list a:hover {
      background-color: #f1f1f1;
    }
  
  .dropdown_menu:hover .dropdown_list {
    display: block;
  }
  
  .dropdown_menu:hover .dropdown {
    background-color: var(--red);
    opacity:0.9;
  }
  /*Dropdown menu*/