html{
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
  }

body{
    background-color: white;
    display: flex;
    justify-content: start;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: "Funnel Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    /* width: 100%;
    height: 100%; */
    min-height: 100%;
    margin-bottom: 0;
    overflow-x: hidden;
}



.feature-section{
    height: 750px;
    width: 100%;
    padding: 30px;
    display: flex;
    justify-content: start;
    flex-direction: column;
    align-items: center;
}

.feature-section h2{
    text-align: center;
    font-size: 2rem;
    margin: auto;
    margin-top: 0px;
    color: rgb(250, 83, 83);
}

.feature-section a{
    margin: auto;
    text-decoration: none;
    margin-top: 20px;
    font-size: 1.4rem;
    color: white;
    padding: 20px;
    background-color: rgba(250, 83, 83, 0.8);
    /* backdrop-filter: blur(15px); */
    border-radius: 20px;
    border: 0.5px solid rgba(255, 255, 255, 0.6);
    border-right: 1px solid white;
    border-bottom: 1px solid white;
    box-shadow: 0px 0px 10px rgb(196, 83, 83);
    transition: 0.3s;
}

.feature-section a:hover{
    color: #ad2800;
    background-color: white;
}

.feature-section span{
    position: relative;
}

.feature-section span::after{
    content: '';
    position: absolute;
    width: 100%;
    background-color: #ad2800;
    height:6px;
    left: 0;
    bottom: -3;
}

.feature-section .card-container{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;  
    margin: auto;
    margin-top: 20px;
    align-items: center;
    flex-direction: row;
}

.card{
    width: 350px;
    height: 100%;
    box-shadow: 0px 5px 10px rgb(250, 83, 83, 0.8);
    position: relative;
    max-height: 100%;
    background-position: center;
    background-size: cover;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card:hover .card-info{
    backdrop-filter: blur(25px);
    background-color: rgb(255, 255, 255, 0);
}

.card::after{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgb(0, 0, 0,0), rgba(0, 0, 0, 0.395));
    border-radius: 20px;
}

.card-info{
    width: 90%;
    position: absolute;
    z-index: 10;
    height: 25%;
    background-color: rgb(255, 125, 125, 0.3);
    backdrop-filter: blur(15px);
    border-radius: 10px;
    border: 0.5px solid rgba(255, 255, 255, 0.6);
    border-right: 1px solid white;
    border-bottom: 1px solid white;
    box-shadow: 0px 0px 10px rgb(156, 67, 67);
    bottom: 10;
    padding: 15px;
    padding-inline: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: 0.4s;
}

.card-info div{
    height: 50%;
    margin: auto;
    margin-left: 0;
    margin-top: 0;
    display: flex;
    width: 100%;
    flex-direction: row;
}

.card-info p{
    color: white;
    margin: auto;
    margin-left: 0;
    margin-top: 0;
}

.card  i{
    aspect-ratio: 1/1;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    background-color: rgba(255, 114, 27, 0);
    color: white;
    border-radius: 10px;
    backdrop-filter: blur(2px);
    border-top: solid 1px white;
    border-left: 1px solid white;
    box-shadow: 0px 0px 10px white; 
}

.card h3{
    color: white;
    margin: auto;
    font-size: 1.3rem;
    margin-left: 0;
}

















