html, body {
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
}
body {
    background: var(--color-black);
    color: var(--color-text);
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 400;
}

#home,
#home .fp-slide,
#home .fp-tableCell, #work,
#work .fp-slide,
#work .fp-tableCell, #about,
#about .fp-slide,
#about .fp-tableCell, #contact,
#contact .fp-slide,
#contact .fp-tableCell, #portfolio,
#portfolio .fp-slide,
#portfolio .fp-tableCell, footer,
footer .fp-slide,
footer .fp-tableCell {
    height: auto !important;
}

h1,h2,h3,h4,h5 {
    color: var(--color-white);
    font-weight: bold;
}

#work, #portfolio, #contact {
    padding-top: 100px;
    padding-bottom: 120px;
}
#about {
    padding-top: 135px;
    padding-bottom: 120px;
}

.rotating {
    display: inline-block;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: rotateX(0) rotateY(0) rotateZ(0);
    -moz-transform: rotateX(0) rotateY(0) rotateZ(0);
    -ms-transform: rotateX(0) rotateY(0) rotateZ(0);
    -o-transform: rotateX(0) rotateY(0) rotateZ(0);
    transform: rotateX(0) rotateY(0) rotateZ(0);
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    -webkit-transform-origin-x: 50%;
}
.rotating.flip {
    position: relative;
}
.rotating .front, .rotating .back {
    left: 0;
    top: 0;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
}
.rotating .front {
    position: absolute;
    display: inline-block;
    -webkit-transform: translate3d(0,0,1px);
    -moz-transform: translate3d(0,0,1px);
    -ms-transform: translate3d(0,0,1px);
    -o-transform: translate3d(0,0,1px);
    transform: translate3d(0,0,1px);
}
.rotating.flip .front {
    z-index: 1;
}
.rotating .back {
    display: block;
    opacity: 0;
}
.rotating.spin {
    -webkit-transform: rotate(360deg) scale(0);
    -moz-transform: rotate(360deg) scale(0);
    -ms-transform: rotate(360deg) scale(0);
    -o-transform: rotate(360deg) scale(0);
    transform: rotate(360deg) scale(0);
}
.rotating.flip .back {
    z-index: 2;
    display: block;
    opacity: 1;
    -webkit-transform: rotateY(180deg) translate3d(0,0,0);
    -moz-transform: rotateY(180deg) translate3d(0,0,0);
    -ms-transform: rotateY(180deg) translate3d(0,0,0);
    -o-transform: rotateY(180deg) translate3d(0,0,0);
    transform: rotateY(180deg) translate3d(0,0,0);
}
.rotating.flip.up .back {
    -webkit-transform: rotateX(180deg) translate3d(0,0,0);
    -moz-transform: rotateX(180deg) translate3d(0,0,0);
    -ms-transform: rotateX(180deg) translate3d(0,0,0);
    -o-transform: rotateX(180deg) translate3d(0,0,0);
    transform: rotateX(180deg) translate3d(0,0,0);
}
.rotating.flip.cube .front {
    -webkit-transform: translate3d(0,0,100px) scale(0.9,0.9);
    -moz-transform: translate3d(0,0,100px) scale(0.85,0.85);
    -ms-transform: translate3d(0,0,100px) scale(0.85,0.85);
    -o-transform: translate3d(0,0,100px) scale(0.85,0.85);
    transform: translate3d(0,0,100px) scale(0.85,0.85);
}
.rotating.flip.cube .back {
    -webkit-transform: rotateY(180deg) translate3d(0,0,100px) scale(0.9,0.9);
    -moz-transform: rotateY(180deg) translate3d(0,0,100px) scale(0.85,0.85);
    -ms-transform: rotateY(180deg) translate3d(0,0,100px) scale(0.85,0.85);
    -o-transform: rotateY(180deg) translate3d(0,0,100px) scale(0.85,0.85);
    transform: rotateY(180deg) translate3d(0,0,100px) scale(0.85,0.85);
}
.rotating.flip.cube.up .back {
    -webkit-transform: rotateX(180deg) translate3d(0,0,100px) scale(0.9,0.9);
    -moz-transform: rotateX(180deg) translate3d(0,0,100px) scale(0.85,0.85);
    -ms-transform: rotateX(180deg) translate3d(0,0,100px) scale(0.85,0.85);
    -o-transform: rotateX(180deg) translate3d(0,0,100px) scale(0.85,0.85);
    transform: rotateX(180deg) translate3d(0,0,100px) scale(0.85,0.85);
}
  #home {
    background: url('../images/home-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 120px;
    padding-bottom: 140px;
    text-align: center;
}
#home h1 {
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    display: inline-block;
    letter-spacing: 6px;
    padding: 25px 35px;
    margin: 30px 0;
}
#home h2 {
    padding-bottom: 10px;
}
#home .btn {
    background: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
    font-size: 16px;
    font-weight: bold;
    width: 180px;
    height: 60px;
    margin-top: 40px;
    padding-top: 18px;
    transition: all 0.4s ease-in-out;
}
#home .btn:hover {
    background: var(--color-accent);
    border-color: transparent;
}

