@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;700&family=Forum&display=swap");

/* Variables */
:root {
    --primary-color: #c00;
    --secondary: #ffffff;
    --black: #141414;
    --white: #fff;
    --box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.1);
    --blue: #181e50;
    --green: #14d044;
}

/* Base Styles */
* {
    font-family: 'DM Sans', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    transition: all .2s linear;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 9rem;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar {
    width: 1rem;
}

html::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb {
    background: var(--primary-color);
}

section {
    padding: 3rem 7%;
}

.encima {
    padding-top: 3rem;
}

.heading {
    padding-top: 90px;
    position: relative;
    color: var(--primary-color);
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4rem;
    text-align: center;
}

.heading::after {
    content: url('../img/separator.svg');
    display: block;
    width: 10rem;
    margin-inline: auto;
    margin-top: -1rem;
}

.btn {
    position: relative;
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    max-width: max-content;
    border: .1rem solid var(--primary-color);
    background: var(--secondary);
    padding: 1.2rem 4.5rem;
    overflow: hidden;
    z-index: 1;
    border-radius: .5rem;
}

.btn::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 200%;
    border-radius: 50%;
    background-color: var(--primary-color);
    transition: 500ms ease;
    z-index: -1;
}

.btn .text {
    transition: 250ms ease;
}

.btn .text-2 {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: max-content;
    color: var(--secondary);
}

.btn:is(:hover, :focus-visible)::before {
    bottom: -50%;
}

.btn:is(:hover, :focus-visible) .text-1 {
    transform: translateY(-4rem);
}

.btn:is(:hover, :focus-visible) .text-2 {
    top: 50%;
    transform: translate(-50%, -50%);
}

.shine {
    position: relative;
}

.shine::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-image: linear-gradient(to right, transparent 0%, #fff6 100%);
    transform: skewX(-0.08turn) translateX(-180%);
}

.shine:is(:hover, :focus-within)::after {
    transform: skewX(-0.08turn) translateX(275%);
    transition: 1000ms ease;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--box-shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 12%;
}

.header .logo {
    font-size: 2.5rem;
    font-weight: bolder;
    color: var(--black);
}

.header .logo img {
    height: 70px;
    width: 70px;
}

.header .logo i {
    color: var(--primary-color);
    padding-right: .5rem;
}

.header .navbar a {
    font-size: 1.7rem;
    color: var(--black);
    margin: 0 1rem;
    padding-block: 1rem;
}

.header .navbar a:hover {
    color: var(--primary-color);
}

.header .navbar .hover-underline {
    position: relative;
    max-width: max-content;
}

.header .navbar .hover-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: .5rem;
    border-block: .1rem solid var(--primary-color);
    transform: scaleX(0.2);
    opacity: 0;
    transition: 500ms ease;
}

.header .navbar .hover-underline:is(:hover, :focus-visible)::after {
    transform: scaleX(1);
    opacity: 1;
}

.header .icons div {
    font-size: 2.5rem;
    margin-left: 1.7rem;
    color: var(--black);
    cursor: pointer;
}

.header .icons div:hover {
    color: var(--primary-color);
}

#menu-btn {
    display: none;
}

.header .login-form {
    position: absolute;
    top: 115%;
    right: -105%;
    background: var(--white);
    box-shadow: .5rem;
    width: 35rem;
    box-shadow: var(--box-shadow);
    padding: 2rem;
}

.header .login-form.active {
    right: 2rem;
    transition: .4s linear;
}

.header .login-form h3 {
    font-size: 2.2rem;
    color: var(--black);
    text-align: center;
    margin-bottom: .7rem;
}

.header .login-form .box {
    font-size: 1.5rem;
    margin: .7rem 0;
    border: .1rem solid rgba(0, 0, 0, 0.1);
    padding: 1rem 1.2rem;
    color: var(--black);
    text-transform: none;
    width: 100%;
}

.header .login-form .remember {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: .7rem 0;
}

.header .login-form .remember label {
    font-size: 1.5rem;
    color: var(--black);
    cursor: pointer;
}

