
  
  body,
  html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    right: 0;
    left: 0;
    font-family: "Roboto Slab", serif;
    /*overflow-x: clip !important;*/
  }

  

  a {
    text-decoration: none;
  }
 

  

#topPage {
    background-image: url("../Pictures/section1.png");
    background-position: center;
    background-size: cover;
    padding-top:80px;
    padding-right: 0px;
    top: 0;
    padding-bottom: 150px;
    
}

#about {
  right: 0;
  left: 0;
  background-color: white;
  background-position: center;
  background-size: cover;
  font-family: 'Montserrat';
}

#skills {
  right: 0;
  left: 0;
  background-color: #2988bc;
  color: white;
  text-align: center;
  font-family: 'Montserrat';
}

.skills-mobile {
  right: 0;
  left: 0;
  background-color: #2988bc;
  color: white;
  text-align: center;
  font-family: 'Montserrat';
}

.p-skills {
  
}

#projects {
  right: 0;
  left: 0;
  margin: 0 !important;
  background-color: #2988bc;
  background-position: center;
  background-size: cover;
  font-family: 'Montserrat';
  color: white;
  
}

#timeline {
  right: 0;
  left: 0;
  background-color: white;
  color: black;
  text-align: center;
  font-family: 'Montserrat';
}

#hobby {
  right: 0;
  left: 0;
  background-color: white;
  color: black;
  text-align: center;
  font-family: 'Montserrat';
}

#contact {
  right: 0;
  left: 0;
  margin: 0 !important;
  background-image: url(../Pictures/world8.png) ;
  background-size: cover;
  color: white;
  text-align: center;
  font-family: 'Montserrat';
}

.hobby-p {
  padding-bottom: 15px;
}

.pdf {
  
  color: #fcbc1d;
  font-family: 'Montserrat';
  
}

.gitlink {
  color: #fcbc1d;
  font-family: 'Montserrat';
}

.pdf:hover {
  color: #ca950d !important;
  text-decoration: underline !important;
}

.gitlink:hover {
  color: #ca950d !important;
  text-decoration: underline !important;
}

.company {
  font-size: large;
  font-weight: 600;
  padding-bottom: 5px !important;
  color: #fcbc1d;
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}

.company-address {
  font-size: larger;
  font-weight: 600;
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}

.e-mail:before {
  content: attr(data-website) "\0040" attr(data-user);
  unicode-bidi: bidi-override;
  direction: rtl;
}

.footer {
  height: 170px;
  background-color: white;
  background-size: cover;
  font-family: 'Montserrat';
}

.photo {
  margin-left: auto !important;
  margin-right: auto !important;
  

}
.photomain {
  display: block;
  top: 400px;
  border-radius: 50%;
  height: 250px;
  width: 250px;
  margin-top: 170px;
  margin-left: auto;
  margin-right: auto;
  border: 7px solid white;
}

.name {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  color: white;
  font-family: 'Montserrat';
  text-align: center;
  font-size: 80px;
  margin-bottom: 0px;

}

.center {
  margin-top: 1px;

}

.center2 {
margin-top: 0;
margin-bottom: 0;
display: block;
margin-left: auto;
margin-right: auto;
text-align: center;
padding-bottom: 0px;

}

.center-left {
  display: inline-block;
  text-align: left;
  width: 40%;
}


.about-main {
  display: flex;
  justify-content: center;
  text-align: center;
  font-family: "Montserrat";

}

.col {
  padding-right: 5px;
  padding-left: 5px;
  
  

}

.col-right {
  padding-right: 5px;
  padding-left: 5px;
}

.col2 {
  padding-right: 5px;
  padding-left: 5px;
  width: 20%;

}

.col3 {
  padding-right: 5px;
  padding-left: 5px;
  width: 100%;

}

.col4 {
  padding-right: 5px;
  padding-left: 5px;
  width: 30%;

}

.col4-left {
  padding-right: 5px;
  padding-left: 5px;
  width: 30%;

}

.col4-right {
  padding-right: 5px;
  padding-left: 5px;
  width: 30%;

}

.col2-left {
  padding-right: 5px;
  padding-left: 5px;
  width: 40%;

}