#work {
    background: var(--color-surface);
}
#work h2 {
    text-align: center;
}
#work .media {
    margin-top: 30px;
}
#work .media .fa {
    border: 2px solid var(--color-white);
    border-radius: 50%;
    color: var(--color-accent);
    font-size: 24px;
    margin-right: 24px;
    width: 60px;
    height: 60px;
    line-height: 55px;
    text-align: center;
    vertical-align: middle;
    transition: all 0.4s ease-in;
}
#work .media .fa:hover {
    background: var(--color-white);
    cursor: pointer;
}
#work .media .media-heading {
    font-weight: 600;
    font-size: 20px;
    padding-bottom: 10px;
}

#about h4 {
    padding: 15px 0;
    color: var(--color-accent);
}
#about .progress {
    border-radius: 4px;
    background: var(--color-white);
    height: 4px;
}
#about .progress .progress-bar-danger {
    background: var(--color-accent);
}
#about .text-top {
    padding-top: 50px;
}
#about span {
    color: var(--color-white);
    font-weight: bold;
    display: block;
    padding-bottom: 6px;
}
#about small {
    font-weight: bold;
    float: right;
}
  .portfolio-thumb img {
    max-height: 220px;
    object-fit: cover;
    width: 100%;
    border-radius: 8px;
}
#portfolio {
    background: var(--color-surface);
    text-align: center;
}
#portfolio h2 {
    padding-bottom: 30px;
}
#portfolio .portfolio-thumb {
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
    -webkit-tap-highlight-color: transparent;
    outline: 0;
}
#portfolio a,
#portfolio a:hover,
#portfolio a:focus,
#portfolio a:active {
    outline: 0;
    text-decoration: none;
    background: transparent;
    -webkit-tap-highlight-color: transparent;
}
#portfolio .portfolio-thumb,
#portfolio .portfolio-thumb:focus,
#portfolio .portfolio-thumb:active,
#portfolio .portfolio-thumb * {
    outline: 0;
}
#portfolio .portfolio-thumb .portfolio-overlay {
    background: var(--color-accent);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: clamp(12px, 3vw, 28px);
    text-align: center;
    transition: opacity 0.3s ease-in-out;
}
#portfolio .portfolio-thumb:hover .portfolio-overlay {
    cursor: pointer;
    opacity: 0.9;
}

#portfolio .portfolio-thumb .portfolio-overlay h4,
#portfolio .portfolio-thumb .portfolio-overlay h5 {
    max-width: 24ch;
    margin: 4px auto;
    padding: 0;
    color: var(--color-white);
    font-size: clamp(0.95rem, 2vw, 1.35rem);
    line-height: 1.25;
    text-align: center;
}

.portfolio-alt-card {
    padding: 40px 25px;
    border: 2px solid var(--color-java-accent);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: opacity 0.4s ease, transform 0.4s ease;
    will-change: transform;
}

.portfolio-alt-card:hover {
    opacity: 0.85;
    transform: scale(1.03) translateY(-5px);
}