/* Home */
.home {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.home .background-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.home .content {
    position: relative;
    z-index: 1;
    color: #fff;
}

.home .content {
    max-width: 50rem;
}

.home .content h3 {
    font-size: 5rem;
    color: var(--white);
    line-height: 1.2;
}

.home .content p {
    font-size: 1.5rem;
    line-height: 2;
    color: var(--white);
    padding: 1rem 0;
}

/* About */
.about .container {
    display: flex;
    flex-wrap: wrap;
}

.about .container .about-image {
    position: relative;
    flex: 1 1 40rem;
}

.about .container .about-image img {
    width: 80%;
}

.about .container .about-image .about-img {
    position: absolute;
    bottom: -10rem;
    right: -1rem;
    width: 25rem;
    padding-block: 5rem;
}

.about .container .about-content {
    flex: 1 1 50rem;
    padding-left: 6rem;
    padding-top: 8rem;
}

.about .container .about-content h3 {
    font-size: 3rem;
    color: var(--primary-color);
}

.about .container .about-content p {
    font-size: 1.6rem;
    color: #444;
    padding: 1rem 0;
    line-height: 1.8;
}

/* Subjects */
.subjects .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 2rem;
}

.subjects .box-container .box {
    padding: 3rem 2rem;
    text-align: center;
    border: .1rem solid var(--primary-color);
    background: var(--secondary);
    cursor: pointer;
}

.subjects .box-container .box:hover {
    background: var(--primary-color);
}

.subjects .box-container .box img {
    height: 10rem;
    margin-bottom: .7rem;
}

.subjects .box-container .box h3 {
    font-size: 1.7rem;
    color: #eee;
    padding: .5rem 0;
    text-transform: capitalize;
}

.subjects .box-container .box:hover h3 {
    color: #fff;
}

.subjects .box-container .box p {
    font-size: 1.5rem;
    line-height: 2;
    color: #eee;
}

.subjects .box-container .box:hover p {
    color: #eee;
}

/* Courses */
.courses .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 2rem;
}

.courses .box-container .box .image {
    height: 25rem;
    overflow: hidden;
    position: relative;
}

.courses .box-container .box .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.courses .box-container .box:hover .image img {
    transform: scale(1.1);
}

.courses .box-container .box .image h3 {
    font-size: 1.5rem;
    color: #444;
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: .5rem 1.5rem;
    background: var(--white);
}

.courses .box-container .box .content {
    padding: 2rem;
    position: relative;
    border: 0.1rem solid var(--primary-color);
}

.courses .box-container .box .content h4 {
    position: absolute;
    background: var(--primary-color);
    color: var(--secondary);
    top: -3rem;
    right: 1.5rem;
    width: 6rem;
    height: 6rem;
    line-height: 6rem;
    text-align: center;
    font-size: 1.4rem;
    border-radius: 50%;
}

.courses .box-container .box .content p {
    font-size: 1.4rem;
    color: #444;
    line-height: 2;
}

.courses .box-container .box .content h3 {
    font-size: 2rem;
    color: #444;
}

.courses .box-container .box .content .stars {
    padding: 1rem 0;
}

.courses .box-container .box .content .stars i {
    font-size: 1.7rem;
    color: var(--primary-color);
}

.courses .box-container .box .content .stars span {
    font-size: 1.4rem;
    color: #777;
    margin-left: .5rem;
}

.courses .box-container .box .content .icons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 0.1rem solid var(--primary-color);
}

.courses .box-container .box .content .icons span {
    font-size: 1.5rem;
    color: #444;
}

.courses .box-container .box .content .icons span i {
    color: var(--primary-color);
    padding-right: .5rem;
}

/* Teacher */
.teacher .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 2rem;
}

