:root {
    --primary: #2ecc71;
    --primary-darker: #27ae60;
    --secondary: #ffffff;
    --secondary-darker: #f5f5f5;
    --background: #2d2d2d;
    --warning: #e74c3c;
    --warning-darker: #c0392b;
}

/*
.row {
    --bs-gutter-x: 0;
}
*/

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: linear-gradient(rgba(255,255,255,.8), rgba(255,255,255,.8)), url("images/pattern.svg");
    background-repeat: repeat;
}

.menu-bar {
    background-color: var(--background);
}

.text-clear {
    color: var(--secondary);
}

.footer {
    margin-top: auto;
    padding: 30px;
    background-color: var(--background);
    color: white;
    text-align: center;
}

.footer > p {
    margin: 0;
    font-size: 0.8em;
}

.container {
    max-width: 960px;
    margin-bottom: 100px;
}

@media screen and (max-width: 728px) {
    .container {
        margin-bottom: 20px;
    }
}

.container-full {
    max-width: 100%;
}

.main-header {
    width: 100%;
    padding: 100px 50px;
}

.main-header-text {
    font-size: 50px;
    margin-bottom: 20px;
}

.header-col {
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.header-btn {
    max-width: 300px;
    margin: 0 auto;
}

.section-btn {
    max-width: 300px;
    color: white !important;
}

.main-img {
    width: 200px;
}

.full-img {
    max-width: 100%;
}

.border-img {
    border-radius: 5px;
}

.text-box {
    padding: 20px;
    background-color: var(--secondary);
    color: white;
    border-radius: 5px;
    text-align: center;
}

.text-box > * {
    color: white !important;
}

.btn-primary {
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary);
    margin-bottom: 20px;
    margin-top: 20px;
}

.btn-primary:hover, 
.btn-primary:active,
.btn-primary:focus {
    background-color: var(--primary-darker) !important;
    border-color: var(--primary-darker) !important;
}

.btn-danger {
    color: #fff;
    background-color: var(--warning);
    border-color: var(--warning);
    margin-bottom: 20px;
    margin-top: 20px;
}

.btn-white {
    color: #000;
    background-color: var(--secondary);
    border-color: var(--secondary);
    margin-bottom: 20px;
    margin-top: 20px;
}

.btn-white:hover, 
.btn-white:active,
.btn-white:focus {
    background-color: var(--secondary-darker) !important;
    border-color: var(--secondary-darker) !important;
}

.btn-big {
    padding: 10px 20px;
    font-size: 20px;
}

.form-field {
    margin-bottom: 20px;
}

