@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'Space Grotesk', sans-serif;
}

body {
    display: flex;
}

.left {
    height: 100vh;
    width: 9vw;
    background-color: rgb(76 122 88);
}

.logo {
    height: 18vh;
    align-items: center;
    background-image: url(./assets/AKS_Logo_Portfolio_Transparent.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.logo:hover {
    cursor: pointer;
    filter: invert();
}

.hamburger {
    height: 45px;
    width: 45px;
    background-color: rgb(76 122 88);
    border-radius: 50px;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: absolute;
}

.hamburger img {
    height: 30px;
}

.hamburger img:hover {
    filter: invert();
    transform: scale(1.1);
    transition: 0.3s;
}

.line {
    border: 2px solid black;
    margin: 0;
    z-index: 1;
}

.left-links {
    display: grid;
    justify-content: center;
    align-items: center;
    gap: 70px;
    padding: 110px 0;
    border-top: 2px solid;
}

.left-links img {
    height: 28px;
}

.left-links img:hover {
    cursor: pointer;
    transform: scale(1.3);
    transition: 0.3s;
    filter: invert();
}

.is-active img {
    transform: scale(1.2);
    transition: 0.3s;
    filter: invert();
    border-bottom: 2px solid black;
    padding-bottom: 4px;
}

.right {
    height: 100vh;
    width: 91vw;
    background-color: rgb(255 255 237);
}

.container {
    height: 85vh;
    width: auto;
    display: block;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 7vh auto;
    padding: 0 5vw;
    border-radius: 20px;
    background-color: white;
    box-shadow: 0px 20px 20px rgba(0, 0, 0, 0.489);
}

.container h1 {
    font-size: 2.5rem;
    margin: 50px;
    text-decoration: underline;
}

.carousel-container {
    height: 60vh;
    width: 60vw;
    margin: auto;
}

.carousel-container .carousel-inner,
.carousel-container .carousel-item,
.carousel-container .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.carousel-caption {
    height: auto;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 10px;
    padding: 1rem 2rem;
    display: inline-block;
}

@media (max-width: 480px) and (min-width: 320px) {
    body {
        display: block;
    }

    .left {
        height: 15vh;
        width: auto;
    }

    .logo {
        height: 15vh;
    }

    .hamburger {
        display: flex;
        position: absolute;
        right: 10px;
        top: 20px;
    }

    .left-links {
        width: 32vw;
        position: absolute;
        left: -100%;
        background-color: rgb(76 122 88);
        z-index: 10;
        transition: all .3s;
        border-radius: 0 0 16px 0;
    }

    .right {
        height: auto;
        width: auto;
        display: flex;
    }

    .container {
        height: auto;
        margin-top: 25px;
        margin-bottom: 25px;
        border-radius: 40px;
        padding: 15px 0;
    }

    .container h1 {
        font-size: 2rem;
        margin: 8px;
    }

    .carousel-container {
        height: 60vh;
        width: auto;
    }

    .d-block h5 {
        font-size: 9px;
        padding: 0;
        margin: 2px;
    }

    .carousel-caption {
        top: 58%;
        height: 7vh !important;
        padding-top: 5px !important;
    }

    .d-block {
        height: 10vh;
        font-size: 5px;
        padding: 0;
    }
}

@media (max-width: 1023px) and (min-width: 750px) {
    body {
        display: block;
    }

    .left {
        height: 15vh;
        width: auto;
    }

    .logo {
        height: 15vh;
    }

    .hamburger {
        display: flex;
        position: absolute;
        right: 10px;
        top: 20px;
    }

    .left-links {
        width: 20vw;
        position: absolute;
        left: -100%;
        background-color: rgb(76 122 88);
        z-index: 10;
        transition: all .3s;
        border-radius: 0 0 16px 0;
    }

    .right {
        height: auto;
        width: auto;
        display: flex;
    }

    .container {
        height: auto;
        margin-top: 25px;
        margin-bottom: 25px;
        border-radius: 40px;
        padding: 15px 0;
    }

    .container h1 {
        font-size: 2rem;
        margin: 8px;
    }

    .carousel-container {
        height: 60vh;
        width: auto;
    }

    .d-md-block {
        height: 18vh;
        padding: 10px;
    }
}