.col2-right {
  padding-right: 5px;
  padding-left: 5px;
  width: 40%;

}

.col3 {
  padding-right: 5px;
  padding-left: 5px;
  

}


.row {
  display: flex;
  justify-content: center;
  text-align: center;
  font-family: "Montserrat";
}

.row2 {
  display: flex;
  justify-content: center;
  text-align: center;
  font-family: "Montserrat";
}


.service-icon {
  background-color: #d1b538;
  color: #f2f5f7;
  height: 7rem;
  width: 7rem;
  display: block;
  line-height: 7.5rem;
  font-size: 2.25rem;
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
}

#service-circle2 {
  flex-direction: row;
  justify-content: center;
  height: 70px;
  width: 70px;
  margin-top: 30px;
  margin-left: 10px;
  margin-right: 10px;
  background-color: #3e9ab9;
  border-radius: 50%;
}

#service-circle2 i:hover {
  
  color: #dfa34a !important;
  transition: 0.5s !important;
}

.service-circle {
  height: 70px;
  width: 70px;
  background-color: #f7f7f7;
  border-radius: 50%;
  display: inline-block;
}

.p-about-main {
  text-align: left;
  padding-left: 30px;
  padding-right: 10px;
}

.h-about-main {
  font-weight: 600;
  text-align: left;
  padding-left: 30px;
  padding-right: 10px;
}

.icon2:hover {
  color: #fcbc1d;
  transition: 0.5s;
}
.about-pic {
  top: 400px;
  border-radius: 50%;
  height: 100px;
  width: 100px;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  border: 7px solid white;
}

.about-btn {
  display: inline-block;
}

.icon {
  width: 150px;
  height: auto;
  
}

.icon-g {
  padding-right: 23px !important;
  padding-top: 22px;
  width: 100px;
  height: auto;
  
}

.icon2 {
  padding: 12px 17px 10px 16px;
  border-radius: 50%;
  background-color: #3e9ab9;
  color: white;
  font-size: 30px;
  
}

.icon3 {
  padding: 20px;
  background-color: transparent;
  color: black;
  font-size: 40px;
  
}
.icon4 {
  display: flex;
  height: 70px;
  width: 70px;
  background-color: #3e9ab9;
  border-radius: 50%;
  color: black;
  font-size: 40px;
  
}

.icon4:hover {
  
  color: #dfa34a;
  transition: 0.5s;
}

.icon2:hover {
  
  color: #dfa34a;
  transition: 0.5s;
}

.char {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  color: white;
  font-family: 'Montserrat';
  text-align: center;
  font-size: 40px;

}


.btn {
  display: block;
  text-align: center;
  margin: auto;
  padding-top: 50px;
}

.btnx {
  border-radius: 8px;
  font-size: 20px;
  font-family: 'Montserrat';
  padding: 25px 25px 25px 25px;
  transition-duration: 0.5s;
}

.btnx:hover {
  background-color: #cfd4d8;
}

.btn2 {
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 15px;
  padding-bottom: 100px;
  
  
  
  
}

.btnx2 {
  display: inline-block;
  box-shadow: 0px 3px 3px 3px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border-color: rgba(0, 0, 0, 0.1);
  font-size: 20px;
  font-family: 'Montserrat';
  padding: 25px 25px;
  transition-duration: 0.5s;
  margin: 10px;
}

.btnx2:hover {
  background-color: #dee3e7;
}

.btnx3 {
  display: inline-block;
  box-shadow: 0px 3px 3px 3px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border-color: rgba(0, 0, 0, 0.1);
  font-size: 20px;
  font-family: 'Montserrat';
  padding: 25px 25px;
  transition-duration: 0.5s;
  margin: 10px;
  background-color: #212529;
  color: white;
}

.btnx3:hover {
  background-color: #474f57;
}


#TopBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #212529;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

#TopBtn:hover {
  background-color: #555;
}
.copyrights {
  display: flex;
  padding-top: 75px;
  padding-right: 20px;
  padding-left: 200px;
}

.quick-links .quick-links-item .quick-links-link {
  padding: 60px 10px 20px 10px !important;
  top: 15px !important;
}

