@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

body {
    margin: 0;
    font-family: Helvetica, sans-serif;
    background-color: #f4f4f4;
    padding: 0;
}

a {
    color: #000;
}

/* header */

.header {
    background-color: #ffffff;
    box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, .1);
    position: fixed;
    width: 100%;
    z-index: 3;
    padding: 10px;
}

header img {
    margin-top: 13px;
    width: 100px;
    margin-left: 5px;
    transition: transform 0.3s ease;
    opacity: 0;
    animation: fadeInLogo 0.8s ease forwards;
}

.header img:hover {
    transform: scale(1.05);
}

@keyframes fadeInLogo {
    to {
        opacity: 1;
    }
}

.header ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    background-color: #fff;
}

.header li a {
    display: block;
    padding: 20px 20px;
    border-right: 1px solid #f4f4f4;
    text-decoration: none;
}

.header li a:hover,
.header .menu-btn:hover {
    background-color: #f4f4f4;
}

.header .logo {
    display: block;
    float: left;
    font-size: 2em;
    padding: 10px 20px;
    text-decoration: none;
}

/* menu */

.header .menu {
    clear: both;
    max-height: 0;
    transition: max-height .2s ease-out;
}

.menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    padding: 16px 0;
    transition: color 0.3s ease;
}

.menu li a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #e4a42e;
    transition: width 0.3s ease;
}

.menu li a:hover {
    color: #e4a42e;
}

.menu li a:hover::after {
    width: 100%;
}


/* menu icon */

.header .menu-icon {
    cursor: pointer;
    display: inline-block;
    float: right;
    padding: 28px 20px;
    position: relative;
    user-select: none;
}

.header .menu-icon .navicon {
    background: #333;
    display: block;
    height: 2px;
    position: relative;
    transition: background .2s ease-out;
    width: 18px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
    background: #333;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.header .menu-icon .navicon:before {
    top: 5px;
}

.header .menu-icon .navicon:after {
    top: -5px;
}

/* menu btn */

.header .menu-btn {
    display: none;
}

.header .menu-btn:checked~.menu {
    max-height: 240px;
}

.header .menu-btn:checked~.menu-icon .navicon {
    background: transparent;
}

.header .menu-btn:checked~.menu-icon .navicon:before {
    transform: rotate(-45deg);
}

.header .menu-btn:checked~.menu-icon .navicon:after {
    transform: rotate(45deg);
}

.header .menu-btn:checked~.menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked~.menu-icon:not(.steps) .navicon:after {
    top: 0;
}

/* intro */

.intro {
    padding-top: 100px;
    background-color: #FFA500;
    color: black;
    padding-bottom: 40px;
    padding-left: 20px;
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    animation: fadeInIntro 1s ease-in-out;
}

.intro h1 {
    font-size: 40px;
    letter-spacing: 5px;
    font-weight: 100;
    animation: slideDown 0.8s ease forwards;
}

.intro p {
    font-size: 20px;
    letter-spacing: 5px;
    line-height: 25px;
}

.intro a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.intro a:hover {
    color: #000;
}

/* Animations */
@keyframes fadeInIntro {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


.intro {
    padding-top: 100px;
    background-color: #FFA500;
    color: black;
    padding-bottom: 40px;
    padding-left: 20px;
}

.intro p {
    font-size: 20px;
    letter-spacing: 5px;
    line-height: 25px;
}


.intro a {
    color: rgb(255, 255, 255);
}

/* text */

.text {
    text-align: center;
    margin-top: 100px;
}

.text h1 {
    font-family: 'Bebas Neue';
    font-size: 40px;
    font-weight: 100;
}

/* cards */

.cards {
    padding-top: 70px;
    gap: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cards2 {
    gap: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.cards3 {
    gap: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    padding-bottom: 50px;
}

.flip-card-container {
    width: 300px;
    height: 400px;
    perspective: 1000px;
}

.flip-card {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 1s;
    transform-style: preserve-3d;
}

.flip-card-container:hover .flip-card {
    transform: rotateY(180deg);
    /* <=>  rotateY(.5turn) */
}

/* Position the front and back side */
.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    /* Safari */
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    /* border-radius: 0.5rem; */
}

.flip-card-front {
    background-color: #333;
    color: #fff;
}

.flip-card-back {
    background-color: #517fa4;
    color: #fff;
    transform: rotateY(180deg);
}

.flip-card-front img {
    width: 100%;
    height: 100%;
    /* border-radius: 0.5rem; */
}

.flip-card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* main-cont */

.main-cont {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.main-cont button {
    padding: 20px 10px;
    width: 150px;
    margin: 0 auto;
    margin-top: 50px;
    margin-bottom: 50px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 500;
    color: #000;
    background-color: #fff;
    border: none;
    border-radius: 45px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease 0s;
    cursor: pointer;
    outline: none;
    max-width: 400px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border-bottom: none;
}

.main-cont a button {
    background-color: #ffffff;
    color: #000;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.main-cont a button:hover {
    background-color: #e4a42e;
    color: #fff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}


.main-cont a {
    text-decoration: none;
}

button:hover {
    background-color: #2363c4;
    box-shadow: 0px 15px 20px rgba(17, 144, 218, 0.808);
    color: #fff;
    transform: translateY(-7px);
}

button:active {
    transform: translateY(-1px);
}

/* conclusion */

.conclusion {
    background-color: #000;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5px;
}

.group2 p {
    font-size: 14px;
    color: #aaa;
    letter-spacing: 1px;
}

/* 48em = 768px */

@media (min-width: 48em) {
    .header li {
        float: left;
    }

    .header li a {
        padding: 20px 30px;
    }

    .header .menu {
        clear: none;
        float: right;
        max-height: none;
    }

    .header .menu-icon {
        display: none;
    }

    @media(min-width: 1000px) {
        header img {
            width: 200px;
            margin-top: 0px;
        }
    }
}

@media (min-width: 770px) {

    .main-cont {
        gap: 50px;
    }

    .main-cont button {
        width: 300px;
    }
}

@media (max-width: 1000px) {

    .cards,
    .cards2,
    .cards3 {
        display: flex;
        flex-direction: column;
    }
}

@media (min-width: 1000px) {

    .intro h1 {
        letter-spacing: 5px;
        font-weight: 100;
        font-size: 35px;
    }

    .intro p {
        font-size: 25px;
        letter-spacing: 5px;
        line-height: 30px;
    }

    .intro {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        font-family: 'Bebas Neue';
    }

    .conclusion {
        margin-top: 5%;
    }
}