* {
    max-width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body { 
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.2rem;
    background-color: #000000;
    color: aqua;
    max-width: 100%;
}

.container {
    height: 80%;
    width: 80%;
    margin: auto;
    overflow: hidden;
}

#branding {
    font-size: 1.5rem;
    text-align: center;
    padding-bottom: 10px;
    margin: 20px;
}

header {
    background-color: #000000;
    color: aqua;
    padding-top: 30px;
    min-height: 70px;
    border-bottom: aqua 5px solid;
    text-transform: uppercase;
}

nav {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 12px;
    overflow: auto;
    white-space: nowrap;
    font-size: 1.2rem;
    border-radius: 5px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 5px;
    margin-left: 10px;
    margin-right: 10px;
}

nav a:hover {
    background-color: #000000;
    border-bottom: 2px solid aqua;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
    transition-delay: 0.1s;
}

.nav-top a {
    display: block;
    margin: 0 auto;
    text-align: center;
    justify-content: center;
    align-items: center;
    color: aqua;
    text-decoration: none;
    padding: 5px;
    font-size: 1.5rem;
}

.nav-top a:hover {
    color: #fff;
}


.hamburger {
    position: fixed;
    top: 40px;
    right: 20px;
    z-index: 10;
    cursor: pointer;
    width: 20px;
    height: 20px;
    background: none;
    border: none;
    display: none;
}

.hamburger-top,
.hamburger-mid,
.hamburger-bot {
    position: absolute;
    width: 20px;
    height: 2px;
    top: 0;
    left: 0;
    background: aqua;
    transition: all 0.5s;
}

.hamburger-mid {
    transform: translateY(5px);
}

.hamburger-bot {
    transform: translateY(10px);
}

.open {
    transform: rotate(90deg);
}

.open .hamburger-top {
    transform: rotate(45deg) translateY(6px) translateX(6px);
}

.open .hamburger-mid {
    display: none;
}

.open .hamburger-bot {
    transform: rotate(-45deg) translateY(6px) translateX(-6px);
}

.overlay-show {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.stop-scroll {
    overflow: hidden;
}

.mobile-only {
    display: none;
}

.mobile-main-menu {
    position: fixed;
    top: 150px;
    right: 0;
    width: 330px;
    height: 100%;
    z-index: 4;
    background: #000;
    border-left: 3px solid aqua;
    border-top: 3px solid aqua;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0.9;
    font-weight: 700;
}

.show-menu {
    transform: translateX(0);
}

.mobile-main-menu nav {
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
    padding: 50px;
    width: 100%;
}

.mobile-nav-menu {
    padding: 50px;
    margin-bottom: 100px;
    font-size: 1.2rem;
    border-radius: 5px;
}

.mobile-nav-menu a {
    margin-bottom: 10px;
    padding: 5px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    width: 100%;
    text-align: end;
    border-bottom: 2px #fff dotted;
}

.mobile-nav-menu a:hover{
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 3px dotted aqua;
    background-color: #000;
    transition-duration: 0.3s;
    transition-timing-function: ease-in;
    transition-delay: 0.1s;
}


#showcase {
    min-height: 400px;
    background: url('./image/judoBow.jpeg') repeat center;
    width: 100%;
    height: 100%;
}

.intro-container {
    margin-top: 30px;
    border-bottom: aqua 3px solid;
    max-width: 100%;
}

.intro-container h1,p {
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    margin: 5px;
    padding: 5px;
    color: aqua;
    margin-bottom: 30px;
}

#boxes {
    display: grid flex;
    grid-template-columns: 1fr 1fr;
    text-align: center;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

#boxes .box {
    float: left;
    width: 50%;
    max-width: 100%;
    padding: 10px;
    justify-content: center;
    align-items: center;
}

.audio-player {
    display: block;
    margin: 0 auto;
    text-align: center;
    border: 2px solid #fff;
    border-radius: 30px;
    padding: 5px;
}

.audio-player:hover {
    border-color: aqua;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
    transition-delay: 0.1s;
    cursor: pointer;
}

@media (max-width: 960px) {
    #boxes .box {
        width: 100%;
    }

    img {
        width: 80%;
    }

    #javaMascot {
        height: 100px;
        width: 100px;
    }

    #AI-logo {
        height: 100px;
        width: 100px;
    }

    .desktop-main-menu {
        display: none;
    }

    .header {
    font-size: 1rem;
    padding-top: 10px;
    padding-bottom: 40px;
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    }

     .hamburger {
        display: block;
        position: absolute;
        top: 110px;
        left: 200px;
    }

    .mobile-only {
        display: block;
    }

    #branding {
    font-size: 1.3rem;
    }

    .intro-container p {
        font-size: 1.4rem;
    }

}

@media (max-width: 320px) {
    #branding {
    font-size: 1.2rem;
    }

    .hamburger {
        display: block;
        position: absolute;
        top: 100px;
        left: 200px;
    }

}

@media(min-width:667px) {
    .desktop-main-menu {
        display: block;
    }

    .hamburger {
    background: none;
    border: none;
    display: none;
    }     
}