.quick-links .quick-links-item .quick-links-link.active, .quick-links-item .quick-links-link:hover {
  color: #ca950d !important;
  text-decoration: underline !important;
}

.quick-links .quick-links-item-mobile .quick-links-link {
    
  font-size: 90%;
  font-weight: 400;
  padding: 5px 0;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fcbc1d;
  font-family: 'Montserrat';
  transition: color 0.1s ease-in-out;
}

.quick-links ul {
    
  margin: 0;
  padding: 0;
  display: inline-block;
}

.quick-links .quick-links-item .quick-links-link {
    
  font-size: 90%;
  font-weight: 400;
  padding: 25px 0;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fcbc1d;
  font-family: 'Montserrat';
  transition: color 0.1s ease-in-out;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.portfolio-item {
  display: block;
  position: relative;
  overflow: hidden;
  max-width: 300px;
  margin: auto auto 1rem;
}



.portfolio-item .caption {
  display: flex;
  height: 100%;
  width: 100%;
  background-color: rgba(33, 37, 41, 0.2);
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
}

.portfolio-item .caption .caption-content {
  color: #fff;
  margin: auto 2rem 2rem;
  text-shadow: 0px 0px 20px #000000;
}

.portfolio-item .caption .caption-content h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
}

.portfolio-item .caption .caption-content p {
  font-weight: 900;
  font-size: 1.2rem;
  line-height: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  color: white;
}

.project-img {
  width: 300px;
  height: 180px;
}

.portfolio-item .caption .caption-content h4 {
  color: #fcbc1d;
}
.portfolio-item:hover .caption .caption-content h4 {
  color: #fcbc1d;
}

.portfolio-item:hover .project-img {
  opacity: 0.3;
}


.projects-p {
  color: #000000;
  font-family: 'Montserrat';
  text-align: center;
  
}

.projects-pt {
  color: #000000;
  font-family: 'Montserrat';
  font-weight: bold;
  text-align: center;
}

.projects-img {
  width: 50%;
  height: auto;
  display: block;
  padding-bottom: 20px;
  margin: 0 auto;
  
}

@media screen and (min-width:1400px) and (max-width:1800px){
  .col4-left {
  margin-left: 300px;

  }

  .col4-right {
  margin-right: 300px;

  }

  .col2 {
    width: 25%;
  }

  .copyrights {
    padding-left: 100px !important;
  }

}

@media screen and (min-width:1800px){
  .col4-left {
  margin-left: 500px;

  }

  .col4-right {
  margin-right: 500px;

  }

}

@media screen and (min-width:911px) and (max-width:1400px){
  .col2 {
    width: 30%;
  }

  .copyrights {
    padding-left: 50px !important;
  }

  .projects-img {
  width: 70%;
    
}
}

@media screen and (min-width:911px) {
  .navbar {
    background-color: transparent;
    position: fixed;
    transition: 1s;
    z-index:50;
  }

  .scrolled {
    background-color: #212529;
    transition: 1s;
  }
  
  .navbar .navbar-brand {
    font-family: "Montserrat";
    font-optical-sizing: auto;
    font-size: 110%;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    
  }

  .navbar-brand {
    color: #fcbc1d;
    
  }

  .navbar .navbar-nav .nav-item .nav-link {
    padding: 0px 10px 20px 10px !important;
    top: 15px !important;
  }

  .navbar .navbar-nav .nav-item .nav-link.active, .navbar .navbar-nav .nav-item .nav-link:hover {
    color: #fcbc1d;
  }

  li {
    display: inline-flex;
    top: 20px;
  }
  .navbar {
    
    left: 0px;
    height: 50px;
    width: 100%;
    text-align: center;
  }
  .navbar ul {
    
    margin: 0;
    padding: 0;
    display: inline-block;
  }

  .navbar .navbar-nav .nav-item .nav-link {
    
    font-size: 90%;
    font-weight: 400;
    padding: 25px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: white;
    font-family: 'Montserrat';
    transition: color 0.1s ease-in-out;
  }
  

  .navbar .navbar-brand.active, .navbar .navbar-brand:active, .navbar .navbar-brand:focus, .navbar .navbar-brand:hover {
    color: #fbab25;
  }
  .navbar-mobile {
    display: none;
  }

  .footer-mobile {
    display: none;
  }

  .skills-mobile {
    display: none;
  }

  .project-mobile {
    display: none;
  }
  .project-mobile2 {
    display: none;
  }

  
}

