@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    position: fixed;
    width: 100%;
    height: 60px;
    padding: 20px 60px;
    box-sizing: border-box;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    justify-content: space-between;
    background-color: rgba(0, 0, 0, 0.8); 
    z-index: 1000; 
}

header .nav .menu {
    display: flex;
    text-align: center;
}

header .nav .menu li {
    list-style: none;
    margin-left: 20px;
}

header .nav .menu li a {
    color: #0fa;
    font-weight: bold;
    text-decoration: none;
}

body {
    background-image: url("https://cdn.pixabay.com/photo/2017/02/12/12/42/wall-2059909_640.png");
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: "Helvetica Neue", sans-serif;
    margin-top: 80px; 
}

.container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    text-align: center; 
    border-radius: 10px; 
}

h1 {
    font-size: 4.2rem;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0.3em;
    color: #fff; 
}

label {
    display: block;
    margin-top: 10px;
    color: #ffffff;
    font-size: 20px;
}

input[type="text"], input[type="email"], textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

input[type="submit"] {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 20px;
    border: none;
    background-color: #5cb85c;
    color: #fff;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #4cae4c;
}

.neonText {
    color: #fff;
    text-shadow:
      0 0 7px #fff,
      0 0 10px #fff,
      0 0 21px #fff,
      0 0 42px #0fa,
      0 0 82px #0fa,
      0 0 92px #0fa,
      0 0 102px #0fa,
      0 0 151px #0fa;
}

.pulsate {
    animation: pulsate 1.5s infinite alternate;
}

@keyframes pulsate {
    0% {
        text-shadow:
          0 0 2px #fff,
          0 0 4px #fff,
          0 0 6px #fff,
          0 0 10px #0fa,
          0 0 45px #0fa,
          0 0 55px #0fa,
          0 0 70px #0fa,
          0 0 80px #0fa;
    }
    100% {
        text-shadow:
          0 0 4px #fff,
          0 0 11px #fff,
          0 0 19px #fff,
          0 0 40px #0fa,
          0 0 80px #0fa,
          0 0 90px #0fa,
          0 0 100px #0fa,
          0 0 150px #0fa;
    }
}

a {
    position: relative;
    display: inline-block;
    padding: 25px 30px;
    margin: 40px 0;
    color: #03e9f4;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.5s;
    letter-spacing: 4px;
    overflow: hidden;
    margin-right: 50px;
}

@keyframes animate4 {
    0% {
        bottom: -100%;
    }
    50%, 100% {
        bottom: 100%;
    }
}

@media screen and (max-width: 768px) {
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 3.2rem;
    }

    .container {
        max-width: 90%;
        margin: 20px auto;
        padding: 10px;
    }

    input[type="text"], input[type="email"], textarea {
        padding: 8px;
    }

    input[type="submit"] {
        padding: 8px;
    }

    header {
        padding: 20px 30px;
    }

    header .nav .menu li {
        margin-left: 20px; 
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 2.4rem;
    }

    label {
        font-size: 18px;
    }

    input[type="text"], input[type="email"], textarea {
        font-size: 14px;
    }

    input[type="submit"] {
        font-size: 14px;
    }

    .container {
        padding: 10px;
    }

    header {
        padding: 20px 15px; 
    }

    header .nav .menu li {
        margin-left: 10px; 
    }

    .nav .menu {
        flex-direction: column; 
    }

    .nav .menu li {
        margin-left: 0; 
        margin-bottom: 10px; 
    }
}

    header .nav .menu {
        position: fixed;
        right: 0;
        background-color:rgba(40, 38, 38, 0.451);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%); 
        transition: transform 0.3s ease-in-out;
    }


    header .nav .menu li a {
        font-size: 1.2rem; 
        color: #0fa;
        font-weight: bold;
        text-decoration: none;
        text-shadow: 
            0 0 5px #fff,  
            0 0 8px #0fa;  
    }
    
    header .nav .menu.open {
        transform: translateX(0);
    }
    .menu-toggle {
        position: fixed; 
        top: 20px; 
        right: 20px; 
        background-color: transparent; 
        color: #0fa; 
        border: 2px solid #0fa;
        font-size: 2rem;
        padding: 10px; 
        cursor: pointer; 
        z-index: 1001;
        text-shadow: 
            0 0 7px #fff, 
            0 0 10px #fff, 
            0 0 21px #0fa, 
            0 0 42px #0fa, 
            0 0 82px #0fa, 
            0 0 92px #0fa, 
            0 0 102px #0fa, 
            0 0 151px #0fa; 
        transition: all 0.3s ease-in-out;
    }
    
    .menu-toggle:hover {
        color: #fff; 
        border-color: #fff; 
        text-shadow: 
            0 0 10px #fff, 
            0 0 15px #fff, 
            0 0 25px #fff, 
            0 0 35px #0fa, 
            0 0 45px #0fa, 
            0 0 55px #0fa, 
            0 0 70px #0fa; 
    }
    @media screen and (max-width: 768px) {
    header .nav .menu li {
        margin-left: 5px; 
    }
}

@media screen and (max-width: 480px) {
    header .nav .menu li {
        margin-left: 0; 
        margin-bottom: 10px;
    }
}
