/*Apply this to all elements in the CSS*/
* {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    box-sizing: border-box;
    font-family: "Protest Strike", sans-serif;
}

input[type="range"] {
    appearance: none;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #ff7b54, #6a82fb); /* Gradient background */
    border-radius: 10px;
    outline: none;
    opacity: 0.8;
    transition: opacity 0.2s ease-in-out;
}
  
input[type="range"]:hover {
    opacity: 1;
}
  
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border: 2px solid #6a82fb;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}
  
input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}
  
input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border: 2px solid #6a82fb;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}
  
input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.2);
}
  

#backgroud_animation {
    background: black;
    position: absolute;
    top: 0;
    left: 0;
}

body {
    overflow-y: hidden;
} 

::-webkit-scrollbar {
    display: none;
}

a {
    text-decoration: none;
}

/* INTRODUCTION SECTION */
.introduction {
    background-color: black;
    justify-content: content;
    height: 100vh;
    overflow: hidden;
}

.introduction::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    box-shadow: inset 0em -10em 10em #000000;
}

#bounding-box {
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
    display: inline-block;
    overflow: hidden;
}

.overlay-text {    
    content:"";
    color: #fff; 
    padding: 0px 0px; 
    font-size: 100px; 
    font-style: "Kode Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    white-space: nowrap;
}

.overlay-subject {
    content: "";
    position: relative;
    margin: 100px auto;
    top: 20%;
    left: 0;
    right: 0;
    color: #b0a8f8; 
    padding: 0px 0px; 
    font-size: 100px; 
    font-style: "Kode Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
}

/* Slider */
.slidecontainer {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
}

/* SOCIALS SECTION */
.socials {    
    position: absolute;
    z-index: 2;
    fill: white;
    min-height: 50px;
    display: flex;
    justify-content: space-between;
    width: 200px;
    text-align: center; 
    right: 10px;
    top: 10px;  
}

svg:hover {
    fill: purple;
    transition: 0.25s;
}

.icon {
    fill: white;
    width: 50px;
    min-height: 50px;
    height: 50px;
}

/* PROJECTS / COMPETITIONS / EDUCATION SECTTION */
.projects {
    background-color: black;
    overflow: hidden;
}

.competitions {
    background-color: black;
    overflow: hidden;
}

.education {
    background-color: black;
    overflow: hidden;
}

.section-header {
    text-align: center;
    font-style: "Kode Mono";
    color: white;
    margin: 10px;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto !important;
    grid-auto-rows: 1fr;
    padding: 10px;
    margin: -8px;
    column-gap: 5px;
    row-gap: 25px;
    overflow: hidden;
}

.grid-container-education {
    grid-template-columns: 1fr !important;
}
 
.project-container {
    background-color: #000000;
    /* background-image: linear-gradient(black, #5c5c5c 80%); */
}

.project-description {
    font-family: "Montserrat", sans-serif;
    font-size: 25px !important;
}

.grid-item {
    position: relative;
    margin-left: 10px;
    margin-right: 10px;
    background-color: rgba(44, 40, 40, 0.8);
    display: inline-block;
    overflow-wrap: break-word;
    border: 1px solid rgba(0, 0, 0, 0.8);
    border-radius: 20px;
    font-size: 30px;
    color: white;
    /* overflow: hidden; */
    margin-bottom:10px;
    padding: 10px;
    box-shadow: grey 0px 0px 10px 0px;
}

.grid-item-education {
    position: relative;
    margin-left: 10px;
    margin-right: 10px;
    background-color: rgba(44, 40, 40, 0.8);
    display: inline-block;
    overflow-wrap: break-word;
    border: 1px solid rgba(0, 0, 0, 0.8);
    border-radius: 20px;
    font-size: 30px;
    color: white;
    /* overflow: hidden; */
    margin-bottom:10px;
    padding: 10px;
    box-shadow: grey 0px 0px 10px 0px;
}
.grid-item-education:hover {
    box-shadow: purple 0px 0px 20px 0px;
    transform: scale(1.01);
    transition: 0.25s;
}

.grid-item:hover {
    box-shadow: purple 0px 0px 20px 0px;
    transform: scale(1.01);
    transition: 0.25s;
}

.date {
    color: grey;
    font-size: 20px;
    text-align: center;
    margin: 10px;
}

.grid-header {
    margin: 4px;
    text-align: center;
}

.project-description {
    margin: 1px;
    font-size: 12px;
}

.tags {
    position: relative;
    bottom: 0;
    left: 0;
    display: flex;
    margin-bottom: 5px;
    margin-left: 5px;
    flex-wrap: wrap;
}

.tags > div {
    background-color: #3c0022;
    color: white;
    margin: 5px;
    padding: 7px;
    font-size: 16px;
    border-radius: 10px;
}

a.fill-div {
    color: white;
    display: block;
    height: 100%;
    width: 100%;
    text-decoration: none;
}

.clickable {
    cursor: pointer;
}

.scrabble-tastic-header {
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinning-cw {
    animation: spin-cw 2s linear infinite;
}

.spinning-ccw {
    animation: spin-ccw 2s linear infinite;
}

@keyframes spin-cw {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
}

@keyframes spin-ccw {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(-360deg);
    }
}

/* Medals */
.title {
    justify-content: center;
    align-items: center;
    z-index: 100;
    overflow: visible;
}

.medal {
    text-align: center;
    font-size: 30px;
}

@keyframes zoom-in {
    0% {
        scale: 100%; 
    }
    25% {
        scale: 125%;
        transform: rotate(-45deg);
    }
    50% {
        scale: 150%;
        transform: rotate(45deg);
    }
    75% {
        scale: 250%;
        transform: rotate(-180deg)
    }
    100% {
        scale: 400%;
    }
}

.medal-animation:hover {
    animation: zoom-in 4s forwards;
}

/*Dot Animation*/
.dot-animation {
    position: absolute;
    top: 10px;
    left: 20px;
    display: flex;
    align-items: center;
    height: 40px;
    gap: 5px;
}
  
.dot-animation span {
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-radius: 50%;
    animation: bounce 1.5s ease-in-out infinite;
}
  
.dot-animation span:nth-child(2) {
    animation-delay: 0.2s;
}
  
.dot-animation span:nth-child(3) {
    animation-delay: 0.4s;
}
  
@keyframes bounce {
    0%, 100% {
      transform: translateY(-5px);
      background-color: #fff;
    }
    50% {
      transform: translateY(5px);
      background-color: purple;
    }
}

.inprog {
    font-size: 10px;
    align-items: center;
}

/*Contact Me Section*/
.contact {
    background-color: #000000;
    padding: 2em;
    text-align: center;
}

#contact_me_button {
    border: none;
    color: white;
    border-radius: 4px;
    display: inline-block;
    transition: ease-out 0.3s;
    font-size: 2rem;
    outline: none;
    padding: 10px;
    border: 3px solid purple;
    position: relative;
    z-index: 1;
}

#contact-me_button:hover {
    color: #fff;
    cursor: pointer;
}

#contact_me_button:before {
    transition: 0.5s all ease;
    position: absolute;
    top: 0;
    left: 50%;
    right: 50%;
    bottom: 0;
    opacity: 0;
    content: "";
    background-color: purple;
}

#contact_me_button:hover:before {
    transition: 0.5s all ease;
    left: 0;
    right: 0;
    opacity: 1;
    z-index: -1;
}
