*::before,
*::after,
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.35;
}

a {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
    color: inherit;
}


/* HEADER AND TITLE */

.header {
    background-color: black;
    position: sticky;
    top: 0px;
    z-index: 1;
}

.header-elements {
    display: flex;
    overflow-x: hidden;
    overflow-y: hidden;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    margin: auto;
    width: 90%;
    border-radius: 5px;
    margin: 10px auto;
    max-width: 1300px;
}


/* .title {
    margin-left: 10px;
    position: relative;
    color: white;
} */

.btn-group {
    /* height: 2.5rem; */
    display: flex;
    gap: 10px;
    justify-content: space-evenly;
    margin-left: 5px;
    margin-right: 5px;
    position: sticky;
}

.btn-container {
    display: inline-block;
    align-items: center;
}

.button-1:active {
    background-color: red;
    color: black;
}

.button-1:hover {
    background-color: red;
    color: white;
    transform: translateY(-5px);
    filter: drop-shadow(0 0 8px grey);
}




.profile-photo {
    object-fit: cover;
    height: auto;
}

.logo {
    object-fit: contain;
    max-width: 40px;
    position: relative;
    margin-top: 0px;
    padding: 2px;
   
}

.logo:hover,
.kai:hover {
    transform: translateY(-5px);
    transition: 5ms;
    animation-delay: 2ms;
}

.kai {
    object-fit: contain;
    max-width: 48px;

}
.linkedin:hover,
.kai:hover {
    background-color: red;
    animation-delay: 2ms;
    border-radius: 5px;
    cursor: pointer;
}


.button-1{
    flex-grow: 1;
    background-color: white;
    color: black;
    transition-property: transform;
    transition-duration: 0.2s;
    transition-timing-function: ease-out;
    text-align: center;
    margin: auto;
    padding: 10px;
    /* border: 3px solid black; */
    text-decoration: none;
    font-weight: 500;
    border-radius: 5px;
}

.kai,
.linkedin {
    transition-property: transform;
    transition-duration: 0.2s;
    transition-timing-function: ease-out;
}

/* MAIN SECTION */
/* .main {
    max-width: 1200px;
} */

.card-container {
    width: 90%;
    background-color: white;
    border-radius: 5px;
    border: 3px solid black;
    justify-content: center;
    align-items: center;
    margin: 16px auto;
    max-width: 1300px;
    padding: 20px;
}

/* HERO SECTION */

.info {
    padding-top: 100px;
    padding-bottom: 100px;
    margin: auto;
    width: auto;
    justify-content: center;
    align-items: center;

}

.hero-texts {
    position: relative;
    align-items: center;
    margin: auto;
    width: 50%;
}

.body-title {
    font-size: 50px;
    font-weight: 700;
    text-align: center;
    line-height: 1;
    margin-bottom: 5px;
}

.body-text {
    font-weight: 300;
    text-align: center;
}






/*  */

/* Javascript Video Gallery */

.video-gallery {
    display: flex;
    flex-wrap: wrap;
    /* grid-template-columns: repeat(3, 1fr); */
    gap: 10px;
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
    justify-content: space-evenly;
    /* margin-left: 16px;
    margin-right: 16px;
    margin-bottom: 20px; */
}

.video-item {
    overflow: hidden;
    transition: transform 0.3s ease;
    min-width: 300px;
    height: 200px;
}

.video-item:hover {
    transform: scale(1.45);
}

.video-item iframe {
    /* position: absolute; */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Extra large screens */
@media (min-width: 1200px) {
    /* Styles for extra large screens */
  }
  
  /* Large screens */
  @media (min-width: 992px) and (max-width: 1199px) {
    /* Styles for large screens */
  }
  
  /* Medium screens (desktops) */
  @media (min-width: 768px) and (max-width: 991px) {
    /* Styles for medium screens */
  }
  
  /* Tablets (portrait and landscape) */
  @media (min-width: 768px) {
    /* Styles for tablets (combine portrait and landscape) */
  }
  
  /* Small screens (portrait) */
  @media (max-width: 767px) and (orientation: portrait) {
    /* Styles for small screens in portrait mode */

  }
  
  /* Small screens (landscape) */
  @media (max-width: 767px) and (orientation: landscape) {
    /* Styles for small screens in landscape mode  */
  }

  @media (max-width: 495px) {
    /* Styles for extra small screens */
    .button-1 {
        width: 100%;
        max-height: 30px;
        font-size: 12px;
        margin: auto;
        padding: auto;
        text-align: center;
        display: flex;
    }

    .about {
        font-size: 12px;
    }

    .logo,
    .kai {
        max-height: 50px;
    }

    .sorting-controls {
        display: flex;
        max-width: 80%;
    }

  }
  
  


  /* Extra small screens (phones) */
  @media (max-width: 480px) {
    /* Styles for extra small screens */
    .button-1 {
        width: 100%;
        max-height: 30px;
        font-size: 12px;
        margin: auto;
        align-items: center;
        display: flex;
        justify-content: center;
    }

    .logo,
    .kai {
        max-height: 30px;
        margin-left: auto;
    }

    .header-elements {
        max-width: 90%;
    }

    .sorting-controls {
     width: 2px;
     display: flex;
     justify-content: center;
     margin-left: -10px;
    }

    .Category {
        visibility: hidden ;
        position: absolute;
        top:0px;
    }

    .hero-texts {
        text-align: center;
        max-width: 50vh;
    }

    .body-title {
        font-size: 30px;
    }
    



  }