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

body{
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    background-image: url('../img/backimg.jpg');
    background-repeat: no-repeat;
    background-size:cover;
}

.head{
    display: flex;
    justify-content: space-around;
    background-color: rgba(0,0,0,0.5);
    border-radius: 0.9rem;
    padding: 1rem 0;
    margin: 0.3rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

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

#logo{
    font-size: 1.5rem;
    color: #ffb700;
    border-bottom: 2.5px solid;
}

.links{
    margin-left: 5rem;
    padding: 10px;
    font-size: 1.5rem;
}

img{
    width: 18px;
    height: 18px;
}

.active{
    color: green;
}

.menu{
    cursor: pointer;
    display: none;
    position: absolute;
    right: 5px;
    font-size: 3.5rem;
    color: #fff;
}

#nav{
display: none;
}

@media screen and (max-width:720px){
.head{
    background-color: transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.container{
    display:flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: 0;
    height: 0;
    overflow: hidden;
}
.links{
    margin-left:0;
    margin-top: 50px;
    padding: 10px;
}
.menu{
    display: block;
    top: 0;
}
.menu #close-icon{
    display: none;
}

}
@media (min-width:721px) and (max-width:992px){
    .links{
    margin-left: 1rem;
}

}


@media screen and (min-width:1200px){
#logo{
    font-size: 1.5rem;
    margin-right: 12rem;
}

}

.links:hover:not(.active){
    background: rgba(0,0,0,0.5);
    border-radius: 15px;
    color: #00d4ff;
    transition: 0.8s;
    transform: scale(1.2);
    border-bottom: 3px solid;
}

#nav:checked~.menu #menu-icon {
    display: none;
}
#nav:checked~.menu #close-icon {
    display: block;
}

#nav:checked~.container{
    height: 30rem;
    width: 100%;
    background-color: rgba(0,0,0,1);
    border-radius: 20px;
}

                /*main content*/
.content{
    height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.content h1{
    color:#fff;
    text-align: center;
    margin: 2rem;
    font-size: 2.5rem;
    background-image: url("../img/forst.jpg");
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}
.content p{
    color: #fff;
    font-size: 1.3rem;
}
.btn{
    text-align: center;
}
button{
    color: #00d4ff;
    background-color: transparent;
    padding: 10px;
    cursor: pointer;
    font-size: 1.1rem;
    width: 200px;
    margin: 50px;
}
button:hover{
    color:black;
    background: rgba(0,0,0,0.5);
    border-radius: 15px;
    transition: 0.5s;
}


                /*Footer*/
footer{
display: flex;
justify-content: center;
}
footer a{
    margin: 20px;
}
#copyright{
    display: flex;
    justify-content: center;
    color: #fff;
}
@media (max-width:619px){
    button{
    margin: 10px;
}
}