@media(min-width:640px) {
    .desktop-main-menu {
        display: block;
    }

    .hamburger {
    background: none;
    border: none;
    display: none;
    }
    
    .header {
    font-size: 1.1rem;
    } 
}

@media(min-width:1024px) {
    .show-menu {
        display: none;
    }
}

#boxes .box img {
    height: 80px;
    width: 80px;
    opacity: 0.7;
    margin-top: 20px;
}

#boxes .box a img:hover {
    background-color: aqua;
    padding: 5px;
    border-radius: 40px;
    object-fit: contain;
    opacity: 1;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
    transition-delay: 0.1s;
}

#boxes .box h3 {
    margin-top: 10px;
}

#boxes .box p {
    border: 3px solid aqua;
    line-height: normal;
    font-size: 1.2rem;
    border-radius: 5px;
}

#page-title {
    font-size: 2rem;
    margin: 10px;
}

#project-title {
    font-size: 2rem;
    text-align: center;
    margin: 10px;
}

.profile-pic {
    border: aqua 6px solid;
    border-radius: 50%;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    width: 250px;
}

.qr {
    border: #e8491d 6px solid;
    border-radius: 30px;
    object-fit: contain;
}

.qr:hover {
    border-color: aqua;
    transition-timing-function: ease-in-out;
    transition-duration: 0.3s;
    transition-delay: 0.1s;
    cursor: pointer;
}

#main-col h1,h2,h3, p {
    line-height: 1.2;
}

#contact-col {
    text-align: center;
    line-height: 1.2;
}

.contact-info{
    line-height: 1.2;
    font-size: 1.5rem;
    margin-top: 15px;
    margin-bottom: 15px;
}

.cultural-sphere {
    width: 30%;
    height: 30%;
    margin: 0 auto;
    display: block;
    align-items: center;
    justify-content: center;

}

.logo-container {
    text-align: center;
    margin: 0 auto;
    display: block;
    align-items: center;
    justify-content: center;
}

.sport {
    width: 20%;
    height: 20%;
    border: 3px solid aqua;
    border-radius: 5px;
}

.sport:hover {
    border-color: red;
    transition-duration: 0.3s;
    transition-timing-function: ease-in;
    transition-delay: 0.1s;
}

.culture {
    width: 20%;
    height: 20%;
    border: 3px solid aqua;
    border-radius: 5px;
}

.culture:hover {
    border-color: gold;
    transition-duration: 0.3s;
    transition-timing-function: ease-in;
    transition-delay: 0.1s;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding: 20px;
    display: flex;
    justify-content: center;
}

#javaMascot {
    background-color: #fff;
    border-radius: 5px;
}

#number {
    text-decoration: none;
    color: aqua;
}

#number:hover {
    color: #ffffff;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
    transition-delay: 0.1s;
}

@media (max-width: 960px) {
    nav{
        font-size: 1.1rem;
    }

    nav a {
    padding: 8px;
    border-radius: 5px;
    }

    #page-title{
        font-size: 1.5rem;
    }
    .grid-container {
        display: block;
        grid-template-columns: 1fr;
    }

    .python-container,
    .js-container,
    .web-container {
        display: block;
        margin-bottom: 20px;
        max-width: 80%;
    }

    .grid-container img{
        width: 50%;
        max-width: 60%;
    }

    .cultural-sphere {
        width: 50%;
        height: 50%;
    }

    .qr {
        max-width: 45%;
    }

    .sport {
        width: 50%;
        height: 50%;
    }

    .culture {
        width: 40%;
        height: 40%;
    }

    .profile-pic {
    border-radius: 50%;
    width: 45%;
}

    #contact-col {
    font-size: 1rem;
    }

    .contact-info{
    line-height: 1;
    font-size: 1.3rem;
    }

    .lang-name a {
    border-radius: 5px;
    padding: 5px;
    font-size: 1rem;
    }   

    .status-online {
    line-height: 1;
    }

    footer {
    text-align: center;
    padding: 10px;
    margin-top: 10px;
    }

}

.python-container,
.js-container,
.web-container {
    margin: 5px;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid aqua;
    display: block;
    align-items: center;
    justify-content: center;
}

.grid-container img {
    max-width: 50%;
    margin: 5px;
}

.grid-container h2 {
    margin-top: 10px;
}

.grid-container ol {
    margin-top: 5px;
    margin-left: 10px;
    margin-bottom: 5px;
} 

.email {
    text-decoration: none;
    color: aqua;
}

.email:hover {
    color: #ffffff;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
    transition-delay: 0.1s;
}

.lang-website {
    margin-top: 10px;
}

.lang-name{
    text-align: center;
    margin-top: 10px;
}

.lang-name a {
    text-decoration: none;
    color: aqua;
    border-radius: 5px;
    padding: 5px;
}

.status-online {
    list-style-type: none;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.lang-name a:hover {
    color: #ffffff;
    background-color: black;
    border: 2px solid aqua;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
    transition-delay: 0.1s;
}

footer {
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    background-color: #000000;
    color: aqua;
    border-top: aqua 3px solid;
}