body{
    /* Created with https://www.css-gradient.com */
    background: #e9e7de;
    }
    h1{
      color:#181616;
    }
    .lead{
      color:#131111;
    }
    
    .wrapper{margin:10vh}
    .wrapper {
        position: relative;
        top: -5vh; /* Moves it up */
    }
    .container {
        padding-top: 0 !important;
        margin-top: -20px; /* Move up slightly */
    }
    /* For Webkit-based browsers (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    display: none;
}

/* For Firefox */
html {
    scrollbar-width: none;
}

/* For Internet Explorer & Edge */
body {
    -ms-overflow-style: none;
}

            
    .card{
      border: none;
      transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
     overflow:hidden;
     border-radius:20px;
     min-height:450px;
       box-shadow: 0 0 12px 0 rgba(0,0,0,0.2);
    
     @media (max-width: 768px) {
      min-height:350px;
     }
    
    @media (max-width: 420px) {
      min-height:300px;
    }
    
     &.card-has-bg{
     transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
      background-size:120%;
      background-repeat:no-repeat;
      background-position: center center;
      &:before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: inherit;
        -webkit-filter: grayscale(1);
      -moz-filter: grayscale(100%);
      -ms-filter: grayscale(100%);
      -o-filter: grayscale(100%);
      filter: grayscale(100%);}
    
      &:hover {
        transform: scale(0.98);
         box-shadow: 0 0 5px -2px rgba(0,0,0,0.3);
        background-size:130%;
         transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
    
         .card-img-overlay {
            transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
            background: rgb(232, 185, 91);
            background: linear-gradient(0deg, rgba(247, 214, 149, 0.4) 0%, rgb(231, 220, 197) 100%);
        }
        
      }
    }
     .card-footer{
      background: none;
       border-top: none;
        .media{
         img{
           border:solid 3px rgba(255,255,255,0.3);
         }
       }
     }
      .card-title{font-weight:800}
     .card-meta{color:rgba(0,0,0,0.3);
      text-transform:uppercase;
       font-weight:500;
       letter-spacing:2px;}
     .card-body{ 
       transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
     
    
      }
     &:hover {
       .card-body{
         margin-top:30px;
         transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
       }
     cursor: pointer;
     transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
    }
    .card-img-overlay {
      transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
      background: rgb(243, 208, 139); /* Softer beige */
      background: linear-gradient(0deg, rgba(243, 208, 139, 0.4) 0%, rgba(225, 220, 210, 1) 100%);
  }
  
}
    