.teacher .box-container .box {
    background: var(--white);
    box-shadow: var(--box-shadow);
    border-radius: .5rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.teacher .box-container .box .image {
    position: relative;
    overflow: hidden;
}

.teacher .box-container .box .image img {
    background: var(--secondary);
    width: 100%;
}

.teacher .box-container .box:hover .image .share {
    bottom: 0;
}

.teacher .box-container .box .image .share {
    position: absolute;
    bottom: -10rem;
    left: 0;
    right: 0;
    padding: 2rem;
}

.teacher .box-container .box .image .share a {
    height: 4rem;
    width: 4rem;
    line-height: 4rem;
    font-size: 2rem;
    margin: 0 1rem;
    color: var(--secondary);
    background: var(--primary-color);
    border-radius: .5rem;
}

.teacher .box-container .box .image .share a:hover {
    color: var(--primary-color);
    background: var(--secondary);
}

.teacher .box-container .box .content {
    padding: 2rem;
    padding-top: 1rem;
    align-items: center;
}

.teacher .box-container .box .content h3 {
    font-size: 2rem;
    color: var(--black);
}

.teacher .box-container .box .content span {
    font-size: 1.5rem;
    line-height: 2;
    color: #777;
}

/* Review */
.review .slide {
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    border: 0.1rem solid rgba(0, 0, 0, 0.1);
    border-radius: 2rem;
    position: relative;
}

.review .slide p {
    font-size: 1.5rem;
    text-align: center;
    padding-bottom: .5rem;
    line-height: 1.8;
    color: #444;
}

.review .slide .wrapper {
    display: flex;
    justify-content: center;
    gap: .3rem;
}

.review .slide .wrapper .separator {
    width: .8rem;
    height: .8rem;
    border: .1rem solid var(--primary-color);
    transform: rotate(45deg);
    animation: rotate360 15s linear infinite;
}

@keyframes rotate360 {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(1turn);
    }
}

.review .slide .fa-quote-right {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    font-size: 6rem;
    color: var(--secondary);
}

.review .slide .user {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: .5rem;
}

.review .slide .user img {
    height: 7rem;
    width: 7rem;
    border-radius: 15%;
    object-fit: cover;
    border: .1rem solid var(--primary-color);
    padding: .5rem;
}

.review .slide .user h3 {
    font-size: 2rem;
    color: var(--black);
    padding-bottom: .5rem;
}

.review .slide .user .stars i {
    font-size: 1.3rem;
    color: var(--primary-color);
}

/* Blog */
.blog .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
}

.blog .box-container .box {
    box-shadow: var(--box-shadow);
    border-radius: 2rem;
}

.blog .box-container .box .image {
    height: 25rem;
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 2rem 2rem 0 0;
}

.blog .box-container .box .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.blog .box-container .box:hover .image img {
    transform: scale(1.1);
}

.blog .box-container .box .image h3 {
    font-size: 1.5rem;
    color: #444;
    position: absolute;
    top: 1.5rem;
    left: 1rem;
    padding: .5rem 1.5rem;
    background: var(--white);
    border-radius: 2rem 0 2rem 0;
}

.blog .box-container .box .content {
    padding: 2rem 2rem;
    background: var(--secondary);
    border-radius: 0 0 2rem 2rem;
}

.blog .box-container .box .content .icons {
    margin-bottom: 1rem;
    align-items: center;
}

.blog .box-container .box .content .icons a {
    font-size: 1.4rem;
    color: var(--primary-color);
}

.blog .box-container .box .content .icons a i {
    padding-right: .5rem;
}

.blog .box-container .box .content h3 {
    font-size: 2.2rem;
    color: var(--black);
}

.blog .box-container .box .content p {
    font-size: 1.5rem;
    color: var(--black);
    line-height: 2;
    padding: 1rem 0;
}

/* Contact */
.contact .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.contact .row .image {
    flex: 1 1 40rem;
}

.contact .row .image img {
    width: 100%;
}

.contact .row form {
    flex: 1 1 40rem;
    border: 0.1rem solid var(--primary-color);
    padding: 2rem;
}

.contact .row form h3 {
    font-size: 2.5rem;
    color: #444;
    padding-bottom: 1rem;
}

.contact .row form .box {
    width: 100%;
    font-size: 1.6rem;
    padding: 1.2rem 1.4rem;
    border: .1rem solid var(--primary-color);
    margin: .7rem 0;
}

.contact .row form .box:focus {
    color: var(--primary-color);
}

.contact .row form textarea {
    height: 15rem;
    resize: none;
}

/* Footer */
.footer {
    background: var(--secondary);
    text-align: center;
}

.footer .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 2rem;
}

.footer .box-container .box h3 {
    font-size: 2.2rem;
    color: var(--primary-color);
    padding: 1rem 0;
}

.footer .box-container .box p {
    font-size: 1.5rem;
    color: var(--black);
    line-height: 2;
    padding: 1rem 0;
}