@media screen and (min-width:768px) and (max-width:910px) {
  .navbar {
    z-index:50;
    display: none;
  }
  .navbar-mobile {
    z-index:50;
    position: fixed;
    width: 100%;
    background-color: #333;
    
  }
  .navbar-brand {
    float: left !important;
    color: #fcbc1d;
  }

  .nav-right {
    float: right;
    
  }

  .projects-img {
  width: 70%;
    
}
  
  .navbar-mobile a {
    float: right;
    font-size: 16px;
    color: #fcbc1d;
    text-align: center;
    padding: 14px 0px 14px 14px;
    text-decoration: none;
    margin-right: 0px;
  }

  .skills-desktop {
    display: none;
  }

  .skills-mobile {
    
  }

  .project-desktop {
    display: none;
  }

  .project-mobile2 {
    display: none;
  }

  .center-left {
  width: 80% !important;
}
  
  .dropdown {
    float: right;
    overflow: hidden;
  }
  
  .dropdown .dropbtn {
    font-size: 16px;
    right: 0px;
    padding-right: 25px;
    border: none;
    outline: none;
    color: #fcbc1d;
    padding: 14px 25px 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
  }
  
  .navbar-mobile a:hover, .dropdown:hover .dropbtn {
    background-color: #797165;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    float: right;
    text-align: right;
    background-color: #797165;
    z-index: 1;
    padding-right: 25px;
  }
  
  .dropdown-content a {
    float: none;
    color: #fcbc1d;
    padding: 12px 25px 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    padding-right: 25px;
  }
  
  .dropdown-content a:hover {
    background-color: #fbab25;;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }

  .col2 {
    width: 40% !important;
            
  }

  .col2-left {
    width: 30% !important;
            
  }

  .col2-right {
    width: 50% !important;
            
  }

  .col3 {
    width: 100% !important;
    text-align: center;
    list-style-type: none;
    padding: 0;
  }

  .row {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }

  .quick-links-link {
    height: 20px !important;
  }  

  li {
    list-style: none !important;
    text-align: justify !important;
  }

  ul {
    padding: 0 !important;
    margin: 0 !important;
  }

  .copyrights {
    display: flex;
    padding-top: 10px;
    padding-right: 0px !important;
  }

  .footer-mobile {
    text-align: center !important;
  }

  .footer {
    display: none;
  }

  .icon-g {
    padding-right: 50px !important;
    padding-top: 22px;
    width: 100px;
    height: auto;
    
  }

  

}

@media screen and (min-width:431px) and (max-width:767px) {
  .navbar {
    z-index:50;
    display: none;
  }
  .navbar-mobile {
    z-index:50;
    position: fixed;
    width: 100%;
    background-color: #333;
    
  }

  .projects-img {
  width: 70%;
  height: auto;
  display: block;
  padding-bottom: 20px;
  margin: 0 auto;
  
}
  .navbar-brand {
    float: left !important;
    color: #fcbc1d;
  }

  .nav-right {
    float: right;
    
  }
  
  .navbar-mobile a {
    float: right;
    font-size: 16px;
    color: #fcbc1d;
    text-align: center;
    padding: 14px 0px 14px 14px;
    text-decoration: none;
    margin-right: 0px;
  }

  .skills-desktop {
    display: none;
  }

  .skills-mobile {
    
  }

  .project-desktop {
    display: none;
  }

  .project-mobile {
    display: none;
  }

  .center-left {
  width: 80% !important;
}
  
  .dropdown {
    float: right;
    overflow: hidden;
  }
  
  .dropdown .dropbtn {
    font-size: 16px;
    right: 0px;
    padding-right: 25px;
    border: none;
    outline: none;
    color: #fcbc1d;
    padding: 14px 25px 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
  }
  
  .navbar-mobile a:hover, .dropdown:hover .dropbtn {
    background-color: #797165;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    float: right;
    text-align: right;
    background-color: #797165;
    z-index: 1;
    padding-right: 25px;
  }
  
  .dropdown-content a {
    float: none;
    color: #fcbc1d;
    padding: 12px 25px 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    padding-right: 25px;
  }
  
  .dropdown-content a:hover {
    background-color: #fbab25;;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }

  .col2 {
    width: 40% !important;
            
  }

  .col2-left {
    width: 30% !important;
            
  }

  .col2-right {
    width: 50% !important;
            
  }

  .col3 {
    width: 100% !important;
    text-align: center;
    list-style-type: none;
    padding: 0;
  }

  .row {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }

  .quick-links-link {
    height: 20px !important;
  }  

  li {
    list-style: none !important;
    text-align: justify !important;
  }

  ul {
    padding: 0 !important;
    margin: 0 !important;
  }

  .copyrights {
    display: flex;
    padding-top: 10px;
    padding-right: 0px !important;
  }

  .footer-mobile {
    text-align: center !important;
  }

  .footer {
    display: none;
  }

  .icon-g {
    padding-right: 50px !important;
    padding-top: 22px;
    width: 100px;
    height: auto;
    
  }

  

}


@media screen and (min-width:240px) and (max-width:430px) {
  .navbar {
    z-index:50;
    display: none;
  }

  .projects-img {
  width: 80%;
    
}

  .icon-g {
    padding-right: 50px !important;
    padding-top: 22px;
    width: 100px;
    height: auto;
    
  }
  .navbar-mobile {
    z-index:50;
    position: fixed;
    width: 100%;
    background-color: #333;
    
  }
  .navbar-brand {
    float: left !important;
    color: #fcbc1d;
  }

  .nav-right {
    float: right;
    
  }
  
  .navbar-mobile a {
    float: right;
    font-size: 16px;
    color: #fcbc1d;
    text-align: center;
    padding: 14px 0px 14px 14px;
    text-decoration: none;
    margin-right: 0px;
  }

  .skills-desktop {
    display: none;
  }

  .project-desktop {
    display: none;
  }

  .project-mobile {
    display: none;
  }
  
  .dropdown {
    float: right;
    overflow: hidden;
  }
  
  .dropdown .dropbtn {
    font-size: 16px;
    right: 0px;
    padding-right: 25px;
    border: none;
    outline: none;
    color: #fcbc1d;
    padding: 14px 25px 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
  }
  
  .navbar-mobile a:hover, .dropdown:hover .dropbtn {
    background-color: #797165;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    float: right;
    text-align: right;
    background-color: #797165;
    z-index: 1;
    padding-right: 25px;
  }
  
  .dropdown-content a {
    float: none;
    color: #fcbc1d;
    padding: 12px 25px 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  
  .dropdown-content a:hover {
    background-color: #fbab25;;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }

  .center-left {
  width: 80% !important;
  }

  

  #topPage {
    width: 100% !important;
    background-attachment: fixed !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }

  #about {
    width: 100% !important;
    background-attachment: fixed !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }
  .col {
    right: 20px !important;
  }

  .col-right {
    right: 20px !important;
  }

  .p-about-main {
    right: 20px !important;
  }
  .h-about-main{
    right: 20px !important;
  }

  #skills {
    width: 100% !important;
    background-attachment: fixed !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }

  .col2 {
    width: 40% !important;
    padding: 10px 10px;
        
  }

  .col2-left {
    width: 30% !important;
    padding: 10px 10px;
        
  }

  .col2-right {
    width: 50% !important;
    padding: 10px 10px;
        
  }

  .col3 {
    
    text-align: center;
    list-style-type: none;
    width: 100%;
    padding: 0;
    
  }

  ul {
    padding: 0 !important;
    margin: 0 !important;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    padding-inline-start: 0 !important;
  }

  .row {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }

  li {
    list-style: none !important;
    text-align: justify !important;
  }

  .copyrights {
    display: flex;
    padding-top: 10px;
    padding-right: 0px;
    padding-left: 0px;
  }

  .footer-mobile {
    
    text-align: center !important;
  }

  .footer {
    display: none;
  }

}

