/* -----------   Global styles   ----------- */

html {
  box-sizing: border-box;
 scroll-behavior: smooth;
}

*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body {
  color: #343434;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

img {
  width: 300px;
}

a {
  color: #FFE66D;
}

a:hover {
  text-decoration: none;
}

h1 {
  font-size: 100px;
  line-height: 1;
}

h2 {
  font-size: 45px;
}

h1, h2 {
  font-family: 'Caveat', cursive;
  font-weight: 400;
  margin: 0;
}

.content-wrap {
  max-width: 800px;
  width: 85%;
  margin: 0 auto;
  padding:90px 0;

}

h3 {
  margin-bottom: 0;
}

.item-details h3 + p {
  font-style: italic;
}

.item-details h3 ~ p {
  margin: 0;
}

.divider > section {
  border-bottom: 4px solid #fff;
  padding: 25px 0;
}

.divider > section:last-of-type {
  border-bottom: none;
}

/* -----------   Profile   ----------- */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #323042;
     z-index: 100
  border-bottom: 1px solid #323042;
}


.mobile-menu ul {
      list-style: none;
      display: -webkit-box;
      display: flex;
      -webkit-box-orient: horizontal;
      -webkit-box-direction: normal;
      flex-direction: row;
      -webkit-box-pack: center;
      justify-content: flex-end;
     -webkit-box-align: center;
      align-items: center;
      padding: 13px;
}

.mobile-menu ul a {
  display: block;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-family: Futura, Trebuchet MS, Arial, sans-serif;
  font-size:15px;
  color: #ffe4fa;
  text-align: center;
  padding: 14px 30px;
  -webkit-transition: background 0.25s, box-shadow 0.15s;
  transition: background 0.25s, box-shadow 0.15s;
}

.mobile-menu ul a:hover {
  color: #fff;
  background: #708090;
  box-shadow: 0px 4px 0px 0px #FDF5E6;
}

.visible {
  display: block;
  -webkit-transform: scale(1);
          transform: scale(1);
}


/*Style 'show menu' label button and hide it by default*/
.mobile-menu .show-menu {
  text-decoration: none;
  color: #fff;
  background: #8aa8bd;
  text-align: center;
  padding: 10px 15px;
  display: none;
  cursor: pointer;
  text-transform: uppercase;
}

.mobile-menu .show-menu span{
   padding-left: 25px;
}

/*Hide checkbox*/
.mobile-menu input[type=checkbox]{
    display: none;
}

/*Show menu when invisible checkbox is checked*/
.mobile-menu input[type=checkbox]:checked ~ #menu{
    display: block;
}

/* -----------   About   ----------- */

.sectionAbout{
       background-color: #272733;
}

.text-center {
    text-align: center;
}

img {
    vertical-align: middle;
    border-style: none;
}

.image-cropper {
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 50%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.profile-pic {
    margin: 0 auto;
    margin-left: -21%;
    height: 100%;
    width: auto;
}

.textAbout {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 17px;
    padding: 26px;
}

.sectionAbout h2 {
  color: white;
  font-size: 55px;
}

/* -----------   Projects   ----------- */

.projects {
  background: #f3f3ea;
}

.projects a {
  color: #2F3061;
}

.projects .btn {
  color: #F7FFF7;
  background: #272733;
  text-decoration: none;
  padding: 8px;
  border-radius: 4px;
  display: inline-block;
}

.projects .btn:hover {
  background: rgba(47, 48, 97, 80%);
}

.project-item {
  overflow: hidden;
}

.project-item img {
  float: left;
  margin-right: 20px;
}
.project-item h3 {
  margin-top: 0;
}

/* -----------   Education   ----------- */

.education {
  background-color: #bdbcb65c;
  color:#000;
  background-size: cover;
  background-position: top right;
  padding: 80px;
}

.education p {
  width: 60%;
 }

/*------------   Contact Form   ----------- */
.contact {
  background-color: #b5b5b55c;
  background-size: cover;
  background-position: top right;
  padding: 45px; 
  margin-bottom: 15px;
 
}
.contact p {
  text-align: center;
  font-size: 16px;
 }

.contact .content-wrap {
    padding:0;
}

.sub-main{
    width:20%;
    margin: 10px;
    float: right;
}


/*Button One*/
.button-one {
  padding:15px;
  background-color: #4a4860;
  border: none;
  border-radius:5px;
  box-shadow: 0 6px #95a5a6;
  text-align: center;
  cursor: pointer;
  font-size: 15px;
  color: #fff;
  margin: 0 0 0 100px;
}

.button-one:hover{
  background-color: #4a4860;
}

.button-one:active {
  background-color: #4a4860;
  box-shadow: 0 5px #95a5a6;
  transform: translateY(4px);
}


/* -----------   Contact Info   ----------- */
footer {
  background: #323042;
  color: #F7FFF7;
  padding:20px;
    text-align: center;
}

.contact-list {
  list-style-type: none;
  padding: 0;
}

.contact-list a {
  padding: 15px;
  display: inline-block;
  text-decoration: none;
}

.copyRight {
    margin-top: 60px;
}


/* Responsive
------------------------------------*/
@media only screen and (min-width:768px){
    .mobile-menu ul a {
        margin-left:17px;;
    }
    
    .project-item h3 {
        font-size:15px
    }
    
     .project-item p {
        font-size:13px
    }
    
    .sub-main {
        width: 37%;
    }
    
    .contact .content-wrap {
        padding: 40px;
    }
    
    .button-one {
        width: 53%;
        margin-left: 30px;
    }

}

@media only screen and (max-width:600px){
    body {
           width: 100%;
    }

    header {
        background-color: #4a4860cc;
    }
    
 .mobile-menu .lines {
        border-bottom: 12px double #4a4860;
        border-top: 4px solid #4a4860;
        content: "";
        height: 20px;
        width: 36px;
        padding-right: 15px;
        float: right;
        margin-right: 30px;
    }
  
    /*Make dropdown links appear inline*/
    .mobile-menu ul {
        position: static;
        display: none;
        width: 100%;
        height: 1200px;
    }
    
    /*Create vertical spacing*/
    .mobile-menu li {
        margin-bottom: 1px;
    }
    
    /*Make all menu links full width*/
    .mobile-menu ul li, .mobile-menu li a {
        width: 97%;
    }
  
        /*Display 'show menu' link*/
    .mobile-menu .show-menu {
        display:block;
        background: #f8f8f8;;
        text-align: center;
        padding: 15px 15px;
        cursor: pointer;
      }
    
    .textAbout {
        font-size: 15px;
        padding: 16px;
    }
     .education p{
            width: 116%;
        }
    
    #footerSection{
        text-align: center;
    }
    .contact-list a {
      padding:0;
    }
    
    .contact{
        padding: 15px;
        text-align: center;
        margin-right: 11px;
        margin:0;
    }
    
    .contact .content-wrap {
      margin-top: 65px;
      padding-bottom: 30px;
      margin-bottom: 15px;
        
    }
    
    .button-one {
        float: right;
        margin: 0 26px 0 -30px;
    }
    .form-group {
        margin: 1rem;
    }

}


@media only screen and (max-width:425px){

    .project-item img {
        width: 270px;
    }
    
    .education {
        padding: 5px;
    }
    
    .education p{
        width: 90%;
    }
    
    .education h3 {
        font-size: 15px;
    }
       
    .contact-list a {
        padding:0px
    }
    
    .sub-main {
        width: 40%;
    }
}

