* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'IBM Plex Mono', monospace;

}

:root {
    --navbar-bg-color: hsl(0, 0%, 1%);
    --navbar-text-color: hsl(0, 0%, 85%);
    --navbar-text-color-focus: white;
    --navbar-bg-contrast: hsl(0, 0%, 25%);
    --first-color: hsl(38, 92%, 58%);
    --first-color-light: hsl(38, 100%, 78%);
    --first-color-alt: hsl(32, 75%, 50%);
    --second-color: hsl(195, 75%, 52%);
    --dark-color: hsl(212, 40%, 12%);
    --white-color: hsl(212, 4%, 95%);
    --body-color: hsl(212, 42%, 15%);
    --container-color: hsl(212, 42%, 20%);
    --text-color: #fff;
    --main-color: #0ef;
}


html {
    font-size: 62.5%;
    overflow-x: hidden;
}


body {
    background-image: linear-gradient(109.6deg, rgba(2, 0, 4, 1) 14.2%, rgb(54, 5, 102)91.2%);
    color: var(--text-color);
    overflow-x: hidden;
}



.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 64px;
    padding: 2rem 9%;
    background-color: var(--navbar-bg-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.header.sticky {
    border-bottom: .1rem solid rgba(0, 0, 0, .2);
}

.logo img {
    width: 90px;
    color: var(--text-color);

    cursor: default;
}

.navbar {
    display: flex;
    justify-content: space-between;
    height: 100%;
    align-items: center;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    height: 300px;
    align-items: center;
}


.navbar a {
    display: flex;
    font-size: 1.7rem;
    color: var(--text-color);
    margin-left: 4rem;
    margin: 0.5em;
    padding: 0.4em 0.4em;
    width: 100%;
    word-spacing: 0.5px;
    font-weight: 400;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

/* .navbar a:hover,
  .navbar a:active {
    color: var(--main-color);
  } */

.navbar a:is(:focus, :hover) {
    color: var(--navbar-text-color-focus);
    background-color: var(--navbar-bg-contrast);
}



.dropbtn1 {
    background-color: transparent;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 10px;

}

.dropdown1 {
    position: relative;
    display: inline-block;

}

.dropdown-content1 {
    display: none;
    position: absolute;
    background-color: #000000;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(239, 229, 229, 0.2);
    z-index: 1;
}

.dropdown-content1 a {
    color: rgb(255, 255, 255);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content1 a:hover {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
}

.dropdown1:hover .dropdown-content1 {
    display: block;
}

.dropdown1:hover .dropbtn1 {
    background-color: var(--navbar-bg-contrast);

}


.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-right: -100px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.big {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.title {
    margin-top: 100px; /* Adjust as needed */
    text-align: center; /* Center the text */
    font-size: 8rem;
}
footer {
    margin-top: auto;
}

.content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}



.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    max-width: 1200px;
}

.card {
    width: 300px;
    margin: 20px;
    padding: 20px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    perspective: 1000px;
    text-overflow: ellipsis;

}


  

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}

.card img:hover{
    transform: translateY(-10px); /* Adjust the elevation value as needed */
    transition: transform 0.3s ease-in-out;

}

.card h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-align: center;
}

.card p {
    margin: 0;
    font-size: 14px;
    color: #666;
    text-align: center;
    max-height: 40px; 
    overflow: hidden;
    transition: max-height 0.3s; 
    font-weight: 900;
}

.card .show-more {
    color: blue;
    cursor: pointer;
    text-align: center;
    margin-top: 10px;
}

.card .show-more:hover {
    text-decoration: underline;
}


footer {
    background-color: #000;
    color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    display: flex;
    gap: 13px;
}

.details {
    margin-right: 240px;
    font-size: 20px;
    text-align: center;
    padding-left: 250px;
}

.reach {
    margin-right: 150px;
    font-size: 20px;
    padding-left: 150px;
    color: white;
}

.social-media a {
    color: #fff;
    font-size: 24px;
    margin: 0 5px;
    text-decoration: none;
}


.social-media a:hover {
    color: rgb(38, 212, 38);
}


@media screen and (max-width: 1010px) {

    .details {
        font-size: 18px;
    }

    .reach {
        font-size: 18px;
    }

}

@media screen and (max-width: 901px) {

    header {
        padding: 1rem 5%;

    }

    .logo img {
        width: 70px;
    }

    .navbar a {
        font-size: 1.4rem;
        margin-left: 2rem;
    }

    #menu-icon {
        display: block;
        /* Show the menu icon */
    }

    .details {
        font-size: 15px;
    }

    .reach {
        font-size: 15px;
    }
}



@media screen and (max-width: 825px) {

    header {
        padding: 1rem 5%;

    }

    .logo img {
        width: 55px;
        margin-left: -50px;
    }

    .navbar {
        margin-left: 30px;
    }

    .navbar a {
        font-size: 1.3rem;
        margin-left: 1.5rem;
    }

    .navbar .dropbtn1 {
        font-size: 1.3rem;
        margin-left: 1.5rem;
    }

    #menu-icon {
        display: block;
        /* Show the menu icon */
    }

}

@media screen and (max-width: 750px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: black;
    }

    .nav-links.show {
        display: flex;
    }

    .menu-icon {
        display: flex;
    }

    /* Add the following CSS to change the background color on hover */
    .navbar .nav-links a:hover {
        background-color: white;
        color: black;
    }

    .logo img {
        width: 80px;
        margin-left: -30px;
    }
}

@media screen and (max-width: 661px) {

    .navbar a {
        font-size: 1.2rem;
        margin-left: 1.5rem;
    }

    .details {
        font-size: 15px;
    }

    .reach {
        font-size: 15px;
    }

}

@media screen and (max-width: 425px) {
    .title{
      font-size: 5rem;
    }
  }



@media screen and (max-width: 376px) {
    .details {
        font-size: 13px;
    }

    .reach {
        font-size: 13px;
    }
}
