/* 
Colores : #03131f; #3e8bc0; #70bdf2; #c1e3ff;
Spaces : 25px; 15px;
*/

@font-face {font-family: Poppins-Regular; src: url(../fonts/Poppins-Regular.ttf);}

* {
    font-family: Poppins-Regular;
    padding: 0;
    margin: 0;
}

html {
    overflow-x: hidden;
    width: 100vw;
}

body {
    overflow-x: hidden;
    width: 100%;
}

h1 {font-size: 2rem;}
h2 {font-size: 1.5rem;}

img {
    user-select: none;
}

a {
    color: #c1e3ff;
    text-decoration: none;
}

a:hover {color: #70bdf2;}

button {
    background-color: #f1f1f1;
    border: 1px solid #03131f;
    cursor: pointer;
    padding: 10px 25px;
}

button:hover {
    color: #70bdf2;
    transition: ease-out 0.1s;
}

button a {color: black;}

.limit-width-container {
    display: flex;
    justify-content: center;
}

.limit-width {
    width: 100%;
    max-width: 1750px;
}

.filter {filter: opacity(0.7);}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    background-color: #03131f;
    padding: 0 20px;
}

header a {
    cursor: pointer;
    user-select: none;
}

header h2 {
    color: white;
}

.nav-2 {
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: -9999px;
    background-color: #03131f;
}

header nav li {
    position: relative;
    display: inline-block;
    line-height: 50px;
    font-size: 1.1rem;
}

header nav li:hover > a {
    color: #70bdf2;
}

header nav li a {
    display: block;
    color: white;
    font-weight: 500;
    text-decoration: none;
    padding: 0 20px;
}

header nav img {
    height: 30px;
    transform: translateY(25%);
}

.submenu {
    position: absolute;
    top: 100%;
    left: -9999px;
    width: max-content;
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    margin-top: 10px;
    opacity: 0;
    z-index: 50;
}

.submenu:after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    height: 10px;
    background: transparent;
}

.submenu:before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 25px;
    border-right: 5px solid transparent;
    border-bottom: 5px solid rgba(0, 0, 0, 0.8);
    border-left: 5px solid transparent;
}

header nav li:hover > ul {
    left: 0;
    opacity: 1;
}

.submenu li {
    display: block;
    line-height: 20px;
}

.submenu li {
    padding: 5px;
}

.submenu li > a {
    padding: 10px;
}

.language::before {
    left: 50%;
    transform: translateX(-50%);
}

.language, .language li, .language li a {
    display: flex;
    justify-content: center;
    width: 100%;
}

.language li a {
    justify-content: center;
}

.language img {
    transform: translateY(0%);
}

.header-icon {
    position: absolute;
    top: 100%;
    left: -9999px;
    opacity: 0;
}

@media (max-width: 900px) {
    .header-icon {
        position: relative;
        left: 0;
        top: 0;
        cursor: pointer;
        opacity: 1;
    }

    .nav-2 {
        visibility: hidden;
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        z-index: 100;
    }

    header nav {
        visibility: hidden;
        position: absolute;
        top: 100%;
        left: -9999px;
        z-index: 20;
    }

    header nav li {
        display: block;
    }

    .submenu {
        position: relative;
        background-color: #03131f;
        box-shadow: none;
        margin: -5px 0 10px 25px;
        left: 0;
        opacity: 1;
    }

    .submenu.language {
        margin: -5px 0 25px 5px;
    }

    .submenu::before {border: 0;}

    .language, .language li, .language li a {
        justify-content: left;
    }
}

@media (max-width: 250px) {
    header {
        height: 75px;
    }

    header {
        display: flex;
        flex-direction: column;
    }

    .nav-2 {
        top: 75px;
    }
}


/* Footer */
footer {
    color: white;
    background-color: #03131f;
    padding: 25px;
}

