.tot{
    background-color: #1d3358;
    top: -36px;
    position: absolute;
    left: 0;
}

.logo{
    float: left;
    top: 10px;
    position: relative;
}

.head{
    top: 10px;
    position: relative;
}

.fa-solid, .fas {
    font-weight: 900;
    float: right;
    top: -46px;
    position: relative;
}

.btn{
    text-decoration: none;
    padding:8px 16px;
    border-radius: 11.5px;
    background-color: #62eec7;
    font-size: 20px;
    color: black;
    margin-right: 50px;
    text-align: center;
    width: 86px;
}

.heading{
    color: #066163;
    font-size: 25px;
    font-family: Lobster;
    text-align: center;
    position: relative;
    background-color: aliceblue;
    height: 82px;
}

.next{
    float:right;
    margin-right: 3px;
}

.prev{
    float: left;
    margin-left: 3px;
}

.nav-btn{
    top: 10px;
    position: relative;
}

.nav-btn a:hover{
    color: white;
    background: none;
    border: 2px solid white;
}

.col1{
    width: 50%;
    margin-top: 120px;
    font-size: 20px;
    margin-left: 35px;
    font-style: italic;
    color: aliceblue;
    line-height: 30px;
}

.fd{
    font-size: 25px;
    font-family: Lobster;
    color: moccasin;
}

.col2{
    width: 40%;
    float: right;
    margin-top: -310px;
}

span{
    color: lightcoral;
}

.main-cards{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width:100%;
    height: 316px;
    align-content: space-evenly;
    overflow-x: hidden;
    overflow: hidden;
    justify-content: center;
}

.main-cards .flip{
    padding: 10px;
    border: 3px solid rgba(255,255,255,0.8);
    border-radius: 10px;
    text-align: center;
    position: relative;
    flex: 0 0 300px; 
    height: 290px;
    width: 30px;
    perspective: 1000px;
}

.flip-inner{
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.4s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.flip:hover .flip-inner{
    transform: rotateY(180deg);
}

.flip-front, .flip-back{
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-front{
    background-color: rgba(255,255,255,0.8);
    color: #333;
}

.flip-back{
    transform: rotateY(180deg);
    font-size: 19px;
    line-height: 30px;
}