@import url('https://fonts.googleapis.com/css2?family=Akaya+Telivigala&family=Lora:wght@400;500&family=Montserrat:wght@500;600;700&family=Pacifico&family=Red+Hat+Mono:wght@300;400;500;600&family=Roboto:wght@400;500;700&display=swap');

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    font-family: Helvetica;
}

.wrapper {
    height: 100vh;
    width: 100%;
}


.logo {
    font-size: 28px;
    font-weight: 900;
    text-transform: capitalize;
    margin: 0.2em 2em;
    line-height: 80px;
    position: absolute;
    color: darkblue;
    margin-left: -80px;
}

nav{
    height: 80px;
    background-color:red; 
    display: flex;  
    align-items: center;
    justify-content: space-between;
    padding: 0px 5px 0px 100px;
}

ul{
    margin-left: 42%;
    gap: 2px;
}

nav ul{
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 5px;
}

nav ul li a {
    color:darkblue; /* Adjusted to a lighter shade of blue */
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 8px 20px;
    border-radius: 5px;
    transition: all 0.3s;
}

nav .menu-btn i{
    color:darkblue;
    font-size: 22px;
    cursor:pointer;
    display: none;
}

nav ul li a:hover, nav ul li a.active {
    background:blue;
    color:darkblue;
    box-shadow: 5px 5px 4px 0px;
}

/* The dropdown container */
.dropdown {
    float: left;
    overflow: hidden;
}

/* Dropdown button */
.dropdown .dropbtn {
    color:darkblue;
    background-color:blue;
    text-decoration: none;
    margin-top:-8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 8px 20px;
    text-transform: capitalize;
    border-radius: 5px;
    transition: all 0.3s; /* Important for vertical align on mobile phones */
}

/* Add a red background color to navbar links on hover */
.navbar a:hover, .dropdown:hover .dropbtn {
    background:blue;
    color:darkblue;
    box-shadow: 5px 5px 4px 0px;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: block;
    position: absolute;
    background-color:#007bff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    float: none;
    color:white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-weight: 550;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
    background-color:blue;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

.box-1 {
    position: absolute;
    width: 60px;
    height: 60px;
    background: none;
    border: 2px solid red;
    top: 10%;
    left: 15%;
    z-index: -1;
    transform: rotate(60deg);
}

.box-2 {
    position: absolute;
    width: 120px;
    height: 120px;
    background:blue;
    /* border: 2px solid orange; */
    top: 54%;
    left: 28%;
    z-index: -1;
    transform: rotate(-110deg);
}

.box-3 {
    position: absolute;
    width: 80px;
    height: 80px;
    background: none;
    border: 2px solid black;
    top: 34%;
    left: 87%;
    z-index: -1;
    transform: rotate(30deg);
}

.runner img {
    width: 85%;
    z-index: 2;
    margin-top: -15px;
}

.title-2 {
    position: absolute;
    top: 49%;
    left: 54.6%;
    transform: translate(-50%, -50%);
    font-family: Anton;
    font-size: 20px;
    color: rgba(0,0,0,0);
    font-style: italic;
    text-transform:capitalize;
    z-index: -1;
    -webkit-text-stroke: 2px blue;
    opacity: 0;
}

.title-1 {
    position: absolute;
    top: 38%;
    left: 18%;
    transform: translate(-50%, -50%);
    font-family: Anton;
    font-size: 92px;
    color:blue;
    padding-right: 20px;
    font-style: italic;
    text-transform: uppercase;
    z-index: 1;
    opacity: 0;
}

.content {
    position: absolute;
    top: 56%;
    left: 57%;
    width: 36%;
    color: black;
    font-weight:550;
    font-size: 14px;
    line-height: 24px;
}

button {
    margin-top: 6px;
    background:#007bff;
    color: #fff;
    padding: 20px 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 10px;
    border: none;
}

.media {
    position: absolute;
    bottom: 210px;
}

.media ul {
    position: absolute;
    list-style: none;
}

.media ul li {
    color:blue;
    padding: 10px 0;
}

.media ul li:hover {
    color: red;
    cursor: pointer;
}

@media(max-width: 900px) {
    .wrapper {
        background: url(BG.jpg) no-repeat 50% 50%;
        background-size: cover;
    }

    .pattern {
        display: none;
    }

    .runner img{
        display: none;
    }

    .title-1 {
        font-size: 50px;
    }

    .title-2{
        font-size: 20px;
    }

    .title-1 {
        left: 20%;
        top: 37%;
    }

    .title-2 {
        left: 45%;
        top:43%;
        z-index: 1;
    }

   ul{
    margin-left: 19%;
   }

    .content p {
        display: none;
    }

    .box-2 {
        top: 70%;
    }

    .content button {
        position: fixed;
        right: 3em;
        bottom: 4em;
        z-index: 1;
    }
}

@media screen and (max-width: 768px){
   
    nav ul{
        position: fixed;
        top: -10px;
        left: 10%;
        width: 100%;
        height: 100vh;
        display: block;
        text-align: center;
        display: flex;
        gap: 4px;
    }
    .logo{
        display: none;
    }

    nav ul li {
        margin: 20px 0;
    }
    .dropdown-content a{
        font-size: 11px;
        font-weight: bolder;
    }
    .dropdown{
        margin-top: 20px;
    }
    .dropbtn{
        font-size: 10px;
    }
    .dropbtn:hover{
        background: none;
        color: white; 
    }
    nav ul li a {
        font-size: 15px;
        font-weight: bold;
    }
    nav ul li a:hover, nav ul li a.active{
        background: none;
        color: white;
    }
    nav .menu-btn i{
        display: block;
    }
    .title-1{
        margin-top: 10px;
        font-weight: bolder;
        margin-left: -55px;
    }
    .title-2{
        margin-top: 10px;
        font-weight:lighter;
        font-size:medium;
    }
}

@media screen and (max-width: 600px){
    ul{
        margin-left: -80px;
    }
    .title-1{
        top: 54%;
    }
    .title-2{
        top: 59%;
    }
}
