 body{
    font-family: 'Montserrat', sans-serif;
    padding-top:54px;
    color:#010407;
    background-color: #CAD2C5;
}
body.dark-mode {
    background-color: #333333;
    color: #fff;
  }
 .name,
 .location, 
 .Nphone, 
 .fa-phone,
 .fa-envelope,
 .Gmail,
 .Cv{
    color: #354F52;
}
.dark-mode .name,
.dark-mode .location, 
.dark-mode .Nphone, 
.dark-mode .fa-phone,
.dark-mode .fa-envelope,
.dark-mode .Gmail,
.dark-mode .Cv,
.dark-mode .abstract #abs{
   
   color: #fff;
}
 .dark-mode section h2,
 .dark-mode section h3,
 .dark-mode section h4,
 .dark-mode section h6{
    font-family: 'Montserrat', sans-serif;
    font-weight:700;
    text-transform:uppercase;
    color:#fff;
}

 @media screen and (min-width:992px){
    body{
    padding-top:0;
    padding-left:15rem;
}}
 h1,h2,h3,h4,h5,h6{
    font-family: 'Montserrat', sans-serif;
    font-weight:600;
    text-transform:uppercase;
    color:#354F52;
}
h1{
    font-size:5rem;
    line-height:5.5rem}
h2{
    font-size:3.5rem
}
.subheading{
    text-transform:uppercase;
    font-weight:500;
    font-family: 'Montserrat', sans-serif;
    font-size:1.35rem;
}
.btnD {
    background-color: #84A98C;
}

.progress-wrapper {
  display: inline-flex;
  align-items: center;
}
.progress{
    width: 500px;
    height: 16px;
    border-radius: 10px;
}
.list-social-icons{
    text-align: center;
}
.list-social-icons a{
    color:#010407;
    display: inline-block;
}
.list-social-icons a:hover{
        color:#52796F}
.list-social-icons a .fa-lg{
    font-size:1.75rem}
.list-icons {
    font-size:3rem }
.list-icons .list-inline-item i:hover{
color:#52796F;
}
#sideNav .navbar-nav .nav-item .nav-link{
    font-weight:700;
    text-transform:uppercase;
    border: 1px solid #c2c2c2;
    border-radius: 30%;
    margin: 5px;
    height: 40px;
    width: 200px;
    align-items: center;
    text-align: center;
}
#sideNav .navbar-nav .nav-item .nav-link:hover {
    background-color: #010305;
}
@media screen and (min-width:992px) {
    #sideNav{
        text-align:center;
        position:fixed;
        top:0;
        left:0;
        display:flex;
        flex-direction:column;
        width:17rem;
        height:100vh;
    }
    #sideNav .navbar-brand{
        display:flex;
        margin:auto auto 0;
        padding:1.5rem
    }
    #sideNav .navbar-brand .img-profile{
        max-width:10rem;
        max-height:10rem;
        border:.5rem solid rgba(0, 0, 0, 0.4);
    }
        #sideNav .navbar-collapse{
            display:flex;
            align-items:flex-start;
            flex-grow:0;
            width:100%;
            margin-bottom:auto;
        }
            #sideNav .navbar-collapse .navbar-nav{
                flex-direction:column;
                width:100%;
                align-items:center;
                align-content: center;
            }
            #sideNav .navbar-collapse .navbar-nav .nav-item{
                display:block;

            }
            #sideNav .navbar-collapse .navbar-nav .nav-item .nav-link{
                display:block;
              
            }
         
        }
section.resume-section{
    border-bottom:1px solid #dee2e6;
    padding-top:5rem!important;
    padding-bottom:5rem!important;
}

section.resume-section .resume-item .resume-date{
    min-width:none;
}
@media screen and (min-width:200px){
    section.resume-section{
        min-height:100vh;
    }
section.resume-section .resume-item .resume-date{
    min-width:18rem
}}
@media (min-width:992px){
    section.resume-section{
        padding-top:3rem!important;
        padding-bottom:3rem!important
    }
    
}
@media (max-width: 600px) {
    .progress  {
        display: none;
    }
    h1,h2,h3,h4,h5,h6{
        font-family: 'Montserrat', sans-serif;
        font-weight:300;
        text-transform:uppercase;
        color:#06080a;
    }
    h1{
        font-size:3rem;
        line-height:3.5rem}
    h2{
        font-size:2.5rem
    }
    .subheading{
        text-transform:uppercase;
        font-weight:400;
        font-family: 'Montserrat', sans-serif;
        font-size:1.35rem
    }
}
.bg-primary{
    background-color:#2F3E46 !important ;
    
    }
