* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    background-color: white
}

ul {
    display: flex;
    justify-content: space-evenly;
}

ul li {
    list-style: none;
}

ul li a {
    text-decoration: none;
    color: black;
    font-size: 22px;
    padding: 10px 20px;
    border-radius: 5px;
    position: relative;

}

a:before {
    content: "";
    position: absolute;
    top : 0;
    left: 0;
    width: 40%;
    height: 8;
    background-color: black;
    transform: scaleY(0);
    transition: all .5s;
    transform-origin: top;
}   

a::after {
    content: "";
    position: absolute;
    bottom : 0;
    right: 0;
    width: 40%;
    height: 8;
    background-color: black;
    transform: scaleY(0);
    transition: all .5s;
    transform-origin: bottom;
}

ul li a:hover:before,
ul li a:hover:after {
    transform: scale(1) rotate(3deg);
}

li a:hover{
    color : rgb(107, 49, 49);
    z-index: 4;
}




.content {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: rgb(162, 60, 60);
    position: absolute;
    top: 30%;
    left : 50%;
    transform: translate(-50%, -50%);
} 

.content h1 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: rgb(136, 63, 63);
    font-size: 50px;
    margin-bottom: 20px;
}   

.content p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: wheat;
    font-size: 20px;
    margin-bottom: 20px;
}

