@font-face {
    font-family: 'AmeliaBasic';
    src: url('/assets/fonts/Amelia-Basic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AmeliaBasic';
    src: url('/assets/fonts/Amelia-Basic-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: bold;
}

@font-face {
    font-family: 'AmeliaBasic';
    src: url('/assets/fonts/Amelia-Basic-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'NotoSansJP';
    src: url('/assets/fonts/NotoSansJP-Regular.otf') format('truetype');
}

body, html {
    width: 100%; 
    font-family: 'NotoSansJP', sans-serif;
    font-size: 16px;
}

/*--------------------------------------------------------------
# Media queries general
--------------------------------------------------------------*/

@media (max-width: 575px) {
    body, html {
        font-size: 12px;
    }
    .rules-card{
        width: 15rem;
        height: 10rem;
    }
}

@media (max-width: 768px) {
    body, html {
        font-size: 12px;
    }
}

@media (max-width: 991px) {
    section .section-subtitle {
        max-width: 70% !important;
        display: inline-block;
    }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/

section:not(#home) {
    padding-top: 5rem;
    text-align: center;
}

section p {
    padding-bottom: 1rem;
    color: #545454;
}

.section-bg {
    background-color: #fff;
}

.section-title {
    font-family: 'AmeliaBasic', sans-serif;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: normal;
    font-style: bold;
    
    color: #3C3C3C;
    padding-bottom: 1rem;
    position: relative;
}

section .logo-box a img {
    width:2rem; 
    height:2rem; 
    position: absolute;
    float: right; 
    bottom: 0; 
    right:0; 
    clear:right; 
    margin-bottom: 0.5rem; 
    margin-right: 0.5rem;
}

section .logo-box {
    position: relative;
}

.color-space{
    background-color: #3200d3;
    height: 5rem; width: 100%;
    border-radius: 1.5rem  1.5rem 0 0;
}

/*--------------------------------------------------------------
# Navbar
--------------------------------------------------------------*/

.navbar {
    background-color: #3200d3;
    padding-left: 2.3rem;
    padding-right: 2.3rem;
    box-shadow: 1.5px 1.5px 1.5px 1px rgba(0, 0, 0, 0.2);
}

.navbar #logo-icon {
    max-width:11.125rem;
}

.navbar .navbar-brand{
    color: white;
    font-size: 0.9rem;
}

.navbar a.active {
    color: #ffffff;
    background-color: #1F0793;
    padding: 0.4rem 1.5rem 0.4rem 1.5rem;
    border-radius: 6px;
}

/*--------------------------------------------------------------
# Sidebar Section
--------------------------------------------------------------*/

.menu-toggle {
	display: none;
	position: fixed;
	top: 2rem;
	right: 2rem;
	width: 40px;
	height: 40px;
	border-radius: 99px;
	background-color: #ffffff;
	cursor: pointer;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    z-index:1000;
}

.hamburger {
	position: relative;
	top: calc(50% - 2px);
	left: 50%;
	transform: translate(-50%, -50%);
	width: 15px;
}

.hamburger > span,
.hamburger > span::before,
.hamburger > span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  border-radius: 99px;
  background-color: #A6A6A6;
  transition-duration: .25s;
}

.hamburger > span::before {
  content: '';
  top: -5px;
}
.hamburger > span::after {
  content: '';
  top: 5px;
}
.menu-toggle.is-active .hamburger > span {
  transform: rotate(45deg);
}
.menu-toggle.is-active .hamburger > span::before {
  top: 0;
  transform: rotate(0deg);
}
.menu-toggle.is-active .hamburger > span::after {
  top: 0;
  transform: rotate(90deg);
}

.sidebar {
    display: none!important;
	flex: 1 1 0;
	max-width: 300px;
	padding: 2rem 1rem;
	background-color: white;
    -moz-box-shadow:    -3px 0 5px 0 #3a3a3a;
    -webkit-box-shadow: -3px 0 5px 0 #3a3a3a;
    box-shadow:         -3px 0 5px 0 #3a3a3a;
    position:relative;
    z-index:1000;
}

.sidebar h3 {
	color: #707793;
	font-size: 0.75rem;
	text-transform: uppercase;
	margin-bottom: 0.5em;
}

.sidebar .menu .menu-item {
	padding: 1em;
	color: #6D6C6C;
	text-decoration: none;
	transition: 0.2s linear;
}

.sidebar .menu .menu-item:hover,
.sidebar .menu .menu-item.is-active {
    background-color: #F2F2F2; border-radius: 6px;
}

.sidebar .menu .menu-item.active{
    background-color: #F2F2F2; border-radius: 6px;
}

#logo-icon-sidebar{
    display: none;
}

@media (max-width: 1150px) {
    .sidebar {
        display: block!important;
    }
    .sidebar .menu{
        display: flex;
        flex-direction: column;
    }
    .sidebar .menu .menu-item {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
    .navbar {
        display: none;
    } 
	.menu-toggle {
		display: block;
	}
	.sidebar {
		position: fixed;
		top: 0;
		left: -300px;
		height: 100vh;
		
		max-width: 300px;
		transition: 0.2s linear;
	}
	.sidebar.is-active {
		left: 0;
	}
    #logo-icon-sidebar{
        display: block;
        max-width:11.125rem;
    }
    #home .home-image img {
        padding-top: 2rem!important;
    }
    #home .home-content {
        padding-left: 5rem;
        padding-top: 4rem!important;
    }
}