.footer .box-container .box .share {
    margin-top: 1rem;
}

.footer .box-container .box .share a {
    height: 4.5rem;
    width: 4.5rem;
    line-height: 4.5rem;
    border-radius: 10%;
    font-size: 1.7rem;
    border: .1rem solid var(--primary-color);
    color: var(--primary-color);
    margin-right: .3rem;
    text-align: center;
}

.footer .box-container .box .share a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.footer .box-container .box .link {
    font-size: 1.7rem;
    line-height: 2;
    color: var(--black);
    padding: .5rem 0;
    display: block;
}

.footer .box-container .box .link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer .credit {
    font-size: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    text-align: center;
    color: var(--black);
    border-top: .1rem solid var(--primary-color);
}

.footer .credit span {
    color: var(--primary-color);
}

/* Testemonial */
.testemonial {
    margin-top: 90px;
}

.testemonial .col-3 {
    text-align: center;
    width: 30%;
    margin: 10px 0;
    padding: 40px 20px;
    box-shadow: 0 0 20px 0px rgba(232, 96, 96, 0.495);
    border-radius: 7px;
    cursor: pointer;
    transition: transform 0.5s;
}

.testemonial .col-3 img {
    width: 50px;
    margin-top: 20px;
    border-radius: 50%;
}

.testemonial .col-3:hover {
    transform: translateY(-10px);
}

.fa .fa-quote-left {
    font-size: 34px;
    color: #533374;
}

.col-3 p {
    font-size: 12px;
    margin: 12px 0;
    color: #777;
}

.testemonial .col-3 h3 {
    font-weight: 600;
    color: #555;
    font-size: 16px;
}

.brands {
    margin: 100px;
}

.col-5 {
    width: 160px;
}

.brand .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.brand .col-5 {
    width: 30%;
    text-align: center;
}

.brand .col-5 img {
    width: 100%;
    max-width: 150px;
    height: auto;
}

.col-5 img {
    width: 100%;
    cursor: pointer;
    filter: grayscale(100%);
}

.col-5 img:hover {
    filter: grayscale(0);
}

.testemonial .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.testemonial .row .col-3 {
    width: 30%;
}

/* Image Detail */
.image-detalhe {
    position: relative;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
}

.image-detalhe img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}

.image-detalhe h3 {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
}

.data-detalhe {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
}

/* Input Comment */
.input-comentario {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-comentario:focus {
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
    outline: none;
}

/* News Registration */
.regist-noticias {
    max-width: 700px;
    margin: 4rem auto;
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 1rem;
    box-shadow: var(--box-shadow);
    font-family: 'DM Sans', sans-serif;
}

.regist-noticias h1 {
    font-size: 2.8rem;
    color: var(--black);
    text-align: center;
    margin-bottom: 3rem;
}

.regist-noticias form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.regist-noticias .input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.regist-noticias label {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--black);
}

.regist-noticias input[type="text"],
.regist-noticias input[type="file"],
.regist-noticias select,
.regist-noticias textarea {
    padding: 1.2rem;
    font-size: 1.5rem;
    border: 1px solid #ccc;
    border-radius: 0.6rem;
    background: #f9f9f9;
    color: var(--black);
}

.regist-noticias form .row .input-group input,
.regist-noticias form .row .input-group select {
    border: 1px #ccc solid;
    padding: 10px;
    border-radius: 8px;
    color: #333;
}

form input {
    width: 100%;
    background: transparent;
    color: #ccc;
    border: 0;
    outline: none;
}

.regist-noticias textarea {
    resize: vertical;
}

.regist-noticias button {
    padding: 1.2rem 2rem;
    font-size: 1.6rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 0.6rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.regist-noticias button:hover {
    background-color: #a00;
}

.img-preview img {
    max-width: 100%;
    border-radius: 0.6rem;
    margin-top: 1rem;
}

/* Response Messages */
#response {
    max-width: 320px;
    margin-top: 20px;
    margin-left: 20px;
    position: fixed;
    top: 30px;
    right: 15px;
    display: none;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
    color: var(--green);
    background-color: #9effe2;
    width: max-content;
    padding: 10px;
    border-radius: 8px;
    z-index: 99999;
    font-size: 12pt;
}