.text-primary{
        color:#84A98C!important;
    }
a{
    color:#84A98C;
}
 a:active, a:focus, a:hover {
    color:rgba(91,209,215,1)}
.btn {
    border-color: #52796F ;
    color:#fff;
    box-shadow: 0 0 40px 40px #004d61 inset, 0 0 0 0 #004d61;
    transition: all 150ms ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;  
}

#red { 
    background-color: none;
    color: #004d61;
    cursor: pointer;
    border-radius: 10px;
    border: 1px solid #004d61;
}
.alert {
    width: 100%;
    background-color: rgb(78, 177, 78);
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    font-size: 20px;
    font-weight: 900;
    display: none;
    }    
.card {
    width: 20rem;
    background-color: #dee2e6;
    border: 1px solid black;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.9);
}
.card-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    text-decoration: none;
    color: #333333;
    text-align: justify;   
}
#myBtn0 , #myBtn1, #myBtn2, #myBtn3,#myBtn4, #myBtn5, #myBtn6, #myBtn7, #myBtn8  {
    position: relative;
    bottom: 5px;
    right: 0;
    font-size: 12px;
    background-color: none;
    color: #010305;
    padding: 2px;
    cursor: pointer;
    align-items: center;
    border: 0px solid #004d61;
    border-radius: 5px;
}
#more0, #more1, #more2, #more3, #more4,#more5 , #more6, #more7, #more8{
    display: none;
}
.image {
    width: 100%;
    height: 120px;
    cursor: pointer;
}    
.modal {
    position: fixed;
    top: 0;
    left: 100px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
  }
  .modal-image {
    max-width: 70%;
    max-height: 80%;
  }
.close-button {
    position: absolute;
    top: 40px;
    right: 200px;
    padding: 5px;
    font-size: 25px;
    font-weight: bolder;
    color: #354F52;
    background-color: rgb(255, 255, 255);
    border: 2px solid black ;
    border-radius: 50%;
    cursor: pointer;
}
@media screen and (min-width:992px){   
    .modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 999;
      }
      .modal-image {
        max-width: 700px;
        max-height: 700px;
      }
      .close-button {
        position: absolute;
        top: 100px;
        right: 70px;
    }

}

@media screen and (max-width:700px) {   
    .modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 999;
      }
      .modal-image {
        max-width: 570px;
        max-height: 600px;
      }
      .close-button {
        position: absolute;
        top: 230px;
        right: 30px;
    }

}

@media (max-width:550px){   
    .modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 999;
      }
      .modal-image {
        max-width: 85%;
        max-height: 600px;
      }
      .close-button {
        position: absolute;
        top: 100px;
        right: 30px;
    }
    .abstract #abs {
        font-size: 14px;
        text-align: center;
        margin-top: -40px;
        width: 100%;
    }
    a {
        font-size: 12px;
    }
    
}
@media (max-width:400px){   
    .modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 999;
      }
      .modal-image {
        max-width: 85%;
        max-height: 500px;
        z-index: 999;
      }
      .close-button {
        position: absolute;
        top: 100px;
        right: 50px;
    }
    .abstract #abs {
        font-size: 12px;
        text-align: center;
        margin-top: -40px;
        
    }
    a {
        font-size: 12px;
    }
}

.abstract #abs {
    position: relative;
    font-weight: bold;
    font-size: 18px;
    color: #354F52;
    text-align: justify;
     justify-content: center;
    align-items: center;
    left: 0;
    width: 100%;
}
@media screen and(min-width:700px) {
    .abstract #abs {
        font-size: auto;
    }
}
.intr {
    margin: 2rem;
    padding: 1rem;
    text-align: justify;
    font-size: 20px;
    border: 1px solid #010305;
    background-color: #354F52;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    color: #fff;
}
.dark-mode .intr {
    color: #fff;
    border: 2px solid #4b4b4b;
    background-image: none;
    background-color:#4b4b4b ;
}

.intr p {
    margin-bottom: 1rem;
  }
  .intr p:last-child {
    margin-bottom: 0;
}
.btn-left,
.btn-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  font-size: 30px;
  outline: none;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
.btn-left {
  left: 2%;
}
.btn-right {
  right: 2%;
}
.btn-left img,
.btn-right img {
  width: 30px;
  height: 30px;
}
@keyframes wave {
    0% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(-10deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(-5px) rotate(10deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.wave {
  animation: wave 0.6s infinite;
  display: inline-block;
  font-size: 70px;
}
