body {
    margin: 0;
    font-family: 'Fredoka', sans-serif;
    text-align: center;
    align-items: center;
    background-color: #00FFFF;
}

a {
    text-decoration-line: none;
    scale: 105%;
    border-radius: 3px;
    background-color: #04AA6D;
    padding: 3px;
    color: rgb(246, 255, 145);
}

a:hover {
    translate: transformY(1px)
}

.navbar{
    background-color: rgba(36, 255, 171, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-links {
    display: flex;
    flex-direction: row;
}

.menu-toggle {
    display: none;
}

.navbar a {
    display: block;
    color: #333;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.navbar a.active:hover,
.navbar a:hover {
    background-color: #2cc3ff;
    color: black;
    border-radius: 5px;
}

.navbar a.active {
    background-color: #04AA6D;
    color: white;
    border-radius: 5px;
}

@media (max-width: 600px) {
    .menu-toggle {
        display: block;
        padding: 14px 16px;
        border: 0;
        background: transparent;
        color: #333;
        font: inherit;
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
    }

    .nav-links {
        flex-direction: column;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        visibility: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    }

    .nav-links.is-open {
        max-height: 400px;
        opacity: 1;
        visibility: visible;
    }

    .navbar a {
        text-align: left;
    }
}

.card {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    width: 60%;
    border-radius: 5px;
    align-items: center;
    margin: 0 auto;
    margin-bottom: 10px;
    text-align: left;
    padding-bottom: 10px;
    border-radius: 10px;
}

.card h2,
.card h1 {
    text-align: center;
}

.card ul {
    width: fit-content;
    margin: 0 auto;
}

.card li {
    text-align: auto;
    font-size: larger;
    
}

.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.container {
  padding: 2px 16px;
}

.card a {
    display: inline-block;
    transform: translateY(1);
}

.card a:hover {
    display: inline-block;
    transform: translateY(-1px);
}

.abt {
    text-align: center;
}

.links {
    align-items: center;
    text-align: center;
    padding-left: 4px;
    padding-right: 2px;
}

.links a:hover {
    transform: none;
}

.links a img {
    transition: transform 0.2s ease;
}

.links a:hover img {
    transform: scale(1.1);
}

footer {
    color: #878787;   
    font-size: small;
    transition: color 0.3s ease;
}

footer:hover {
    color: #333;
}

.project-card {
    padding-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
    padding-left: 10px;
    padding-right: 10px;
}

.card.project-card > div:first-child h2 {
    text-align: left;
}

.project-card > div:first-child {
    flex: 1;
    min-width: 0;
}

.project-card > img {
    width: 484px;
    max-width: 110%;
    height: auto;
    flex: 0 1 484px;
}

@media (max-width: 600px) {
    .project-card {
        flex-direction: column;
    }

    .project-card > img {
        width: 100%;
        max-width: 100%;
        flex-basis: auto;
    }
}

.center {
    text-align: center;
    padding: 10px;
    color: rgb(246, 255, 145);
}

.center a {
    color: rgb(246, 255, 145);
}

.cert {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.cert h2 {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.cert-image {
    position: relative;
    aspect-ratio: 1.414 / 1;
    overflow: hidden;
}

.cert img {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70.71%;
    max-width: none;
    height: auto;
    transform: translate(-50%, -50%) rotate(90deg);
}

.project-card a {
    color: rgb(246, 255, 145);
}


.navbar a,
.links a {
    background-color: #00ffff00;
}
