@font-face {
    font-family: 'visby';
    src: url(../fonts/VisbyCF/VisbyCF-Thin.otf);
    font-weight: 100;
}

@font-face {
    font-family: 'visby';
    src: url(../fonts/VisbyCF/VisbyCF-Light.otf);
    font-weight: 200;
}

@font-face {
    font-family: 'visby';
    src: url(../fonts/VisbyCF/VisbyCF-Regular.otf);
    font-weight: 300;
}

@font-face {
    font-family: 'visby';
    src: url(../fonts/VisbyCF/VisbyCF-Medium.otf);
    font-weight: 400;
}

@font-face {
    font-family: 'visby';
    src: url(../fonts/VisbyCF/VisbyCF-Bold.otf);
    font-weight: 500;
}

@font-face {
    font-family: 'visby';
    src: url(../fonts/VisbyCF/VisbyCF-DemiBold.otf);
    font-weight: 600;
}

@font-face {
    font-family: 'visby';
    src: url(../fonts/VisbyCF/VisbyCF-ExtraBold.otf);
    font-weight: 700;
}

@font-face {
    font-family: 'visby';
    src: url(../fonts/VisbyCF/VisbyCF-Heavy.otf);
    font-weight: 800;
}

:root {
    --white: #ffffff;
    --black: #000000;
    --green: #358A42;
    --red: #DB2C28;
    --purple: #3F1F68;
    --gray: #333333;
    --gray-light: #E0E0E0;
    --gray-medium: #CECECE;

    --radious-general: .6rem;
    --shadow-default: 5px 5px 15px 0px rgba(0, 0, 0, 0.1);

    --transition-default: all .3s ease-in-out;
}

/* html,
body{
    scroll-behavior: smooth;
}
 */
body {
    margin: 0;
    padding: 0;
    font-family: 'visby', sans-serif;
    position: relative;
}

main {
    position: relative;
    position: top;
}

section {
    padding: 90px 0;
}

h1 {
    color: var(--white);
    text-transform: uppercase;
}

h2 {
    color: var(--green);
    font-size: 45px;
    font-weight: 500;
}

h2 span {
    font-weight: 800;
    font-size: 60px;
}

header {
    top: 0;
    position: sticky;
    z-index: 50;
    width: 100%;
}

.zIndex-principal {
    z-index: 1000;
}

.px-0 {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

header .navbar {
    background-color: white;
    /* position: fixed; */
    width: 100%;
    text-align: center;
    z-index: 99;
    top: 0;
    padding: 0;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25);
}

.navbar-toggler {
    padding: 4px 8px;
    border: 1px solid #333333;
    transition: .5s ease-in-out;
    border-radius: 6px;
    background-color: #333333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 50px;
    height: 50px;
}

.navbar-toggler span:nth-child(1) {
    width: 80%;
}

.navbar-toggler span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: .5s ease-in-out;
}

header .nav-link {
    font-size: 14px;
    transition: all .5s ease-in-out;
    margin: auto 10px;
    position: relative;
    font-weight: 400;
    color: var(--green);
}

header .nav-link:hover,
header .nav-link:active,
header .nav-link:focus {
    color: var(--red);
}

@media screen and (max-width: 991px) {
    header .nav-link::before {
        display: none;
    }
}



.footer p {
    margin-bottom: 0
}

.footer__top {
    z-index: 10;
    position: relative
}

.footer__news {
    background-color: var(--white);
    box-shadow: 5px 5px 15px 0 #0000001a;
    border-radius: 2px 2px 0 0;
    padding: 2rem 3.2rem
}

.footer__title {
    color: var(--green);
    margin-bottom: 0;
    font-size: calc(1.275rem + .3vw)
}

.footer__subtitle {
    color: var(--black);
    font-weight: 300
}

.footer__form {
    display: flex;
    flex-direction: row;
    width: 100%
}

.footer__input {
    padding: .8rem 2rem;
    border-top-left-radius: var(--radious-general);
    border-bottom-left-radius: var(--radious-general);
    width: 100%;
    border: 2px solid var(--gray-light);
    outline: 2px solid transparent;
    transition: var(--transition-default)
}

.footer__input:focus {
    border-color: var(--red);
    outline: 2px solid #db2c2866
}

.footer__input::placeholder {
    color: var(--gray-medium);
    font-weight: 500
}

.footer__button {
    background-color: var(--red);
    color: var(--white);
    border: 0;
    padding: .6rem 2rem;
    border: 2px solid var(--red);
    transition: var(--transition-default);
    border-radius: 0 var(--radious-general) var(--radious-general) 0
}

.footer__button:hover {
    border: 2px solid var(--red);
    color: var(--red)
}

.footer__bottom {
    background-color: var(--green);
    z-index: 1;
    position: relative;
    padding-top: 1.6rem;
    padding-bottom: 1.6rem;
    color: var(--white)
}

.footer__rs {
    list-style: none;
    padding-left: 0;
    display: flex;
    margin-bottom: 0;
    width: 100%;
    justify-content: center;
    gap: 1rem
}

.footer__rs-link {
    display: block;
    transition: var(--transition-default)
}

.footer__rs-link:hover {
    opacity: .6
}

.footer__rs-icon {
    width: 100%;
    max-width: 1.2rem
}

.footer__contact {
    background-color: var(--gray);
    padding: 1rem 0
}

.footer__contact-links {
    display: flex;
    gap: 1rem;
    color: var(--white);
    align-items: center
}

.footer__contact-links a {
    text-decoration: none;
    color: var(--white);
    transition: var(--transition-default)
}

.footer__contact-links a:hover,
.footer__contact-links a:active {
    opacity: .6
}


@media screen and (max-width: 768px){

    .footer__news {
    padding:2rem 1.2rem
    }
    
    .footer__title,.footer__subtitle {
    text-align:center
    }
    
    .footer__subtitle {
    padding-bottom:1rem
    }
    
    .footer__form {
    flex-direction:column
    }
    
    .footer__input {
    border-top-right-radius:var(--radious-general);
    border-bottom-right-radius:var(--radious-general);
    margin-bottom:.5rem
    }
    
    .footer__button {
    border-top-left-radius:var(--radious-general);
    border-bottom-left-radius:var(--radious-general);
    padding:1rem 2rem
    }
    
    .footer__contact-links,.jc-rwd {
        justify-content:center
    }
}