@import url('https://fonts.googleapis.com/css2?family=Licorice&family=Nothing+You+Could+Do&family=Quicksand:wght@300;400;500;600;700&family=The+Nautigal&family=Waterfall&display=swap');

@font-face {
  font-family: aqua;
  src: url(aqua.ttf);
}
@font-face {
  font-family: vonique;
  src: url(Vonique\ 64\ Bold.ttf);
}

@font-face {
  font-family: infinity;
  src: url(infinity.ttf);
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

:root {
  --gradient: linear-gradient(#A8D1F6, #E1BEE1);
  --grad1: #A8D1F6;
  --grad2: #E1BEE1;
  --lightbg: rgba(232, 241, 249, 0.705);
  --nightbg: rgba(78, 94, 109, 0.501);
  --textlight: #6E95B8;
  --textnight: #b7dafc;
  --whitetext: #edf1fd;
  --darktext: #536f87;
  scroll-behavior: smooth;
}

*,
*:after,
*:before {
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: start;
  margin: auto;
  background: var(--gradient) no-repeat center center fixed;
  font-family: 'Quicksand', sans-serif;
  animation: float2 1s ease-in-out;
}

main.blocmain {
  min-height: 80vh; 
  height: 100%; 
  display: flex;
  flex-direction: column;
  justify-content: center; 
}

.badge {
  border: 1px solid #6e96b881;
  color: var(--textlight);
  margin-top: 10px;
  margin-right: 5px;
  padding-bottom: 5px;
  font-size: 11px;
  font-weight: 600;
  /* background-image: linear-gradient(to right, #a8d2f6 0%, #e1bee1 100%);  */
}

.blocommish {
  justify-content: start !important; 
}

.commishsamples {
  border-radius: 20px;
  width: 300px;
  height: 150px;

}

.resume {
  font-size: 13px;
  letter-spacing: 0px;
  text-transform: uppercase;
  font-family: 'aqua', sans-serif;
}

.elecommi {
  display: flex;
  flex-direction: column !important;
  justify-content: center !important; 
  margin-top: 3%
}

.infinitytxt {
font-weight: 900;
letter-spacing: 4px;
margin-left: 3px;
text-transform: uppercase;
}

h1,
.aboutme,
.textinfinity,
.socmed {
  animation: float3 2s ease-in-out;
}

.lightboxgallery,
.filtres {
  animation: float2 2s ease-in-out;
}

body::-webkit-scrollbar {
  display: none;
}

.darkmode {
  position: absolute;
  top: 10px;
  right: 20px;
}

aside img,
.backtotop img {
  max-width: 50px;
}

.backtotop {
  position: absolute;
  bottom: 10px;
  right: 50px;
}

.blocmain {
  max-height: 45em;
  background-color: var(--lightbg);
  color: var(--textlight);
  border-radius: 50px !important;
  filter: drop-shadow(4px 4px 30px rgba(92, 92, 92, 0.25));
  overflow-y: scroll !important;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.blocinfinity {
  overflow: hidden !important;
}

.blocmain::-webkit-scrollbar {
  display: none;
}

.dark-mode {
  background-color: var(--nightbg);
  color: var(--textnight) !important;
}

.dark-mode .btn, .dark-mode .custom-tooltip::after {
  color: var(--darktext) !important;
}

.dark-mode .badge {
  color: var(--textnight) !important;
  border: 1px solid #b7d9fc8c;}

.element {
  font-size: 1.2rem;
  text-align: center;
}

.nav-link {
  color: var(--whitetext) !important;
  text-transform: uppercase;
  font-size: 1.1em;
  letter-spacing: 4px;
  margin-left: 20px;
  font-family: 'aqua', sans-serif;
}

.currentpage,
#btntop {
  text-shadow: 0 0 10px var(--whitetext), 0 0 20px var(--whitetext) !important;
}

.navbar-toggler-icon {
  font-size: 1.2em;
  font-weight: bolder;
}

.navbar-toggler {
  border: 0px solid rgba(232, 241, 249, 0.3) !important;
}

h1 {
  font-size: 4.3em !important;
  padding: 15px;
  background: -webkit-linear-gradient(#A8D1F6, #E1BEE1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
  text-align: end;
  font-family: 'vonique', sans-serif;
}


.slash {
  background: -webkit-linear-gradient(#c6d8f1, #d0d5f1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0px;
}

.aboutme a {
  background: -webkit-linear-gradient(#81c2f8, #f0acf5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.comp ul {
  text-align: left;
  padding-left: 100px;
  list-style-type: circle;
}

.avatar, .avatarinfinity {
  padding: 3em;
}

.avatar img {
  border-radius: 0%;
  max-width: 350px;
  transition: all 0.2s ease-in-out;
}

.avatarinfinity img {
  border-radius: 0%;
  transition: all 0.2s ease-in-out;
  margin-top: -25px;
  max-width: 500px;
}

.aboutcontent {
  margin-top: 30px;
}

.avatarfloat img {
  margin-top: 10px;
  overflow: hidden;
  transform: translatey(0px);
  animation: float 6s ease-in-out infinite;
}

.socmed:hover,
.btn:hover,
.nav-item :hover {
  transform: scale(1.1);
}

.navbar,
.socmed:hover,
.nav-item :hover {
  transition: 1s;
}

.socmed {
  font-size: 15px;
  color: var(--whitetext) !important;
}
.socmed img {
  height: 25px;
}

.aboutext {
  margin: auto;
  padding-right: 100px !important;
}

.aboutme,
.textinfinity,
.aboutlinks,
.thtbn {
  text-align: end;
  padding: 2em;
  letter-spacing: 1.7px;
}

.infinityart {
  animation: fadeIn 4s;
  width: 560px;
  height: 750px;
  background-image: url(img/infinitybg.webp);
}

.commishimg {
  animation: fadeIn 4s;
  margin-top: 10px;
}

.logoinfinity {
  max-width: 60%;
  margin: 0px 0 30px 0;
}


.btn {
  margin: -15px 0 20px 0;
  padding: 10px;
  padding-left: 15px;
  padding-right: 15px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: var(--whitetext);
  border-radius: 10px;
  background-image: linear-gradient(to right, #A8D1F6 0%, #E1BEE1 51%, #A8D1F6 100%);
  font-weight: 800;
  letter-spacing: 3px;
}

.btn:focus,
button:focus {
  outline: none !important;
  box-shadow: none !important;
}

.btn:hover {
  background-position: right center;
  color: var(--whitetext);
}


.btnmode {
  background: transparent !important;
}

#btntop {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  color: var(--grad2);
  cursor: pointer;
}

#btntop:hover,
#topbtn:hover {
  color: var(--grad1)
}

#topbtn {
  color: var(--lightbg);
}

footer {
  text-align: center;
  padding-right: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: smaller;
  margin-top: 2em;
  background-color: #8aabdf09;

}

footer a,
footer a:hover {
  color: #E8F1F9;
}

.commishimg img {
  width: 100%;
  max-width: 550px;
  height: auto;
  margin: 10px;
  border-radius: 15px;
  border: 3px solid var(--textlight);
  /* box-shadow: 5px 5px 2px 1px rgba(58, 58, 60, 0.101); */
}

.dark-mode .commishimg img {
  border: 3px solid #4d6983 !important;
}

.custom-tooltip {
  position: relative;
  cursor: pointer;
}

/* Tooltip appearance */
.custom-tooltip::after {
  content: attr(data-bs-tooltip);
  position: absolute;
  left: 100%; 
  top: 50%;
  transform: translateY(-50%) translateX(10px); 
  background: var(--gradient);
  color: var(--whitetext);
  font-weight: 900;
  text-align: center;
  padding: 6px 10px;
  border-radius: 5px;
  width: 135px;  
  white-space: normal; 
  font-size: 12px;
  z-index: 9999; 
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Show tooltip on hover */
.custom-tooltip:hover::after,
.custom-tooltip:hover::before {
  opacity: 1;
  transform: translateY(-50%) translateX(10px);
}

@media (min-width: 1401px) {
  .navbarmain {
    justify-content: center !important;
  }
}

@media (max-width: 1400px) {
  .avatar img {
    max-width: 250px;
  }

 .avatarinfinity img  {
    max-width: 450px;
  }

  .blocmain {
    height: auto;
    padding-bottom: 50px;
  }

  .aboutme,
  .aboutlinks,
  h1,
  .textinfinity, .textinfinity ul {
    text-align: center;
    padding: 0.1em !important;
    letter-spacing: 0.5px;
  }

  .aboutext {
    padding-right: 0px !important;
  }

  .aboutcontent {
    margin-top: 30px;
  }
}

@media (max-width: 1200px) {
  .infinityart {
    margin: auto;
    width: 100%;
    height: 200px;
    background-image: url(img/infinitybgmobile1.webp);
    background-position: center;
  }

  .aboutinfinity {
    display: flex;
    flex-direction: column;
  }

  .logoinfinity {
    max-width: 40%;
    margin: 10px 0 20px 0;
  }
  .custom-tooltip::after {
    transform: translateX(-50%) !important;
  }
}


@media (max-width: 991px) {

  h1,
  .aboutme,
  .textinfinity,
  .socmed,
  .infinityart, .commishimg {
    animation: float2 2s ease-in-out;
  }

  h1 {
    font-size: 2.5em !important;
  }

  .socmed, .btnfiltre {
    font-size: 12px;
    padding: 8px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    border-radius: 10px !important;
  }

  .socmed img {
    height: 15px;
  }

/* .commishimg {
  margin-top: 30%;
} */

  .commishimg img {
    width: 100%;
    max-width: 350px;
    margin: 5px;  
  }

    .avatar img, .avatarinfinity img  {
    max-width: 200px;
  }
}


@media (max-width: 600px) {

  .avatar img {
    max-width: 120px;
  }

  .avatarinfinity img {
    max-width: 150px;
    margin: -50px;
  }

  .sprites {
    height:40px;
  }

  .badge {
    font-size: 8px;
  }

  .resume {
    font-size: 10px;
  }

  .avatar {
    padding: 7px !important;
    margin: 7px !important;
  }

  .blocmain {
    height: auto;
  }

  .blocinfinity {
    overflow: auto;
  }

  .aboutcontent {
    display: flex;
    flex-direction: column;
    margin-top: 5px;
  }

  .aboutme,
  .textinfinity,
  .aboutlinks,
  h1 {
    text-align: center;
    padding: 0em !important;
    letter-spacing: 0.2px;
  }

  h1 {
    font-size: 2em !important;
  }

  .aboutext {
    padding-right: 0px !important;
  }

  .aboutme,
  .textinfinity {
    font-size: 0.7em !important;
  }

  .socmed, .btnfiltre {
    font-size: 10px !important;
    padding: 5px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    border-radius: 10px !important;
  }

  .socmed img {
    height: 12px;
  }

  .btn {
    font-size: 10px;
  }

  .infinityart {
    width: 100%;
    height: 100px;
    background-image: url(img/infinitybgmobile2.webp);
  }

  /* .commishimg {
    margin-top: 150%;
  } */
}


@keyframes float {
  0% {
    transform: translatey(0px);
  }

  50% {
    transform: translatey(-20px);
  }

  100% {
    transform: translatey(0px);
  }
}

@keyframes float2 {
  0% {
    transform: translatey(-30px);
  }

  100% {
    transform: translatey(0px);
  }
}

@keyframes float3 {
  0% {
    transform: translatex(-30px);
  }

  100% {
    transform: translatex(0px);
  }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}


.icon-link {
  position: relative;
  text-decoration: none;
  text-align: center;
}

.icon-link .link-name {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  font-size: 13px;
  color: #b4a4be !important;
  transition: opacity 0.3s, transform 0.3s;
  text-transform: uppercase;
}

.dark-mode .icon-link .link-name {
  color: #d8c1e2 !important;
 }

.icon-link:hover .link-name {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}






