/* Custom Fonts */
@import url('https://fonts.googleapis.com/css2?family=Krona+One&family=Maven+Pro:wght@400;700&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Krona+One&family=Maven+Pro:wght@400;500;600;700&display=swap");
/* Body */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Maven Pro';
    line-height: 1.7em;
    min-height: 100%;
}
a {
    color: #000;
    text-decoration: none;
}
h1 {
    padding-bottom: 20px;
}
/* Calculator Boxes which you fill */
.calc-boxes {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 350px;
    margin: 0 auto;
    padding: 20px;
    border: 4px solid black;
    border-radius: 10px;
    background-color: #f0f0f0;
}
#convertButton {
    background-color: #444;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
#convertButton:hover {
    background-color: #60a828;
    transform: scale(1.2);
}
#firstCurrency {
    width: 240px;
    padding: 12px 14px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    border: 4px solid black;
}
#firstChoosenCurrency {
    width: 220px;
    padding: 12px 16px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background-color: white;
    cursor: pointer;
    border: 4px solid black;
}
#secondChoosenCurrency {
    width: 220px;
    padding: 12px 16px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background-color: white;
    cursor: pointer;
    border: 4px solid black;
}
.result-box{
    border: 1px solid #ccc;
    padding: 16px;
    width: 250px;
    min-height: 40px;
    border: 2px solid black;
    margin: 0 auto
}
#result {
    font-size: larger;
}
.calc-title {
    text-align: center;
    font-size: 60px;
    padding-top: 100px;
}
/* Container */
.container {
    margin: auto;
    max-width: 1100px;
    padding: 0 20px;
    overflow: auto;
}
.container h1 {
    padding-top: 150px;
    text-align: center;
    font-size: 50px;
}
/* Navbar on top of the screen */
#navbar {
    background: #7FDE35;
    color: #000;
    overflow: auto;
    z-index: 1000;
    position: fixed;
    width: 100%;
}
#navbar a {
    color: #000;
}
#navbar ul {
    float: right;
    list-style: none;
}
#navbar ul li {
    float: left;
}
#navbar ul li a {
    display: block;
    padding: 25px 50px;
    text-align: center;
    box-sizing: border-box;
    border: 4px solid transparent;
}
#navbar ul li a:hover,
#navbar ul li a.current {
    background: #60a828;
    color: white;
}
#navbar ul li a.current {
    border-color: #000;
    background: #60a828;
    color: white;
}
#navbar h1 {
    padding-top: 20px;
    float: left;
    font-family: 'Krona One', sans-serif;
}
#navbar .icons-on-top {
    font-size: 30px;
}
/* Main Page Text */
#showcase .showcase-content {
    color: black;
    text-align: center;
    padding-top: 200px;
}
#showcase .showcase-content h1 {
    font-size: 60px;
    line-height: 1.2em;
    background-color: white;
    color: black;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    border: 4px solid black;
}
#showcase .showcase-content p {
    padding-bottom: 20px;
    line-height: 1.7em;
    background-color: #ffffff;
    color: black;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    border: 4px solid black;
    
}
#showcase .showcase-content a {
    background-color: #444;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
}
#showcase .showcase-content a:hover {
    background-color: #60a828;
    transform: scale(1.1);
}
/* Image sizes and their placement */
.world-map-image {
    display: block;
    margin: 0 auto;
    width: 700px;
}
#showcase {
    background: url('Map_with_pointers.gif') no-repeat center center/cover;
    height: 900px;
}
/* Footer at the bottom of the screen */
footer {
    text-align: center;
    padding: 20px;
    background: #444;
    color: white;
    font-family: 'Krona One', sans-serif;
}
/* Fillable Form */
#contact-form .form-group {
  margin-bottom: 20px;
  font-size: larger;
}
#contact-form .form-group label {
  display: block;
  margin-bottom: 5px;
}
#contact-form .form-group input,
#contact-form .form-group textarea {
  width: 100%;
  padding: 10px;
  border: 3px solid #000000;
}
#contact-form .form-group textarea {
  height: 200px;
}
#contact-form .form-group input:focus,
#contact-form .form-group textarea:focus {
  outline: none;
  border-color: #000000;
}
#contact-info .box {
  float: left;
  width: 33.3%;
  padding: 50px;
  text-align: center;
}
#contact-info .box {
  margin-bottom: 10px;
}
button.btn {
    background-color: #60a828;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-align: center;
}
button.btn:hover {
    background-color: #254111;
    transform: scale(1.1);
}
/* Info Page Text Boxes */
#info-about-us .text-in-info-boxes p{
    font-size: 20px;
    text-align: center;
}
#info-about-us .info-title {
    text-align: center;
    font-size: 60px;
    padding-top: 100px;
}
#info-about-us .info-text-boxes {
    margin: auto;
    max-width: 1100px;
    padding: 0 20px;
    overflow: auto;
    border: 4px solid black;
    background-color: #444;
    color: #fff;
    border-radius: 20px 20px 20px 20px;
}
#info-about-us h2 {
    text-align: center;
    font-size: 30px;
}
/* Video on the info page */
#info-about-us .video-window {
    width: 80vw;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    margin: 0 auto;
}
#info-about-us .video-window iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
/* Currency info chart on under the calculator */
.background-world-map-calc h2 {
    padding-left: 350px;
    padding-bottom: 20px;
    text-align: left;
    font-size: 40px;
}
.currency-prices-chart {
    margin: auto;
    max-width: 1500px;
    padding: 20px;
    overflow: auto;
    border: 4px solid black;
    background-color: #1c1c1c;
    color: #fff;
}
.currency-prices-chart-big{
    max-width: 1200px;
    margin: 20px auto;
    background: url('giphy.gif') no-repeat center center/cover;
    background-size: cover;
    padding: 20px;
    border-radius: 10px;
    border: 4px solid black;
}
.currency-prices-chart-big p {
    padding: 40px;
    font-size: 40px;
}
.percent-negative {
    color: rgb(255, 0, 0);
    text-shadow:
    -2px -2px 0 black,
    2px -2px 0 black,
    -2px  2px 0 black,
    2px  2px 0 black;
    font-size: 50px;
}
.percent-positive {
    color: rgb(43, 255, 0);
    text-shadow:
    -2px -2px 0 black,
    2px -2px 0 black,
    -2px  2px 0 black,
    2px  2px 0 black;
    font-size: 50px;
}
/* Fixing */
#showcase {
    padding-bottom: 50px; /* instead of 200px or whatever you had */
}