.bg-main {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.bg-main:hover, 
.bg-main:active {
    background-color: var(--primary-darker);
    border-color: var(--primary-darker);
    color: white;
}

.bg-second {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

.bg-second:hover, 
.bg-second:active {
    background-color: var(--secondary-darker);
    border-color: var(--secondary-darker);
    color: white;
}

.section-header {
    max-width: 700px;
}

.card-deck .card {
    min-width: 220px;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: var(--primary-darker);
    text-decoration: none;
}

.menu-elem::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.1em;
    background-color: var(--primary);
    opacity: 0;
    transition: opacity 300ms, transform 300ms;
}

.menu-elem:hover::after,
.menu-elem:focus::after {
    opacity: 1;
    transform: translate3d(0, 0.2em, 0);
}

.menu-elem {
    overflow: hidden;
}

.menu-elem::after {
    opacity: 1;
    transform: translate3d(-101%, 0, 0);
}

.menu-elem:hover::after,
.menu-elem:focus::after {
    transform: translate3d(0, 0, 0);
}

.menu-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.menu-elem {
    display: block;
    position: relative;
    padding: 0.2em 0;
    margin-right: 10px;
}

.topics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.topic {
    display: flex;
    flex: 1 0 0%;
    -ms-flex-direction: column;
    flex-direction: column;
    border-radius: 5px;
    padding: 20px;
    margin: 0px 10px 0px 10px;
}

.topic > h4 {
    color: var(--primary);
}

.orange-section {
    background-color: var(--primary);
    color: white;
    padding: 20px;
}

.orange-section a {
    color: var(--secondary);
}

.orange-section a:hover {
    color: var(--secondary-darker);
}

.gray-section {
    background-color: var(--secondary);
    color: white;
    padding: 20px;
}

.gray-section a {
    color: var(--primary);
}

.gray-section a:hover {
    color: var(--primary-darker);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(46, 204, 113, 0.5);
}

hr {
    margin-top: 2rem;
    margin-bottom: 2rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.big-margin-top {
    margin-top: 80px;
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none;
}

.btn-primary.disabled {
    pointer-events: none;
    opacity: 0.5;
    background-color: #bdc3c7;
    border-color: #bdc3c7;
}

.move-element {
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

.move-element:hover {
    transform: translateY(-5px);
}

.move-element-auto {
    animation: moveUp 4s ease-in-out infinite;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

@keyframes moveUp {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}

.delay-1 {
    animation-delay: 1s;
}

.delay-2 {
    animation-delay: 2s;
}

.delay-3 {
    animation-delay: 3s;
}

.response {
    padding-bottom: 20px;
    text-align: center;
}

.result-elem {
    padding: 10px;
    margin-top: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
}

.result-elem:hover {
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 500ms ease-in-out;
}

.hidden {
    opacity: 0;
}

.display-none {
    display: none;
}

.overlay {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.7);
	transition: opacity 500ms;
	visibility: hidden;
	opacity: 0;
}

.overlay:target {
	visibility: visible;
	opacity: 1;
	z-index: 2;
}

.popup {
	margin: 70px auto;
	padding: 20px;
	background: #fff;
	border-radius: 5px;
	width: 40%;
	position: relative;
	transition: all 5s ease-in-out;
}

.popup h2 {
	margin-top: 0;
	color: #333;
	font-family: Tahoma, Arial, sans-serif;
}

.popup .close {
	position: absolute;
	top: 20px;
	right: 30px;
	transition: all 200ms;
	font-size: 30px;
	font-weight: bold;
	text-decoration: none!important;
	color: #333;
}

.popup .close:hover {
	color: #06D85F;
}

.popup .content {
	max-height: 30%;
	overflow: auto;
}

@media screen and (max-width: 700px) {
	.popup{
		width: 70%;
	}
}

.result-elem-title {
    margin-bottom: 10px;
}

.result-elem-address {
    color: #7f8c8d;
    font-size: 0.9em;
}

.icon-m {
    margin-right: 5px;
}

.drop-area {
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 2px dashed #ccc;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 20px auto;
    position: relative;
    overflow: hidden;
}

.preview {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
}

.preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.drop-area-text {
    padding: 10px;
}

.nav-link {
    color: var(--primary);
}

.nav-link:hover {
    color: var(--primary-darker);
}

.boxed-radius {
    background-color: var(--background);
    color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
    text-align: center;
}

.bg-white {
    background-color: white;
    color: var(--background);
}

.bg-dark {
    background-color: var(--background) !important;
    color: white;
}

@media screen and (max-width: 700px) {
    .form-text-resp {
        display: none;
    }
    .drop-area-text {
        font-size: 1.5em;
    }
}

.text-small {
    font-size: 0.8em;
}

.green {
    color: #27ae60;
}

.gold {
    color: #f1c40f;
}

.radius {
    border-radius: 10px;
}

.margin-bottom {
    margin-bottom: 20px;
}

b {
    font-weight: 600;
}

.nav-tabs {
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
}
.nav-tabs .nav-link {
    white-space: nowrap;
}

.emoji {
    position: absolute;
    margin-left: 8px;
    transition: transform 0.1s ease-out;
}

.text-box {
    padding: 5px;
    background-color: var(--primary);
    color: white;
    border-radius: 5px;
    text-align: center;
    margin-left: 5px;
}

.large-input {
    line-height: 2.5;
    padding: 5px 20px 5px 20px;
}