/* COMPARISON SECTION */
.comparison-section{
    width: 100%;
    margin: auto;
    margin-right: 0px;
    height: fit-content;
    padding-top: 30px;
    padding-bottom: 30px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(#ffad94, #febaa5);
    border-radius: 50px;
}

.section-title {
    margin: auto;
    text-align: center;
    color: black;
    display: flex;
    font-size: 12rem;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.section-title h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.6rem;
    margin-bottom: 20px;
    font-weight: 700;
    margin: auto;
    color: #ad2800;
}

.section-title p {
    font-size: 1.3rem;
    width: 90%;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
}

.comp-cards-container {
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.comp-card {
    position: relative;
    width: 24%;
    height: 100%;
    background: linear-gradient(45deg, #f5515f61, #ff7f5f84);
    border-radius: 30px;
    padding: 35px 30px;
    text-align: center;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: opacity(0);
    border: rgba(255, 255, 255, 0.585) solid 1px;
    border-top: 1.5px solid rgba(255, 255, 255, 0.6);
    border-right: 1.2px solid rgba(255, 255, 255, 0.716);
}

.comp-card::after{
    content: '';
    position: absolute;
    background: linear-gradient(45deg, #f5515fa0, #ff5f5f49);
    left: 0;
    top: 0;
    width: 100%;
    opacity: 0;
    height: 100%;
    z-index: -1;
    transition: 0.3s;
    border-radius: 30px;
    
}

.comp-card:hover::after{
    opacity: 1;
}

.comp-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(255, 54, 54, 0.716);
    border-top: 1.5px solid rgba(255, 255, 255, 0.9);

}

.comp-card:hover span{
    color: #000000;
}

.comp-card:hover h3{
    color: white;
}

.icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.icon i {
    font-size: 2.2rem;
    color: white;
}

.comp-card span{
    color: rgb(255, 109, 109);
    transition: 0.3s;
    font-size: 1.15rem;
    font-weight: 900;
}

.comp-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #0000009e;
    transition: 0.3s;
}

.comp-card p {
    color: #ffffff;
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Different colors for each card icon */
.comp-card:nth-child(2) .icon {
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
}

.comp-card:nth-child(3) .icon {
    background: linear-gradient(135deg, #00cdac, #02aab0);
}

.comp-card:nth-child(4) .icon {
    background: linear-gradient(135deg, #f5515f, #9f041b);
}



/* FOOTER */
footer{
    width: 100%;
    height: fit-content;
    padding: 20px;
    background: rgb(255, 219, 219);
    border-top-right-radius: 50px;
    border-top-left-radius: 50px;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

footer a{
    color: black;
    font-size: 1.2rem;
    font-weight: 100;
    margin-right: 10px;
    margin-left: 10px;
}

footer img{
    width: 15%;
}

#footerImgOne{
    margin: auto;
    margin-left: 0;
}

#footerImgTwo{
    margin: auto;
    margin-right: 0;
}



@media (max-width: 600px) {
    html {
        height: 100%;
        width: 100%;

    }
    body{
        background-color: white;
        display: flex;
        height: fit-content;
        min-height: 100%;
        width: 100%;
        justify-content: start;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
    }

    main{
        background-color: white;
        display: flex;
        height: fit-content;
        min-height: 100%;
        width: 100%;
        justify-content: start;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
    }
    

    .feature-section{
        height: fit-content;
    }
    /* FEATURES SECTION */
    .feature-section .card-container{
        flex-direction: column;
        height: fit-content;
        justify-content: center;
        align-items: center;
    }

    .card{
        height: 500px;
        width: 100%;
        margin: auto;
        margin-bottom: 20px;
    }

    .card-info{
        height: 37%;
    }

    .card-info h3{
        font-size: 1.4rem;
        margin-right: 2px;
    }

    




    



    /* PLANS */
    .plan-section{
        height: fit-content;
        margin-bottom: 0;
        padding: 0;
        padding-top: 20px;
        padding-bottom: 20px;
        justify-content: center;
        align-items: center;
    }
    
    .plan-section h2{
        text-align: center;
        margin:auto;
    }
    .plans{
        height: fit-content;
        width: 95%;
        margin: auto;
    }

    .plans h1{
        text-align: center;
    }

    .plan-container{
        flex-direction: column; 
        height: fit-content;
        margin: auto;
        margin-top: 20px;
    }

    .product{
        min-height: 500px;
        height: fit-content;
        width: 90%;
        margin: auto;
        margin-top: 10px;
    }

    .product h2{
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .price{
        margin: auto;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .price h3{
        height: fit-content;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .price p{
        height: fit-content;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    footer{
        flex-direction: column;
    }

    footer a{
        margin: auto;
        font-size: 1rem;
        margin-left: 0;
    }

    #footerImgOne{
        margin: auto;
        width: 60%;
    }

    #footerImgTwo{
        margin: auto;
        width: 60%;
    }
}