#error {
    max-width: 320px;
    position: fixed;
    top: 30px;
    right: 15px;
    display: none;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
    color: #c00;
    background-color: #feabab;
    width: max-content;
    padding: 10px;
    border-radius: 8px;
    z-index: 99999;
    font-size: 12pt;
}

/* Admin Panel */
.painel-opcoes {
    background: var(--white);
    padding: 4rem 2rem;
    text-align: center;
}

.painel-opcoes h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 3rem;
}

.painel-opcoes div {
    margin-bottom: 1.5rem;
}

.painel-opcoes a {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    font-size: 1.6rem;
    border-radius: 0.6rem;
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--box-shadow);
    transition: background 0.3s ease;
}

.painel-opcoes a:hover {
    background-color: #a00;
}

/* Custom Grid Layout */
.custom-grid-layout {
    padding-top: 90px;
    display: grid;
    grid-template-columns: 65% 30%;
    gap: 5%;
    align-items: flex-start;
}

.blog .custom-grid-layout .box .image h3 {
    font-size: 1.5rem;
    color: #444;
    position: absolute;
    top: 1.5rem;
    left: 1rem;
    padding: .5rem 1.5rem;
    background: var(--white);
    border-radius: 2rem 0 2rem 0;
}

.blog .custom-grid-layout .box .content {
    padding: 2rem 2rem;
    background: var(--secondary);
    border-radius: 0 0 2rem 2rem;
}

.blog .custom-grid-layout .box .content .icons {
    margin-bottom: 1rem;
    align-items: center;
}

.blog .custom-grid-layout .box .content .icons a {
    font-size: 1.4rem;
    color: var(--primary-color);
}

.blog .custom-grid-layout .box .content .icons a i {
    padding-right: .5rem;
}

.blog .custom-grid-layout .box .content h3 {
    font-size: 2.2rem;
    color: var(--black);
}

.blog .custom-grid-layout .box .content p {
    font-size: 1.5rem;
    color: var(--black);
    line-height: 2;
    padding: 1rem 0;
}

.detalhe-noticia {
    width: 100%;
}

.relacionadas {
    width: 100%;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.relacionadas h4 {
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 18px;
}

.card-relacionada {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.card-relacionada img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.card-relacionada p {
    margin: 0;
    font-size: 14px;
}

.custom-grid-layout > div {
    transition: all 0.3s ease;
}

/* Media Queries */
@media (max-width:991px) {
    html {
        font-size: 55%;
    }

    .header {
        padding: 2rem 4rem;
    }

    section {
        padding: 3rem 2rem;
        padding-top: 12rem;
    }
}

@media (max-width:768px) {
    #menu-btn {
        display: inline-block;
    }

    .header .navbar {
        position: absolute;
        top: 110%;
        right: -110%;
        width: 30rem;
        box-shadow: var(--box-shadow);
        border-radius: .5rem;
        background: var(--white);
    }

    .header .navbar.active {
        right: 2rem;
        transition: .4s linear;
    }

    .header .navbar a {
        font-size: 2rem;
        margin: 1rem 2.5rem;
        display: block;
    }

    .home .content h3 {
        font-size: 3rem;
    }

    .about .container .about-content {
        padding-left: 0;
    }

    .brand .col-5 {
        width: 100%;
        margin-bottom: 20px;
    }

    .testemonial .col-3 {
        width: 100%;
    }

    .custom-grid-layout {
        display: block;
    }

    .detalhe-noticia,
    .relacionadas {
        width: 100%;
        margin-bottom: 2rem;
    }
}

@media (max-width:600px) {
    .regist-noticias {
        padding: 2rem 1.5rem;
    }

    .regist-noticias h1 {
        font-size: 2.2rem;
    }

    .regist-noticias input,
    .regist-noticias select,
    .regist-noticias textarea {
        font-size: 1.4rem;
    }

    .regist-noticias button {
        width: 100%;
    }
}

@media (max-width:450px) {
    html {
        font-size: 50%;
    }
}

@media screen and (max-width: 768px) {
    .custom-grid-layout {
        display: block;
    }

    .detalhe-noticia,
    .relacionadas {
        width: 100%;
        margin-bottom: 2rem;
    }
}