footer section:first-child {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

footer section:first-child nav {
    display: flex;
    flex-direction: row;
    margin-bottom: 10px;
}

footer section:first-child nav div {margin-right: 50px;}

footer section:first-child .contacts {
    display: flex;
    justify-content: right;
}

footer nav div {
    margin-bottom: 25px;
}

footer h3 {margin-bottom: 10px;}

footer li {
    list-style: none;
    margin-bottom: 5px;
}

footer img {
    height: 30px;
    transform: translateY(30%);
    margin: -10px 5px 0 0;
}

footer i {
    color: white;
    font-size: 2rem;
    margin-right: 10px;
    transform: translateY(-10%);
}

footer .contacts a:last-child i {margin-right: 0;}
footer .contacts span {margin-right: 20px;}

footer hr {
    background-color: white;
    border-radius: 100px;
    margin-bottom: 25px;
}

@media (max-width: 750px) {
    footer .contacts {
        display: flex;
        flex-direction: column;
    }

    footer nav {
        display: flex;
        flex-wrap: wrap;
    }
}
@media (max-width: 350px) {
    footer section:first-child nav {flex-direction: column;}
    footer section:first-child nav div {
        margin-right: 0px;
        margin-bottom: 25px;
    }
}


/* Breadcrumb */
.breadcrumb-container {
    background-color: #f1f1f1;
    padding: 5px 25px;
}

.breadcrumb a {color: black;}
.breadcrumb a:hover {text-decoration: underline;}
.breadcrumb span {font-weight: bold;}


/* Banner */
.banner > div {
    position: relative;
    max-width: 2000px;
}

.banner img {
    width: 100%;
    min-height: 250px;
    object-fit: cover;
}

.banner .text {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 1.2rem;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.banner .text h2 {
    font-size: 3rem;
}

.banner svg {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    fill: white;
}

@media (max-width: 450px) {
    .banner .text {
        display: none;
    }
}



/* Storefront */
.storefront {
    text-align: center;
    margin-bottom: 150px;
}

.storefront > div {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

.storefront hr {
    width: 500px;
    background-color: #03131f;
    border-radius: 100px;
}


/* Columns */
.columns {
    padding: 0 25px;
    margin: 75px 0 100px 0;
}

.columns > div {
    display: flex;
    flex-direction: row;
    gap: 50px;
}

.columns img {
    width: calc(40% - 25px);
    min-height: 250px;
    object-fit: cover;
    border-radius: 5px;
}

.columns h2, .columns p {margin-bottom: 25px;}
.columns h3 {margin-bottom: 5px;}
.columns p:last-child {margin: 0;}

.reverse-row {
    flex-direction:  row-reverse;
}

@media (max-width: 900px) {
    .columns > div {flex-direction: column;}
    .columns .reverse {flex-direction: column-reverse;}
    .columns img {width: 100%;}
}


/* Card */
.card {
    position: relative;
    width: 325px;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px;
    padding: 10px 10px 10px 10px;
}

.card a {
    color: black;
}

.card img {
    width: 100%;
    height: 225px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 5px;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.card .button-container {
    position: absolute;
    bottom: 10px;
}

.full-width-card {
    width: 100%;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px;
    padding: 25px;
}

.full-width-card img {
    width: 350px;
    object-fit: cover;
    border-radius: 5px;
}

.full-width-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.full-width-card p {
    margin-bottom: 15px;
}

@media (max-width: 900px) {
    .full-width-card img {width: 100%;}
}

@media (max-width: 742px) {
    .full-width-card {
        width: 325px;
        padding: 10px 10px 10px 10px;
    }
}


/* Home */
.services-redirect {
    background-color: #f1f1f1;
    padding: 25px;
    margin: 150px 0 0 0;
}

.services-redirect h2 {
    display: flex;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 50px;
}

.cards-list {
    padding: 0 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.training-redirect {
    display: flex;
    justify-content: center;
    text-align: center;
    margin: 100px 0 100px 0;
} 

.training-redirect h2 {margin-bottom: 15px;}
.training-redirect p {max-width: 750px;}

.contact-redirect {
    display: flex;
    justify-content: center;
    text-align: center;
    background-color: #f1f1f1;
    padding: 25px 0;
    margin-top: 100px
}

.contact-redirect p {margin-bottom: 15px;}

.qr-code {
    display: flex;
    margin-bottom: 25px;
}

.qr-code div {margin: 0 25px}

.qr-code h3 {margin-bottom: 10px;}
.qr-code img {width: 150px;}

@media (max-width: 500px) {
    .qr-code {
        flex-direction: column;
    }
}

/* Services */
.services {
    margin-top: 50px;
}

/* Training */
.training h1 {margin-bottom: 50px;}
.training .types {margin-bottom: 25px;}

.training .techniques {
    font-weight: bold;
    margin: 15px 0;
}

.training .techniques p {
    margin: 5px;
}

/* Contact */
.contact > div div {width: 50%;}
.contact h1 {margin-bottom: 25px;}
.contact p {margin-bottom: 25px;}
.contact li {list-style: none;}

.contact i {
    font-size: 2rem;
    transform: translateY(20%);
    margin: 0 10px 15px 0;
}

.contact span {font-weight: bold;}

.contact iframe {
    width: 50%;
    height: 100%;
    border-radius: 5px;
}

.contact-form {
    display: flex;
    justify-content: center;
    background-color: #f1f1f1;
    padding: 25px;
}

.contact-form form {
    display: grid;
    grid-template-areas: 
    'i1 i2 i3'
    't1 t1 t1'
    'b1 b1 b1';
    grid-gap: 10px;
}

.contact-form div {
    display: flex;
    flex-direction: column;
}

.contact-form .first-mame {grid-area: i1;}
.contact-form .last-mame {grid-area: i2;}
.contact-form .email{grid-area: i3;}
.contact-form .message {grid-area: t1;}

.contact-form .submit {
    grid-area: b1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form input, textarea {
    border: 1px solid #03131f;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
}

.contact-form textarea {
    height: 100px;
    resize: none;
    margin-bottom: 25px;
}

.contact-form button {width: max-content;}

@media (max-width: 750px) {
    .contact > div {flex-direction: column;}
    .contact > div div {width: 100%;}
    .contact iframe {width: 100%;}
    .contact-form form {
        display: flex;
        flex-direction: column;
    }
}

.card.btn {padding-bottom: 50px;}

.selected {color: #3e8bc0;}

.flex-margin-bottom {margin-bottom: 25px;}
.no-margin-top {margin-top: 0px;}
.small-margin-bottom {margin-bottom: 25px;}



.navbar-filter {
    position: absolute;
    width: 100%;
    height: 0;
    background-color: #03131f;
    opacity: 0;
    z-index: 50;
}

@media (max-width: 900px) {
    .navbar-filter {
        height: 100%;
    }
}

.header-icon {
    color: #fff;
}