@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@1,100&display=swap');
.main-container {
    /* margin: 40px; */
    border: 1px sold;
    font-family: 'IBM Plex Mono', monospace;
    padding: 0;
    border-radius: 20px;
    /* border: 1px solid rgb(230, 142, 142); */
    color: #fff;
    overflow: hidden;
    background: linear-gradient(45deg, #06222e, #1a3c4f, #304652);
    box-shadow: 0 0 10px rgba(234, 84, 84, 0.5);
    /* background: linear-gradient(45deg, #0f4c75, #3282b8, #6a879b); */
}

.container {
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
    padding-left: 10%;
}

.hero {
    padding: 50px 0;
    text-align: left;
    font-weight: 900;
    font-size: smaller;
}

.hidden {
    display: none;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    color: #ccc;
}

a{
    color: #fff;
    font-weight: 700;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-list li {
    position: absolute;
    font-size: 17px;
    top: 50%;
    left: 30%;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    margin: 0;
    padding: 0;
    /* background-color: #ccc; */
    border-radius: 50%;
    cursor: pointer;
}

span{
    display: block;
  margin: 10px;
}

.nav-list li:nth-child(1) {
    transform: translate(-50%, -150px);
}

.nav-list li:nth-child(2) {
    transform: translate(100px, -50%);
}

.nav-list li:nth-child(3) {
    transform: translate(-50%, 100px);
}

.nav-list li:nth-child(4) {
    transform: translate(-150px, -50%);
}
li.active{
    color: rgb(26, 255, 158);
    font-size: 20px;
}

h2{
    font-weight: bolder;
}
li:hover{
    font-size: 20px;
}

.project-slider {
    display: flex;
    overflow-x: scroll;
    scroll-behavior: smooth;
    margin-right: 17px;
}

.project {
    flex: 0 0 100%;
    width: 100%;
    text-align: justify;
    padding-right: 20px;
}

.slider-nav {
    text-align: center;
    margin-top: 10px;
}

.slider-nav {
    text-align: center;
    margin-top: 10px;
}

.slider-nav button {
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 60px;
    margin: 0 5px;
    width: 40px;
    background: none;
    color: white;
}

.slider-nav button:hover {
    color: rgba(255, 255, 255, 0.2);
}

.slider-nav button:focus {
    outline: none;
}

.project {
    display: flex;
    flex-wrap: wrap-reverse;
    justify-content: center;
    margin-top: 40px;
    flex-direction: column;
    align-content: center;
}

.project h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #fff;
}

.project p {
    color: #ccc;
    font-weight: 600;
}

body {
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #fff;
    overflow: hidden;
}

.binary-particle {
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #00ff00;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: scatterAnimation 2s infinite;
}

.content-master {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@keyframes scatterAnimation {
    0% {
        transform: translate(-50%, -50%);
        opacity: 1;
    }

    50% {
        transform: translate(calc(-50% + 10px), calc(-50% + 10px));
        opacity: 0.5;
    }

    100% {
        transform: translate(calc(-50% + 20px), calc(-50% + 20px));
        opacity: 0;
    }
}


@media only screen and (max-width: 600px) {
    body{
        font-size: smaller;
        padding: 0 !important;
        border-radius: 0 !important;
    }
    .container{
        padding-left: 4%;
    }
    .main-container{
        border-radius: 0 !important;
    }
    .hero p {
        font-size: 1em;
        color: #ccc;
        }
        .hero h1 {
        font-size: 2.5em;
        }

    .links{
        position: absolute;
        bottom: 0;
        left: 0;
        }
        .content-master{
        display: flex;
        align-items: center;
        justify-content: center;
            bottom: 0;
            left: 0;
            position: relative;
            margin-top: 50px;
            /* padding-inline: 40px !important; */
        }

        .content{
            width: 100%;
        }

        .nav-list li:nth-child(1) {
            transform: translate(0, 0);
        }
    
        .nav-list li:nth-child(2) {
            transform: translate(0, 0);
        }
    
        .nav-list li:nth-child(3) {
            transform: translate(0, 0);
        }
    
        .nav-list li:nth-child(4) {
            transform: translate(0, 0);
        }

        .row {
            flex-direction: column;
            width: auto;
        }
    
        .col-8, .col-4 {
            width: 100%;
            height: auto;
            flex-direction: row;
        }

        .col-4 {
            height: 72% !important;
        }
        .col-8{
            height: 20% !important;
        }

        .links{
            position:relative;
        }
        .nav-list li{
            position: relative;
    font-size: 10px;
    top: 0%;
    left: 0%;
    width: auto;
    height: auto;
        }

    .nav-list {
      list-style: none;
      padding: 0;
      margin-inline: 0;
      display: flex;
      justify-content: space-around;
      align-items: center;
    }

    .project-slider{
        margin-right: 0%;
    }

    .project-slider {
        margin-left: 25px;
    overflow-x: auto;
    padding-right: 20px;
    scroll-snap-type: x mandatory;
    }

    .project {
        flex: 0 0 100%;
    width: 100%;
    padding-right: 10px;
    margin-top: 5px;
    flex-direction: column;
    }

    .project h2 {
        font-size: 1.2em;
        margin-bottom: 5px;
    }

    .project p {
        font-size: 0.9em;
    }

    .height-auto-sm{
        height: auto !important;
    }
}

