/*============ Google fonts ============*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/*======= CSS variables =======*/
:root {
    --euroflag-color: #003399;
    --primary-font: 'Poppins';
    --white-color: #fff;
    --dark-color: #222;
    --accent-color: #004b78;
    --secondary-color: #a4d2d2;
    --primary-color: #0e9594;
    --body-bg-color: whitesmoke;
    --section-bg-color: whitesmoke;
    --navigation-item-hover-color: #3b5378;

    --text-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    --box-shadow: 0 5px 25px rgb(0 0 0 / 20%);

    --scroll-bar-color: #fff;
    --scroll-thumb-color: #282f4e;
    --scroll-thumb-hover-color: #454f6b;

    --form-control-color: rebeccapurple;
    --form-control-disabled: #959495;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--primary-font), sans-serif;
    color: var(--accent-color);
    font-weight: 300;
}

h1 {
    font-weight: 700;
}

strong {
    font-weight: 500;
}

body {
    min-height: 100vh;
    margin: 0;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

section {
    background: var(--section-bg-color)
}

header {
    min-height: 50px;
    border-bottom: 1px solid lightgray;
    box-shadow: 0px 0px 9px 3px rgb(41 41 41 / 25%);
    margin-bottom: 8px;
}



footer {
    min-height: 50px;
    padding-top: 35px;
    padding-bottom: 15px;
    border-top: 1px solid lightgray;
    display: grid;
    grid-template-columns: auto auto auto auto auto;
}

footer img {
    height: 54px;
}

footer div {
    font-size: 14px;
}

footer>div:not(:last-child) {
    margin-right: 15px;
}

footer h3 {
    font-weight: 600;
    font-size: 20px;
}

/*======= Navigation menu =======*/
.navigation-bar img {
    height: 55px;
    padding-top: 3px;
}

.navigation-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navigation-menu {
    display: flex;
    justify-items: center;
}

.navigation-menu>a {
    padding: 20px 16px;
    text-decoration: none;
    font-size: 1em;
}

.navigation-menu>a.active {
    color: white;
    background: var(--accent-color);
    cursor: auto;
}

.navigation-menu a:hover {
    color: white;
    background: var(--primary-color);
    transition: 0.3s ease-in;
}

.nav-menu-btn {
    font-size: 1.4em;
    box-shadow: var(--box-shadow);
    color: white;
    cursor: pointer;
}

footer .vendors {
    align-items: center;
    display: grid;
    margin-right: 0px !important;
    text-align: center;
}

/* Media Query for Mobile Devices */
@media (max-width: 480px) {
    body {
        /* background-color: red; */
    }

    footer {
        display: block;
        text-align: center;
    }

    footer>div {
        padding-top: 20px
    }

    header,
    footer,
    .form-box,
    section {
        padding-left: 20px;
        padding-right: 20px;
        transition: 0.3s ease;
    }

    .hidden-mobile {
        display: none !important;
    }

    .grid-2c {
        display: block !important;
    }
}

/* Media Query for low resolution  Tablets, Ipads */
@media (min-width: 481px) and (max-width: 767px) {
    body {
        /* background-color: yellow; */
    }

    footer {
        display: block;
    }

    footer div {
        margin-bottom: 10px;
    }

    header,
    footer,
    .form-box,
    section {
        padding-left: 20px;
        padding-right: 20px;
        transition: 0.3s ease;
    }

    .hidden-mobile {
        display: none !important;
    }

    div > .grid-2c {
        display: block;
    }
}

/* Media Query for Tablets Ipads portrait mode */
@media (min-width: 768px) and (max-width: 1024px) {
    body {
        /* background-color: blue; */
    }

    header,
    footer,
    
    section {
        padding-left: 50px;
        padding-right: 50px;
        transition: 0.3s ease;
    }

    .hidden-tablet {
        display: none !important;
    }
}

/* Media Query for Laptops and Desktops */
@media (min-width: 1025px) and (max-width: 1280px) {
    body {
        /* background-color: green; */
    }

    header,
    footer,
    
    section {
        padding-left: 100px;
        padding-right: 100px;
        transition: 0.3s ease;
    }

    .hidden-desktop {
        display: none !important;
    }
}

/* Media Query for Large screens */
@media (min-width: 1281px) {
    body {
        /* background-color: white; */
    }

    header,
    footer,
    
    section {
        padding-left: 200px;
        padding-right: 200px;
        transition: 0.3s ease;
    }

    .hidden-large {
        display: none !important;
    }
}


.hidden {
    display: none;
}

/* GRIDS & FLEXBOXES */

.grid-2c {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 20px;
}

/* FORMS */

.form-box {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding-top: 3rem;
    padding-bottom: 3rem;
    padding-left: 50px;
    padding-right: 50px;
    box-shadow: var(--box-shadow);
}

.form-control.disabled {
    color: var(--form-control-disabled);
    cursor: not-allowed;
  }

.form-control:focus {
    border: 1px solid var(--accent-color);
    box-shadow: 0px 0px 9px 3px rgba(41, 41, 41, .25);
    transition: 0.2s;
}

.form-control.fw {
    width: 100%;
}

.form-control {
    padding: 5px 5px;
    font-size: 16px;
    width: 12em;
    border: 1px solid #a6a6a6;
    border-top-color: #949494;
    border-radius: 1px;
    outline: 0;
}

.form-control.error,
.form-control.error:focus {
    border: 1px solid red;
}

.form-label {
    font-weight: 500;
}

.radio-item label.error {
    color: red;
}

.radio-item label.error:before {
    border: 2px solid red;
}

.radio-item {
    display: inline-block;
    position: relative;
    padding: 0 6px;
    margin-right: 15px;
}

.radio-item input[type='radio'] {
    display: none;
}

.radio-item label {
    color: #666;
    font-weight: normal;
}

.radio-item label:before {
    content: " ";
    display: inline-block;
    position: relative;
    top: 5px;
    left: -6px;
    width: 20px;
    height: 20px;
    border-radius: 11px;
    border: 2px solid #004c97;
    background-color: transparent;
}

.radio-item input[type=radio]:checked+label:after {
    border-radius: 11px;
    width: 16px;
    height: 16px;
    position: absolute;
    top: 9px;
    left: 4px;
    content: " ";
    display: block;
    background: #004c97;
}

.radio-item label {
    color: var(--accent-color);
    font-weight: 500;
}

input[type="checkbox"] {
    /* Add if not using autoprefixer */
    -webkit-appearance: none;
    /* Remove most all native input styles */
    appearance: none;
    /* For iOS < 15 */
    background-color: var(--form-background);
    /* Not removed via appearance */
    margin: 0;
  
    font: inherit;
    color: currentColor;
    width: 1.5em;
    height: 1.5em;
    border: 0.15em solid var(--accent-color);
    border-radius: 0.15em;
    transform: translateY(-0.075em);
  
    display: grid;
    place-content: center;
  }

  input[type="checkbox"].error {
    border: 0.15em solid red;
  }
  
  input[type="checkbox"]::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
    transform: scale(0);
    transform-origin: bottom left;
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em var(--form-control-color);
    /* Windows High Contrast Mode */
    background-color: CanvasText;
  }
  
  input[type="checkbox"]:checked::before {
    transform: scale(1);
  }
  
  input[type="checkbox"]:focus {
    outline: max(2px, 0.15em) solid currentColor;
    outline-offset: max(2px, 0.15em);
  }
  
  input[type="checkbox"]:disabled {
    --form-control-color: var(--form-control-disabled);
  
    color: var(--form-control-disabled);
    cursor: not-allowed;
  }

