@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Dancing+Script:wght@400..700&family=Jacquard+12&family=Jaro:opsz@6..72&family=Lobster&family=Pacifico&family=Poetsen+One&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: linear-gradient(pink,skyblue);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    font-family: "Happy Monkey"; 
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: gray;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 32px;
    color: black;
    text-decoration: none;
    font-weight: 650;
}

.navbar a {
    font-size: 18px;
    color: skyblue;
    font-weight: 500;
    text-decoration: none;
    margin-left: 30px;
    position: relative;
}

.navbar a::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 2px;
    background: black;
    transition: width 0.5s ease-in; 
}

.navbar a:hover::before {
    width: 100%;
}

.active {
    background: #0047ab; 
    border-radius: 50%;
}

#clip {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Alfa Slab One', cursive;
    font-size: 9vw;
    background-image: url("clip.png");
    background-size: cover;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: absolute;
    top: -200px;
    left: 400px;
}

.Poetry {
    position: relative;
}

.Poetry-image {
    position: absolute;
    width: 100%;
    height: 40vh;
    object-fit: cover;
    -webkit-mask-image: url('logo.svg');
    mask-image: url('logo.svg');
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    margin-top: 300px;
}

.Freeverse-title {
    color: #ff69b4;
    text-align: center;
    background: -webkit-linear-gradient(blue, red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top:300px;
    margin-left:100px;
    position:absolute;
}

    
    
    
   

ul {
    position: absolute;
    top: 210px;
    left: 15%; 
    transform: translate(-50%, -50%);
    margin-top: 280px;
    padding: 8px;
    width: 400px;
    margin-left: 0px;
}


ul li{
    list-style: none;
    border-top: 1px solid red;
    border-bottom: 1px solid red;
    margin:-1px 0;
    transition: 0.5s;
     
   
    
}
ul li:hover{
    transform:translateX(25px);
}
ul li a{
    display: block;
    border-right: 1px solid red;
    text-decoration:none;
    color: #262626;
    
}


ul li a span{
    position: relative;
    display: inline-block;
}
ul li a span:nth-child(1){
    width: 10%;
    text-align:center;
    border-left: 5px solid #262626;
    border-right: 1px solid red;
    padding: 30px;
    transition: 0.5s;
    color: #ffffff;
    background-color:black;
}
ul li:hover a span:nth-child(1){
    background: #f44336;
    
}
ul li a span:nth-child(1) .fas{
    transition: 0.5s;
}
    
ul li:hover a span:nth-child(1) 
{
    transform: rotateY(360deg);
    color: #ffffff;
}
ul li a span:nth-child(2){
    padding: 10px;
}
#Pool{
    font-family:'Jaro';
}
#Too{
    font-family:'Lobster';
}
#Desert{
    font-family:'Dancing Script';
}
#USA{
    font-family:'Pacifico';
}
#box1{
    border:5px solid red;
    position:absolute;
    margin-top:250px;
    width:25%;
    margin-left:1100px;
    text-align:center;
    padding:10px;
}
#box2{
    border:5px solid lightgreen;
    position:absolute;
    margin:480px;
    width:25%;
    margin-left:1100px;
    text-align:center;
    padding:10px;
}
#Origin{
    position:absolute;
    color:red;
    margin-top:210px;
    margin-left:1250px;
}
#Modern{
    position:absolute;
    color:lightgreen;
    margin-top:445px;
    margin-left:1250px;
}