.background-world-map-calc {
    padding-bottom: 20px; /* reduce extra space */
}

#info-about-us {
    padding-bottom: 20px; /* remove large gaps */
}
/* ========================= */
/* 💱 Currency Gallery */
/* ========================= */

/* ========================= */
/* 💱 Currency Image Slider */
/* ========================= */

.currency-slider {
    text-align: center;
    margin: 60px auto;
    max-width: 600px;
}

.currency-slider h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.slider {
    position: relative;
    border: 4px solid black;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
}

.slider img {
    width: 100%;
    height: 250px;
    object-fit: contain;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #444;
    color: white;
    border: none;
    font-size: 30px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 6px;
}

.slider-btn:hover {
    background: #60a828;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

#sliderCaption {
    margin-top: 15px;
    font-size: 22px;
    font-weight: bold;
}


@media (max-width: 768px) {


    /* Prevent horizontal scrolling */
    body {
        overflow-x: hidden;
    }

    /* Navbar spacing on small screens */
    #navbar ul li a {
        padding: 15px 20px;
    }

    /* Showcase */
    #showcase {
        height: auto;
        padding: 100px 0;
    }

    #showcase .showcase-content {
        padding-top: 40px;
    }

    #showcase .showcase-content h1 {
        font-size: 36px;
    }

    /* Calculator */
    .calc-boxes {
        width: 95%;
    }

    .calc-title {
        font-size: 40px;
        padding-top: 40px;
    }

    #firstCurrency,
    #firstChoosenCurrency,
    #secondChoosenCurrency,
    .result-box {
        width: 100%;
    }

    /* Images */
    .world-map-image {
        width: 100%;
    }

    /* Currency chart */
    .background-world-map-calc h2 {
        padding-left: 0;
        text-align: center;
    }

    .currency-prices-chart-big {
        width: 95%;
    }

    .currency-prices-chart-big p {
        font-size: 22px;
        padding: 20px;
    }

    /* Info page */
    #info-about-us .info-title {
        font-size: 40px;
    }

    #info-about-us .info-text-boxes {
        width: 95%;
    }

    /* Video */
    #info-about-us .video-window {
        width: 95vw;
    }
}