.button {
    padding: 0.6rem 1.6rem;
    border: 1px solid var(--accent-color);
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 2px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
}


.button.primary {
    border: 1px solid var(--primary-color);
    background-color: var(--primary-color);
}


/* paddings */
.pt-1 {
    padding-top: 1rem;
}

.pt-2 {
    padding-top: 2rem;
}

.pt-3 {
    padding-top: 3rem;
}

.pb-1 {
    padding-bottom: 1rem;
}

.pb-2 {
    padding-bottom: 2rem;
}

.pb-3 {
    padding-bottom: 3rem;
}

.pl-1 {
    padding-left: 1rem;
}

.pl-2 {
    padding-left: 2rem;
}

.pl-3 {
    padding-left: 3rem;
}


.pr-1 {
    padding-right: 1rem;
}

.pr-2 {
    padding-right: 2rem;
}

.pr-3 {
    padding-right: 3rem;
}

/* Margins */
.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.ml-1 {
    margin-left: 1rem;
}

.ml-2 {
    margin-left: 2rem;
}

.ml-3 {
    margin-left: 3rem;
}


.mr-1 {
    margin-right: 1rem;
}

.mr-2 {
    margin-right: 2rem;
}

.mr-3 {
    margin-right: 3rem;
}

/*======= Scroll bar =======*/
::-webkit-scrollbar {
    width: 11px;
    background: var(--scroll-bar-color);
}

::-webkit-scrollbar-thumb {
    width: 100%;
    background: var(--scroll-thumb-color);
    border-radius: 2em;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--scroll-thumb-hover-color);
}

/* Snackbar */

/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
    visibility: hidden;
    /* Hidden by default. Visible on click */
    min-width: 250px;
    /* Set a default minimum width */
    margin-left: -125px;
    /* Divide value of min-width by 2 */
    background-color: darkred;
    /* Black background color */
    color: #fff;
    /* White text color */
    text-align: center;
    /* Centered text */
    border-radius: 2px;
    /* Rounded borders */
    padding: 16px;
    /* Padding */
    position: fixed;
    /* Sit on top of the screen */
    z-index: 1;
    /* Add a z-index if needed */
    left: 50%;
    /* Center the snackbar */
    bottom: 30px;
    /* 30px from the bottom */
}

#snackbar.success {
    background-color: var(--primary-color);
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
    visibility: visible;
    /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}