*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Josefin Sans', sans-serif;
}
body{
    background-color: black;
    height: 100%;
    width: 100%;
    color: white;
    /* position: relative; */
}

.hero{
     position: relative;
}

nav{
    display: flex;
    align-items: center;
    padding: 20px 50px;
}

nav .menu-img{
    width: 25px;
    margin: 8px;
}

nav .logo{
    width: 10%;
    margin: 10px;
}

nav ul{
    flex: 1;
    text-align: right;
}

nav ul li{
    display: inline-block;
    list-style: none;
    margin: 0 20px;
}

nav ul li a{
    text-decoration: none;
    color: #fff;
}

button{
    background-color: white;
    height: 25px;
    width: 50px;
    border: 0;
    outline: 0;
    border-radius: 20px;
    cursor: pointer;
    transition:  background0.5s;
}

button span{
    display: block;
    background:#999;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin-left: 2px;
    transition: background0.5s, margin-left 0.5s;

}

.lamp-container{
     position: absolute;
    top: -30px;
    left: 22%;
    width: 200px;
}

.lamp{
    width: 100%;
}

.light{
    position: absolute;
    top: 98%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    margin-left: -10px;
    opacity: 0;
    transition: opacity 0.5s;
}

.text-container{
    width: 500px;
    margin-top: 150px;
    margin-left: 60%;
}

.text-container h1{
    /* font-weight: 200px; */
    font-size: 70px;
}

.text-container p{
    margin-top: 1rem;
    color: #fff;
}

.text-container a{
    text-decoration: none;
    background-color: #05523e;
    padding:  14px 40px;
    color: #fff;
    display: inline-block;
    border: 1px solid gray;
    border-radius: 30px;
    font-size: 15px;
    margin-top: 30px;
}

.control{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 50px;
}

.control .line{
    width: 250px;
    height: 4px;
    background-color: #fff;
    margin: 0 20px;
    border-radius: 2px;
}

.control .line span{
    width: 50%;
    height: 8px;
    margin-top: -2px;
    border-radius: 4px;
    background: #05523e;
    display: block;
}

.active{
    background: green;
}

.active span{
    background: white;
    margin-left: 31px;
}

.on{
    opacity: 1;
}