/*--------------------------------------------------------------
# Home Section
--------------------------------------------------------------*/

#home .container{
    padding-top: 1rem;
}

#home {
    width: 100%;
    background: #2E01CE;
    padding-bottom: 2rem;
}

#home #logo-icon {
    max-width:11.125rem;
}

#home h1 {
    font-size: 5.5rem; 
    color: #fff; 
    font-weight: bold; 
    font-style: italic;
    padding-top: 2rem;
    font-family: 'AmeliaBasic', sans-serif;
}
  
#home h3 {
    color: #fff;
    margin-bottom: 1.25rem;
    font-size: 1.3rem;
    font-weight: normal;
    max-width: 25rem;
}

#home .home-image img {
    padding-top: 3.4rem;
    width: 40.5rem;
}

#home .home-content {
    padding-left: 5rem;
    padding-top: 8.4rem;
}

@media (max-width: 991px) {
    #home {
      height: fit-content;
      text-align: center;
      padding-left: 0;
      padding-bottom: 2rem;
    }

    #home h1 {
        font-size: 4rem; 
    }

    #home h3 {
        font-size: 1.2rem; 
        max-width: 32rem;
    }
  
    #home .home-image img {
      width: 40%;
      padding-top: 0;
    }

    #home .home-content {
        align-items: center;
        padding-left: 0;
        padding-top: 2rem;
    }
}
  
@media (max-width: 768px) {
    #home {
        height: fit-content;
        padding-left: 0;
    }

    #home h1 {
        font-size: 4rem; 
        line-height: 4rem;
    }
    
    #home h3 {
        font-size: 1.3rem;
        margin-bottom: 1.875rem;
        max-width: 35rem;
    }
  
    #home .home-image img {
        width: 50%;
    }

    #home .home-content {
        padding-left: 0;
    }
}
  
@media (max-width: 575px) {
    .section-title h2 {
        font-size: 2rem;
    }

    #home {
        height: fit-content;
        padding-left: 0;
    }
    
    #home h1 {
        font-size: 3rem; 
    }

    #home h3 {
        font-size: 1rem;
        margin-bottom: 1.875rem;
        max-width: 26rem;
    }

    #home .home-content {
        padding-left: 0;
    }
}

/*--------------------------------------------------------------
# Definitions Section
--------------------------------------------------------------*/

.redeparcerias img {
    max-width: 75%;
}

