@font-face {
    font-family: PetrovSans;
    src: url(../Fonts/PetrovSans-Trial-Light.otf) format('opentype');
    font-weight: 100;
}
@font-face {
    font-family: PetrovSans;
    src: url(../Fonts/PetrovSans-Trial-Regular.otf) format('opentype');
    font-weight: 400;
}
@font-face {
    font-family: PetrovSans;
    src: url(../Fonts/PetrovSans-Trial-Bold.otf) format('opentype');
    font-weight: 700;
}



:root {
    --black: #171717;
    --white: white;
    --orange: #ff5e00;
    --oragne-emission: #ff5e00;
    --grey: #858585;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}
body {
    background-image: url(../Images/Campfire.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: black;
    font-family: PetrovSans;
    font-weight: 700;
}

.maincontainer {
 display: flex;
 justify-content: center;
 flex-direction: column;
}
/* * {
    border: 1px solid white;
} */
.userprofile {
    margin: 20% 20% 0% 20%;
    padding: 2% 8%;

    
    background-color: var(--white);
    box-shadow: 0 0 15px var(--black);

    display: flex;
    justify-content: space-between;
    column-gap: 10%;

    border-radius: 10px; 
    overflow: hidden;
}
.userprofile_left {
    max-width: 40%;
    max-height: 100%;
    animation: leftanimation 1s 1 normal;
    animation-fill-mode: forwards;
   
}
.userprofile_left_image {
    max-width: 100%;
    max-height: auto;
    border-radius: 10rem;
    object-fit: cover;
    outline: 5px solid var(--orange);
    outline-offset: -3px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 20px var(--oragne-emission);
    transition: all 0.3s ease;
    
}
.userprofile_left_image:hover{
    transform: scale(1.05);
    box-shadow: 0 0 25px 10px var(--oragne-emission);
}
.userprofile_left_name {
    text-align: center;
    font-size: clamp(6px, 3vw, 24px);
    font-weight: 400;
    background-color: var(--orange);
    color: var(--white);
    border-radius: 5px;
    margin: 10px 0 0 0;
}


.userprofile_right_info {
    text-align: center;
    font-size: clamp(6px, 2vw, 24px);
    opacity: 0%;
    
}
.form {
    background-color: var(--black);
    color: transparent;
    padding: 1% 10%;
    border-radius: 5px;
    font-weight: 400;
    background: linear-gradient(90deg,#ff3c00, #ff8800);
    background-clip: text;
    text-shadow: 0 0 20px var(--oragne-emission);
}

#info1 {
    animation: rightanimation 1s 1 0.5s normal forwards;
}
#info2 {
    animation: rightanimation 1s 1 0.7s normal forwards;
}
#info3 {
    animation: rightanimation 1s 1 0.9s normal forwards;
}
#info4 {
    animation: rightanimation 1s 1 1.1s normal forwards;
}

@keyframes rightanimation{
    0% {
        transform: translate(200%, 0);
        opacity: 0%;
    }
    100% {
        transform: translate(0, 0);
        opacity: 100%;
    }
}

@keyframes leftanimation {
    0% {
        overflow: hidden;
        transform: translate(-200%, 0);
    }
    100% {
        display: block;
        transform: translate(0, 0);
    }
}

.containerloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--black); 
    z-index: 100;
    opacity: 1;
    padding: 35%;
    animation: loadscreen 1s 1 normal forwards;
   
}
.block {
    display: flex;
    justify-content: center;
}

.loader {
    width: 48px;
    height: 48px;
    border: 2px solid #FFF;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    
  }
  .loader::after {
    content: '';  
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 0;
    background: #FF3D00;
    width: 3px;
    height: 24px;
    transform: translateX(-50%);
  }
      
  @keyframes rotation {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

  @keyframes loadscreen {
    0% {
        z-index: 100;
        opacity: 1;
    }
    80% {
        z-index: 100;
        opacity: 1;
    }
    100% {
        opacity: 0;
        z-index: -1
    }
  }

  .achievementcontainer {
    margin: 5% 20% 0% 20%;
    padding: 2% 8%;

    
    background-color: var(--white);
    box-shadow: 0 0 15px var(--black);

    display: flex;
    justify-content: space-between;
    column-gap: 10%;

    border-radius: 10px; 
    overflow: hidden;

  }

  .achievement_name {
    padding: 10px 0 0 0;
    text-align: center;
    font-size: 120%;
  }

  .achievement_image {
    max-width: 100%;
    max-height: auto;
    border-radius: 10rem;
    object-fit: cover;
    outline: 3px solid var(--orange);
    outline-offset: -3px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 20px var(--oragne-emission);
    transition: all 0.3s ease;
  }
  .achievement_image:hover {
    box-shadow: 0 0 20px px var(--oragne-emission);
    transform: scale(1.05);
  }
  #achievement1 {
    animation: achievementleft 1s 1 normal forwards;
    animation-delay: 0.5s;
  }
  #achievement2 {
    z-index: 1;
    animation: achievementbig 1s 1 normal forwards;
    animation-delay: 0.5s;
  }
  #achievement3 {
    animation: achievementright 1s 1 normal forwards;
    animation-delay: 0.5s;
  }

  @keyframes achievementleft {
    0% {
        transform: translate(200%, 0);
    }
    100% {
        transform: translate(0, 0);
    }
  }
  @keyframes achievementright {
    0% {
        transform: translate(-200%, 0);
    }
    100% {
        transform: translate(0, 0);
    }
  }
  @keyframes achievementbig {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1)
    }
  }
