@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    height: 100vh;
    overflow-x: hidden;
    background-color: #0161a5;
}

.interface {
    max-width: 1280px;
    margin: 0 auto;
}

.flex {
    display: flex;
}

.btn-contato button {
    padding: 10px 40px;
    font-size: 18px;
    font-weight: 600;
    background-color: #0400ff;
    color: #fff;
    border: 0;
    border-radius: 30px;
    cursor: pointer;
    transition: .2s;
}

h2.titulo {
    color: #ffffff;
    font-size: 34px;
    text-align: center;
}

h2.titulo span {
    color: #0400ff;
}

button:hover {
    box-shadow: 0px 0px 8px #0400ff;
    transform: scale(1.05);
}

header {
    padding: 40px 4%;
}

header>.interface {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
}

header a {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    transition: .2s;
}

header a:hover {
    color: #0400ff;
    transform: scale(1.05);
}

header nav ul {
    list-style-type: none;
}

header nav ul li {
    display: inline-block;
    padding: 0 40px;
}

section.topo-do-site {
    padding: 40px 4%;
}

section.topo-do-site .flex {
    align-items: center;
    justify-content: center;
    gap: 90px;
}

.topo-do-site h1 {
    color: #ffffff;
    font-size: 42px;
    line-height: 40px;
}

.topo-do-site .txt-topo-site h1 span {
    color: #0400ff;
}

.topo-do-site .txt-topo-site p {
    color: #ffffff;
    margin: 40px 0;
}

.topo-do-site .img-topo-site img {
    position: relative;
    animation: flutuar 2s ease-in-out infinite alternate;
}

@keyframes flutuar {
    0% {
        top: 0;
    }

    100% {
        top: 30px;
    }
}

section.especialidades {
    padding: 80px 4%;
}

section.especialidades .flex {
    gap: 60px;
}

.especialidades .especialidades-box {
    color: #fff;
    padding: 40px;
    border-radius: 20px;
    border: 2px solid #0400ff;
    margin-top: 45px;
    transition: .2s;
}

.especialidades .especialidades-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #0400ff73;
}

.especialidades .especialidades-box i {
    font-size: 70px;
    color: #0400ff;
}

.especialidades .especialidades-box h3 {
    font-size: 28px;
    margin: 15px 0;
}

section.sobre {
    padding: 40px 4%;
}

section.sobre .flex {
    align-items: center;
    gap: 60px;
}

.sobre .txt-sobre {
    color: #fff;
}

.sobre .txt-sobre h2 {
    font-size: 40px;
    line-height: 40px;
    margin-bottom: 30px;
}

.sobre .txt-sobre h2 span {
    color: #0400ff;
    display: block;
}

.sobre .txt-sobre p {
    margin: 20px 0;
    text-align: justify;
}

.btn-social button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background-color: #0400ff;
    font-size: 22px;
    cursor: pointer;
    color: #fff;
    margin: 0 5px;
    transition: .2s;
}

a {
    text-decoration: none;
}

.course-section {
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.btn-adquirir {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0400ff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
}

.btn-adquirir:hover {
    background-color: #5452ff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.section-header {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
}

.section-header span {
    color: #0400ff;
}

.course-cards {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
}

.course-card {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 350px;
    height: 500px;
    background: #fff;
    margin: 20px;
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3); 
}

.course-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
    object-fit: cover;
}

.course-card .btn-adquirir {
    display: block;
    pointer-events: auto;
    margin: 15px auto;
    text-align: center;
    width: fit-content;
}

.course-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.course-title {
    font-size: 1.5rem;
    color: #333;
    text-align: center;
    margin-bottom: 5px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.course-description {
    color: #333;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

footer {
    padding: 40px 4%;
}

footer .flex {
    justify-content: space-between;
}

footer .line-footer {
    padding: 20px 0;
}

.borda {
    border-top: 2px solid #0400ff;
}

footer .line-footer p i {
    color: #fff;
    font-size: 22px;
}

footer .line-footer p a {
    color: #fff;
}

.background-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.background-particles i {
    position: absolute;
    color: rgba(4, 0, 255, 0.7);
    animation: floatParticles 10s linear infinite;
    opacity: 0;
}

@keyframes floatParticles {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-10vh) translateX(50px) rotate(360deg);
        opacity: 0;
    }
}

@media screen and (max-width: 1020px) {
    .flex {
        flex-direction: column;
    }

    h2.titulo {
        font-size: 30px;
        text-align: center;
        line-height: 30px;
    }

    .course-card {
        width: 90%;
        height: auto;
        margin: 20px auto;
        padding-bottom: 15px;
    }

    .course-card .btn-adquirir {
        margin: 15px auto 0 auto;
    }

    .topo-do-site .flex {
        flex-direction: column-reverse;
    }

    .menu-desktop,
    .btn-contato {
        display: none;
    }

    section.topo-do-site .flex {
        gap: 40px;
    }

    section.topo-do-site {
        padding: 20px 8%;
    }

    .topo-do-site h1 {
        font-size: 32px;
    }

    .topo-do-site .img-topo-site img {
        width: 100%;
    }

    section.especialidades {
        padding: 40px 8%;
    }

    section.sobre {
        padding: 80px 8%;
    }

    .sobre .txt-sobre h2 {
        font-size: 30px;
        line-height: 35px;
        text-align: center;
    }

    .logo-footer {
        display: flex;
    }

    .btn-social {
        text-align: center;
    }

    .img-sobre img {
        width: 100%;
    }

    section.course-section {
        padding: 80px 8%;
        height: auto;
    }

    section.course-section .course-cards {
        flex-direction: column;
        gap: 30px;
    }

    footer.flex {
        flex-direction: column;
    }

    footer .line-footer {
        text-align: center;
    }
}