/*--------------------------------------------------------------
# Logomarca vertical Section
--------------------------------------------------------------*/

#logotipo-horizontal .logo-box {
    background-color:#EFEFEF; 
    padding: 1.25rem 2.75rem 1.25rem 2.75rem;
    border-radius: 1.25rem;
    max-width: 70%;
}

#logotipo-horizontal p {
    max-width: 50%;
}

#logotipo-horizontal .color-pallete {
    max-width: 12rem; 
    padding-top: 1.5625rem;
}

/*--------------------------------------------------------------
# Color palette
--------------------------------------------------------------*/

.changeColor {
    width: 30px;
    padding-top: 30px; 
    border: none;
    border-radius: 4px;
}
  
.button1 {
    background: linear-gradient(-45deg, #3200d3 50%, #fdad18 50%);
}

.button2 {
    background-color: #fdad18;
}

.button3 {
    background-color: #3200d3;
}

.button4 {
    background-color: #000000;
}

.button5 {
    background-color: #FFFFFF;
    border: 1px solid black;
}

.buttonsPallete{
    display: flex; 
    gap: 15px; 
    padding-top: 40px;
}

@media (max-width: 768px) {
    .changeColor {
        width: 20px;
        padding-top: 20px;
    }
}

/*--------------------------------------------------------------
# Logomarca horizontal Section
--------------------------------------------------------------*/

#logotipo-vertical p {
    max-width: 50%;
}

#logotipo-vertical .logo-box {
    background-color:#EFEFEF; 
    padding: 1.25rem 2.1875rem 1.25rem 2.1875rem;
    border-radius: 1.25rem;
    max-width: 70%;
}

#logotipo-vertical .logo-box img{
    max-width: 80%;
}

#logotipo-vertical .color-pallete {
    max-width: 12rem; 
    padding-top: 1.5625rem;
}

/*--------------------------------------------------------------
# Avatar Section
--------------------------------------------------------------*/

#avatar p {
    max-width: 50%;
}

#avatar .logo-box {
    background-color:#EFEFEF;
    padding: 2.5rem; 
    max-width: 40%; 
    border-radius: 1.25rem;
}

/*--------------------------------------------------------------
# Espaçamento Section
--------------------------------------------------------------*/

#espacamento p {
    max-width: 50%;
}

#espacamento img { 
    max-width: 75%; 
}

/*--------------------------------------------------------------
# Cores Principais Section
--------------------------------------------------------------*/

#main-colors .card {
    width: 8rem; 
    height: 8rem; 
    border-radius: 1.5rem; 
    border-style: solid; 
    border-width: 0.0625rem; 
    border-color: black;
}

#main-colors .card .card-text img {
    cursor: pointer;
}

#main-colors .card button{
    background-color: transparent; 
    border: none;
}

#main-colors .card button img {
    width: 1rem;
}

#main-colors .info{
    text-align: left !important;
}

#main-colors #main-color-1{
    background-color: #3200d3;
    height: 65%;
    border-bottom: 0.0625rem solid #000;
}

#main-colors #main-color-2{
    background-color: #fdad18;
    height: 65%;
    border-bottom: 0.0625rem solid #000;
}

/*--------------------------------------------------------------
# Cores Secundárias Section
--------------------------------------------------------------*/

#secondary-colors .card {
    width: 8rem; 
    height: 8rem; 
    border-radius: 1.5rem; 
    border-style: solid; 
    border-width: 0.0625rem; 
    border-color: black;
}

#secondary-colors .card .card-text img {
    cursor: pointer;
}

#secondary-colors .card h6{
    padding-top: 5px;
}

#secondary-colors .card button img {
    width: 1rem;
}

#secondary-colors .card button{
    background-color: transparent;
    border: none;
}

#secondary-colors #secondary-color-1{
    background-color: #3200d3;
    height: 70%;
    border-bottom: 0.0625rem solid #000;
}