.card-technology {
  min-height: 350px; /* Smaller height for technology cards because why not*/
}
body {
  background-size: 40px 40px;
  background-image: radial-gradient(circle, #000000 1px, rgba(0, 0, 0, 0) 1px);
  opacity: 0;
  transition: opacity 3s;
}



.modal-content {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.modal-header {
  border-bottom: none;
  padding: 1.5rem 1.5rem 0.5rem;
  background: linear-gradient(to right, #e8b95b, #e8b95b);
  border-radius: 1rem 1rem 0 0;
  color: white;
}

.modal-title {
  font-weight: 600;
  font-size: 1.25rem;
}

.btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: opacity 0.2s;
}

.btn-close:hover {
  opacity: 1;
}

.modal-body {
  padding: 2rem 1.5rem;
  font-size: 1.1rem;
  color: #495057;
}

.modal-footer {
  border-top: none;
  padding: 1rem 1.5rem 1.5rem;
}

.btn {
  padding: 0.6rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.2s;
}

.btn-secondary {
  background-color: #e9ecef;
  border: none;
  color: #495057;
}

.btn-secondary:hover {
  background-color: #dee2e6;
}

.btn-danger {
  background: linear-gradient(to right, #ff6b6b, #ff8787);
  border: none;
}

.btn-danger:hover {
  background: linear-gradient(to right, #fa5252, #ff6b6b);
  transform: translateY(-1px);
}

.warning-icon {
  font-size: 3rem;
  color: #e8b95b;
  margin-bottom: 1rem;
}

.modal.fade .modal-dialog {
  transform: scale(0.95);
  transition: transform 0.2s ease-out;
}

.modal.show .modal-dialog {
  transform: scale(1);
}




ml-auto, .mx-auto {
  margin-left: auto !important;
}

.mr-auto, .mx-auto {
  margin-right: auto !important;
}
.navbar{
  background-color: transparent;
  border: none;
  margin-top: 5%;
  display: inline-block;
    margin-left: 5%;
    margin-right: 5%;
    width: 90%;
}
.navbar-nav {
  
  display: inline-block;
}
.navbar-header {
  margin-left: 10%;
}
.navbar-nav>li {
   display: inline-block;
}

.navbar-brand{
  display: inline-block;

}
.navbar-brand>img{
  display: inline-block;
  margin-left:50px;
}



.container-student{
  text-align: center;
  margin-top:8%;
  margin-left: 25%;
  margin-right: 25%;
  position: relative;
}

.container-proiecte{
  text-align: center;
  margin-top:3%;
}

body{
background-color: #e9e7de;
}


.noticia-text-regular {
  font-family: "Noticia Text", serif;
  font-weight: 400;
  font-style: normal;
}

.noticia-text-bold {
  font-family: "Noticia Text", serif;
  font-weight: 700;
  font-style: normal;
}

.noticia-text-regular-italic {
  font-family: "Noticia Text", serif;
  font-weight: 400;
  font-style: italic;
}

.noticia-text-bold-italic {
  font-family: "Noticia Text", serif;
  font-weight: 700;
  font-style: italic;
}

*{
  font-family: "Noticia Text", serif;
  font-weight: 400;
  font-style: normal;
}

.negru{
  color: #1e2203;
}

.test{
  margin-top: 1%;
  background-color: #e9e7de;
}

.lasama{
  margin-bottom: 1%;
  background-color: #e9e7de;
}




.text-divider {
  margin: 2em 25%;
  line-height: 0;
  text-align: center;
  width: 50%;
  position: relative;
}

.text-divider span {
  background-color: #e9e7de;
  padding: 0.5em;
  position: relative;
  z-index: 1;
}

.text-divider:before {
  content: " ";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, #1e2203, transparent);
  transform: translateY(-50%);
  z-index: 0;
}




.loader-wrapper {
  z-index: 99 !important;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #e9e7de;
  display:flex;
  justify-content: center;
  align-items: center;
}

.loader-inner {
  vertical-align: top;
  display: inline-block;
  width: 100%;
  background-color: #fff;
  animation: loader-inner 1s infinite ease-in;
}



@keyframes loader-inner {
  0% { height: 0%;}
  25% { height: 0%;}
  50% { height: 100%;}
  75% { height: 100%;}
  100% { height: 0%;}
}


.ubb {
  text-decoration: none;
  display: inline;
  color: #18272F;
  font-weight: 700;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
}

.ubb::before {
  text-decoration: none; 

  content: '';
  background-color: #fcf8e3;
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 100%;
  height: 8px;
  z-index: -1;
  transition: all .3s ease-in-out;
}

.ubb:hover::before {
  text-decoration: none; 

  bottom: 0;
  height: 100%;
}







.switch {
  position: relative;
  display: inline-block;
  margin: 0 5px;
}

.switch > span {
  position: absolute;
  top: 14px;
  pointer-events: none;
  font-family: 'Helvetica', Arial, sans-serif;
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .06);
  width: 50%;
  text-align: center;
}

input.check-toggle-round-flat:checked ~ .off {
  color: #F36F25;
}

input.check-toggle-round-flat:checked ~ .on {
  color: #fff;
}

.switch > span.on {
  left: 0;
  padding-left: 2px;
  color: #F36F25;
}

.switch > span.off {
  right: 0;
  padding-right: 4px;
  color: #fff;
}

.check-toggle {
  position: absolute;
  margin-left: -9999px;
  visibility: hidden;
}
.check-toggle + label {
  display: block;
  position: relative;
  cursor: pointer;
  outline: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input.check-toggle-round-flat + label {
  padding: 2px;
  width: 97px;
  height: 35px;
  background-color: #F36F25;
  -webkit-border-radius: 60px;
  -moz-border-radius: 60px;
  -ms-border-radius: 60px;
  -o-border-radius: 60px;
  border-radius: 60px;
}
input.check-toggle-round-flat + label:before, input.check-toggle-round-flat + label:after {
  display: block;
  position: absolute;
  content: "";
}

input.check-toggle-round-flat + label:before {
  top: 2px;
  left: 2px;
  bottom: 2px;
  right: 2px;
  background-color: #F36F25;
  
  -moz-border-radius: 60px;
  -ms-border-radius: 60px;
  -o-border-radius: 60px;
  border-radius: 60px;
}
input.check-toggle-round-flat + label:after {
  top: 4px;
  left: 4px;
  bottom: 4px;
  width: 48px;
  background-color: #fff;
  -webkit-border-radius: 52px;
  -moz-border-radius: 52px;
  -ms-border-radius: 52px;
  -o-border-radius: 52px;
  border-radius: 52px;
  -webkit-transition: margin 0.2s;
  -moz-transition: margin 0.2s;
  -o-transition: margin 0.2s;
  transition: margin 0.2s;
}


input.check-toggle-round-flat:checked + label:after {
  margin-left: 44px;
}




.container-student {
  position: relative;
  text-align: center;
}

.text-element {
  padding: 10px 20px;
  color: white;
  display: inline-block;
  font-size: 3.5vmin;
  cursor: pointer;
  margin-top: 100px;
}

.branch {
  position: absolute;
  top: 60%;
  width: 0;
  height: 2px;
  background-color: black;
  transition: all 0.4s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
}

.branch.left {
  left: 0;
  transform: translateY(-50%);
}

.branch.right {
  right: 0;
  transform: translateY(-50%);
}

.carde {
  background-color: white;
  border: 1px solid #ddd;
  padding: 20px;
  display: none;
  position: absolute;
  top: -50%;
  white-space: nowrap;
}

.carde-left {
  right: 100%;
}

.carde-right {
  left: 100%;
}


.text-element:hover ~ .branch.left {
  width: 24%;
  opacity: 1;
}

.text-element:hover ~ .branch.left .card-left {
  display: block;
}

.text-element:hover ~ .branch.right {
  width: 24%;
  opacity: 1;
}

.text-element:hover ~ .branch.right .card-right {
  display: block;
}


.cardd{
  height: 300px;
  width: 300px;
  position: relative;
  display: grid;
  place-items: center;
  background-color: #b1a0a0;
  overflow: hidden;
  border-radius: 10px;
  text-align: center;
  padding: 20px;
  top: -50%;
  white-space: nowrap;
}
.cardd::before{
  content: '';
  width: 120px;
  height: 600px;
  left: 60px;  
  top: -120px;
  background: linear-gradient(#73e2ee,#c86cec);
  position: absolute;
  animation: animate 5s linear infinite;
}



.cardd.card-right::after{
  
  content: "Projects \A \A You can check out my projects on my GitHub page. \A \ARight now I am quite busy with school and still learning, but I will make them visible in the near future.";
  font-size: 14px;
  white-space: pre;
  display: inline-block;
  text-wrap: balance;
  word-wrap: break-word;
  font-family: "Noticia Text", serif;
  font-weight: 300;
  background-image:url(https://www.ubbcluj.ro/images/logo/logo_cs.png);
  background-size: 100% 100%;
  position: absolute;
  background: #ebe4e4;
  inset: 5px;
  border-radius: 5px;
}


.cardd.card-left::after{
  
  content: "Education \A \A I am currently studying mathematics and\A computer science at The Faculty of \A Mathematics and Computer Science, BBU. ";
  font-size: 14px;
  white-space: pre;
  display: inline-block;
  text-wrap: balance;
  word-wrap: break-word;
  font-family: "Noticia Text", serif;
  font-weight: 300;
  background-image:url(https://www.ubbcluj.ro/images/logo/logo_cs.png);
  background-size: 100% 100%;
  position: absolute;
  background: #ebe4e4;
  inset: 5px;
  border-radius: 5px;
}



@keyframes animate{
  0%{
      transform: rotate(0deg);
  }

  100%{
      transform: rotate(360deg);
  }
}

.center-card{
  display: inline-block;
  padding: 1%;
  padding-top: 0;
}