/*Main section*/
body{
    background:linear-gradient( #000000, #4D4855);
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    height: 100%;
    align-items: center;
    justify-content: center;
    display: inline-block;
    width: 100%;
}

.container {
    width: 80%; /* Adjust the width as needed */
    max-width: 1200px; /* Optionally set a max-width */
    text-align: center;
}


/*nav section*/
.navbar-container{
    background: linear-gradient(to bottom right, ( #000000, #4D4855));
    height: 60px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    margin-top: 15px;
    position: relative; /* Change to relative positioning */
    width: 80%; /* Adjust width as needed */
    max-width: 600px; /* Optionally set a max-width */
    margin-left: auto;
    margin-right: auto;
}

nav a{
    display: inline;
    padding: 10px;
    float: left;
    text-decoration: none;
    color: aliceblue;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 18px;
}

.links{
    font-size: 18px;
    transition: background-color 0.8s ease-in;
    border-radius: 45px;
    padding: 10px;
    transition: opacity 0.3s ease-in;
    -webkit-font-smoothing: antialiased;
}

nav .links:hover{
    overflow: hidden;
    background-color: rgba(173, 216, 230, 0.2);
    border-radius: 45px;
    opacity: 60%;
}


.navbar-container > #hamburger-menu {visibility: visible;}

/*hambruger menu*/
#hamburger-menu{
    display: none;
    cursor: pointer;
}

.bar{
    width: 25px;
    height: 3px;
    background-color: beige;
    margin: 5px 0;
    transition: 0.4s;
}

#hamburger-menu.open .bar:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

#hamburger-menu.open .bar:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    background-color: black;
    color: aliceblue;
    position: absolute;
    top: 40px;
    padding: 0px;
    border-radius: 5px;
    z-index: 4;
    width: 100%; 
    justify-items: center;
    align-self: center;
}

.mobile-menu a {
    display: block;
    text-decoration: none;
    color: aliceblue;
    margin-bottom: 5px;
    font-size: 18px;
    padding: 10px;
    background-color: #000;
    -webkit-font-smoothing: antialiased;
    font-family: 'Oxanium', sans-serif;
    padding: 20px;
}

/*media for nav bar*/

@media (max-width: 769px){
    .navbar-container{
        display: none;
    }
    nav{
        text-align: center;
    }

    nav a {
        display: none;
        -webkit-font-smoothing: antialiased;
    }
}
/* media hamburger menu*/
@media (max-width: 769px){
    .nav{
        display: flex;
        cursor: pointer;
        justify-content: center;
        align-items: center;
        height: 30px;
        width: 100%;
    }

    #hamburger-menu{
        justify-content: center;
        display: block;
        background-color: rgba(173, 216, 230, 0.0);
        margin:0 auto;
    }

    .bar{
        cursor: pointer;
    }


    .mobile-menu{
        display: none;
    }

    .mobile-menu.show-nav{
        display: block;
        text-align: center;
        padding: 10px;
        margin: 0 auto;
    }
    .mobile-menu.show-nav a{
        -webkit-font-smoothing:antialiased;
    }

    .mobile-menu.show-nav a:hover{
        background-color: #0bab;
        transition: background-color 0.5s ease-in-out ;
    }
}

/*body*/
.main{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
    width: auto;
    height: 435px;
    
}

.main h1{
    font-family: 'Oxanium', sans-serif;
    color: aliceblue;
    display: block;
    padding-left: 0px;
    padding-top: 50px;
    font-size: 150px;
    margin-bottom: 5px;
    opacity: 80%;
    z-index: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-tap-highlight-color: transparent;
}

.main a{
    font-family: 'Oxanium', sans-serif;
    color: aliceblue;
    font-size: 125px;
    padding: 10px;
    margin-top: 5px;
    padding-left: 0px;
    opacity: 80%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-tap-highlight-color: transparent;
}

.main p{
    font-family: 'Oxanium', sans-serif;
    color: aliceblue;
    font-size: 18px;
    display: flex;
    margin: 0 auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-tap-highlight-color: transparent;
}



@media (max-width: 769px) {
    .main {
        padding-left: 0;
        margin: 0 auto;
        align-items: center;
        text-align: center;
        -webkit-font-smoothing: antialiased;
    }

    .main h1 {
        font-size: 100px;
        padding-left: 0;
        padding-top: 20px;
        margin-bottom: 20px;
        -webkit-font-smoothing: antialiased;
    }

    .main a {
        font-size: 80px;
        padding-left: 0px;
        padding-right: 0;
        -webkit-font-smoothing: antialiased;
    }

    .main p {
        font-size: 14px;
        margin: 0 auto;
        padding: 10px;
        padding-left: 0;
        padding-right: 0;
        margin-right: 0;
        margin-left: 0;
        -webkit-font-smoothing: antialiased;
    }
}