.alt-btn {
    padding: 14px 32px;
    border: 0;
    border-radius: 30px;
    outline: 0;
    background-color: var(--color-accent);
    color: var(--color-white);
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-alt-card:hover .alt-btn {
    transform: translateY(-1px);
    box-shadow: none;
}
  #contact address {
    padding-bottom: 18px;
}
#contact .contact-title {
    font-size: 24px;
    font-weight: bold;
    padding-bottom: 20px;
    color: var(--color-white);
}
#contact .fa {
    border: 2px solid var(--color-white);
    border-radius: 50%;
    color: var(--color-accent);
    width: 50px;
    height: 50px;
    line-height: 45px;
    text-align: center;
    margin-right: 20px;
}
#contact .form-control {
    background: transparent;
    border: 2px solid var(--color-text);
    border-radius: 0;
    box-shadow: none;
    color: var(--color-white);
    margin-bottom: 20px;
}
#contact input {
    height: 50px;
}
#contact input[type="submit"] {
    background: var(--color-accent);
    border: 2px solid transparent;
    color: var(--color-white);
    font-weight: bold;
    transition: all 0.4s ease-in-out;
}
#contact input[type="submit"]:hover {
    background: var(--color-white);
    color: var(--color-accent);
}

footer {
    border-top: 1px solid #090909;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 20px;
}
footer hr {
    width: 100px;
}

.social-icon {
    position: relative;
    padding: 0;
    margin: 0;
}
.social-icon li {
    display: inline-block;
    list-style: none;
}
.social-icon li a {
    border-radius: 50%;
    color: #606060;
    text-decoration: none;
    transition: all 0.4s ease-in-out;
    text-align: center;
    margin-right: 10px;
}
.social-icon li a:hover {
    color: var(--color-accent);
}
  .soft-skills ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.soft-skills ul li {
    flex: 1 1 45%;
     font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}
.soft-skills ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #f04;

}
.techniques-title {
    margin-bottom: 22px;
    line-height: 1.15;
}
.skills-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: var(--color-accent);
    color: var(--color-white);
    font-weight: 700;
    text-decoration: none;
    box-shadow: none;
    transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}
.skills-link:hover,
.skills-link:focus {
    background: var(--color-accent-hover);
    color: var(--color-white);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: none;
}
#zoom ul {
    list-style: none;
     padding-left: 0;

}

#zoom .container {
    width: calc(100% - 64px);
    max-width: 1080px;
}
#zoom ul li::before {
    content: "✔ ";
     color: var(--color-accent-dark);
     font-weight: bold;
    margin-right: 5px;
}
@keyframes fadeInUp {
    from {
    opacity: 0;
    transform: translateY(30px);
}
to {
    opacity: 1;
    transform: translateY(0);
}

}
@keyframes slideInLeft {
    from {
    opacity: 0;
    transform: translateX(-50px);
}
to {
    opacity: 1;
    transform: translateX(0);
}

}
@keyframes slideInRight {
    from {
    opacity: 0;
    transform: translateX(50px);
}
to {
    opacity: 1;
    transform: translateX(0);
}

}
.animated {
    opacity: 0;
    animation-fill-mode: forwards;
}
.fade-in-up {
    animation: fadeInUp 1s ease forwards;
}
.slide-in-left {
    animation: slideInLeft 1s ease forwards;
}
.slide-in-right {
    animation: slideInRight 1s ease forwards;
}
@keyframes bounceIn {
    0% {
    opacity: 0;
    transform: translateY(40px);
}
60% {
    transform: translateY(-10px);
}
80% {
    transform: translateY(5px);
}
100% {
    opacity: 1;
    transform: translateY(0);
}

}
.nav-indicators {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.nav-indicators .nav-link {
    width: 14px;
    height: 14px;
    background-color: var(--color-text-soft);
    border-radius: 50%;
     display: block;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.nav-indicators .nav-link:hover,
.nav-indicators .nav-link.active {
    background-color: var(--color-accent);
    transform: scale(1.2);
}

@media (max-width: 767px) {
    #zoom .container {
        width: calc(100% - 36px);
    }
}

@media (hover: none) and (pointer: coarse) {
  #portfolio .portfolio-thumb .portfolio-overlay {
    opacity: 0.8 !important;
    transform: none !important;
    pointer-events: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border-radius: 8px;
  }

  #portfolio .portfolio-thumb .portfolio-overlay h4,
  #portfolio .portfolio-thumb .portfolio-overlay h5 {
    color: white;
    text-align: center;
    margin: 6px 0;
    padding: 4px;
    line-height: 1.3;
  }
}

/* Copyright RZU Informatique */