#secondary-colors #secondary-color-2{
    background-color: #0090cd;
    height: 70%;
    border-bottom: 0.0625rem solid #000;
}

#secondary-colors #secondary-color-3{
    background-color: #fe5900;
    height: 70%;
    border-bottom: 0.0625rem solid #000;
}

#secondary-colors #secondary-color-4{
    background-color: #f99c00;
    height: 70%;
    border-bottom: 0.0625rem solid #000;
}

#secondary-colors #secondary-color-5{
    background-color: #ffc600;
    height: 70%;
    border-bottom: 0.0625rem solid #000;
}

/*----------------------------------------------------------------
#Rules Section
----------------------------------------------------------------*/
#rules .content {
    gap: 1rem;
}

.rules-card{
    width: 16rem;
    height: 10rem;
    border-radius: 12px;
    border: 1px solid black;
    position: relative;
    overflow: hidden;
}

.rules-card-body {
    width: 100%; 
    padding: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.rules-card:hover .rules-card-body {
    justify-content: space-between; 
}

.rules-text {

    background-color: #303030; 
    color: white; 
    padding-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 25%;
    visibility: hidden;
    opacity: 0;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    max-height: 0;
    font-size: 0.8rem!important;
}

.rules-card:hover .rules-text {
    visibility: visible;
    opacity: 1;
    max-height: 100%;
    margin-top: auto;
}

.card-img {
    margin: 0;
    transition: margin-top 2s ease-in-out;
    width: 80%;
}

.rules-card:hover .card-img{
    margin-top: auto;
}

/*--------------------------------------------------------------
# Tipografia Section
--------------------------------------------------------------*/

#typography .card{
    border: 0;
}

#typography #card-content{
    display: flex; 
    flex-direction: column;
}

#typography .card-content h1 {
    font-size:12.5rem; 
    word-spacing:normal; 
    line-height: 0.7;
    padding-bottom: 0.85rem;
}

#typography .card-content h3 {
    font-size:2.5rem;
}

#typography .card-content h5 {
    font-size:1.875rem;
}

#typography .tipography-1 h5 {
    font-weight: bold; 
    font-style: italic;
    font-size:1.875rem;
}

#typography .card-content a img {
    width:2rem;
    height:2rem;
}

#typography .tipography-1{
    font-family: 'AmeliaBasic', sans-serif;
    color: #3C3C3C;
}

#typography .tipography-1 h1{
    font-size:15rem; 
}

#typography .tipography-2{
    font-family: 'NotoSansJP', sans-serif;
    color: #3C3C3C;
}

#typography .tipography-2 h1{
    padding-bottom: 1.8rem;
}

@media (max-width: 768px) {
    #typography .tipography-1 h1{
        font-size:7.5rem; 
    }

    #typography .tipography-2 h1{
        font-size:6.25rem; 
    }

    #typography .card-content h3 {
        font-size:1.5625rem;
    }
    
    #typography .card-content h5 {
        font-size:1.25rem;
    }
}

/*--------------------------------------------------------------
# Illustrações Section
--------------------------------------------------------------*/

#illustrations img{
    width: 80%;
    padding-bottom: 2rem;
}

#illustrations p {
    max-width: 50%;
    display: inline-block;
}

/*--------------------------------------------------------------
# Tooltips Section
--------------------------------------------------------------*/

.tooltip-copypaste {
    position: relative;
    display: inline-block;
}

.tooltip-copypaste .tooltiptext {
    visibility: hidden;
    width: fit-content;
    background-color: white;
    color: #3C3C3C;
    text-align: center;
    padding: 0.3125rem;
    border-radius: 0.375rem;
    position: absolute;
    z-index: 1;
    bottom: 150%;
    left: 50%;
    margin-left: -3rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip-copypaste .tooltiptext::after {
    content: " ";
    position: absolute;
    top: 100%;
    left: 80%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

.tooltip-copypaste:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}