.my-soul-regular {
  font-family: "My Soul", cursive;
  font-weight: 400;
  font-style: normal;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.first{
    font-family: "Montserrat", sans-serif;
    width: 100%;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.568), rgba(0, 0, 0, 0.555)), url(./Pagani.jpg);
    background-size: cover; 
}
nav{
    width: 100%;
    margin: auto;
    padding: 30px 0px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: fixed;
}
.logo{
    width: 120px;
}
ul{
    display: flex;
    list-style-type: none;
    gap: 35px
}
ul li a{
    text-decoration: none;
    color: white ;
    text-transform: uppercase;
    font-size: 20px;
}
.content{
    width: 100%;
    position: absolute;
    top: 45%;
    text-align: center;
    color: white;
}
.content h1{
    font-size: 60px;
}
.content p{
    margin: 20px auto;
    font-weight: bold;
    line-height: 25px;
}
.first button{
    width: 200px;
    padding: 15px 10px;
    border-radius: 25px;
    background-color: transparent;
    color: white;
    border: 1px solid orange;
}
.first button:hover{
    background-color: orange;
    transition: all .5s;
}
.second{
    width: 100%;
    height: 100vh;
    background:linear-gradient(rgba(0, 0, 0, 0.521),rgba(0, 0, 0, 0.452)),url(./orig.webp);
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}
.second .card{
    width: 300px;
    height: 400px;
    background:linear-gradient(rgba(0, 0, 0, 0.205),rgba(0, 0, 0, 0.212)),url(./A3.jpg);
    background-size: cover;
    background-position: center;
    border-radius: 10px;
}
.second .card .card-main{
    width: 100%;
    height: 75%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.second .card .card-main h1{
    color: white;
    position: relative;
    top: 25px;
}
.second .card .card-main p{
    color: white;
    position: relative;
    text-align: center;
    top: 25px;
    display: none;
}
.card:hover .card-main h1{
    display: none;
}
.card:hover .card-main p{
    display: block;
}
.card:hover{
    background:linear-gradient(rgba(0, 0, 0, 0.473),rgba(0, 0, 0, 0.534)),url(./12.jpg);
    background-position: center;
    background-size: cover;
}
.card-footer{
    width: 100%;
    height: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-footer button{
    margin: 0px 15px ;
    width: 250px;
    padding: 10px 0px;
    background-color: transparent;
    color: aliceblue;
    border: 1px solid red;
    border-radius: 25px;
}
.card-footer button:first-child:hover{
    border-top-left-radius: 0px;
    transition: all 0.5s;
    background-color: red;
}
.card-footer button:last-child:hover{
    border-top-right-radius: 0px;
    transition: all 0.5s;
    background-color: red;
}

