@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,700;1,400&display=swap');

:root {
    --primary-color: #111111;
    --light-color: #ce9389;
    --dark-color: #343a40;
    font-family:  'Montserrat', sans-serif;
}

html{
    margin: 0;
    height: 100%;
    width: 100%;
    /*overflow: hidden;*/
}

.btn-user-name{
    font-family:  'Montserrat', sans-serif;
    text-decoration: none;
}

a {
    text-decoration: none;
    color: var(--dark-color);
}

h1{
    font-family:  'Montserrat', sans-serif;
}

p, a, div {
    font-size: 18px;
}

img {
    width: 100%;
}

.dashboard-grid{
    padding: 100px 0;
}

/* HEADER */
header {
    background-image: linear-gradient(to right, #cf2a14, #35373a);
    margin: 10px 20px 0;
    border-radius: 10px 10px 0 0;
    padding-top: 10px;
    position: relative;
    height: 10vh;
}

header .flex {
    justify-content: space-between;
}

header .logo {
    width: 50%;
}
header .logobtn {
    width: 30%;
    padding: 0;
    margin: 0;
}

header a:not(.logo__wrapper, a.logobtn) {
    padding: 10px;
    margin: 0;
    line-height: 1.3;
    transition: border 0.1s linear;
    border-bottom: 2px solid transparent;
}

.header-navigation--mobile {
    display: none;
}

.header-navigation--mobile:hover{
    background-color: aliceblue;
    padding:2px;
    border-radius: 5px;
    
}

.ham-hidden{
    visibility: hidden;
}

.img-zoom-out:hover img 
{
transform:scale(0.9);
-webkit-transform:scale(0.9);
-moz-transform:scale(0.9);
-ms-transform:scale(0.9);
-o-transform:scale(0.9)
}

/* MENU MOBILE */

input[name=menu] {
    visibility: hidden;
}

.navigation-mobile-content {
    position: absolute;
    border-radius: 20px 0 20px 20px;
    top: 100%;
    right: 5%;
    width: 90%;
    height: auto;
    background-color: #dc3545;
    padding: 20px;
    box-shadow: -3px 3px 3px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

input[type="checkbox"]:checked~label~.navigation-mobile-content {
    opacity: 1;
    z-index: 1;
}

.navigation-mobile-content ul {
    display: flex;
    flex-direction: column;
}

.navigation-mobile-content a {
    display: block;
    border: none;
    padding: 10px 0;
}

/* FOOTER */

footer {
    background-image: linear-gradient(to right, #35373a 70%, #cf2a14);
    margin: 0 20px 10px;
    border-radius: 0 0 10px 10px;
    position: relative;
    padding-bottom: 5px;
    height: 15vh;
}

footer .container {
    border-top: 1px solid var(--primary-color);
}

footer .flex {
    justify-content: space-between;
}

.footer-logo, .footer-info {
    margin-top: 0px;
}

.footer-logo p, .footer-info p {
    font-size: 14px;
    margin-top: 10px;
    padding-left:30px;
    color:white;
}

.footer-info {
    text-align: center;
}


/* MEDIA QUERIES */

@media(max-width: 1280px) {
    .showcase .grid {
        grid-template-columns: 1fr;
    }

    .showcase img {
        width: 60%;
        justify-self: center;
    }

    .showcase-text {
        text-align: center;
        margin-top: 40px;
    }

    .clients .grid {
        padding: 0;
        gap: 15px;
    }

}

@media(max-width: 992px) {
    p, a, div {
        font-size: 16px;
    }

    

    .showcase {
        position: relative;
        top: -1px;
    }

    .showcase h1 {
        font-size: 28px;
    }

    .clients .flex {
        justify-content: space-between;
    }

    .purposes img {
        width: 100%;
    }

    .join .flex {
        width: 100%;
    }

    header .logobtn {
        width: 30%;
        padding: 0;
        margin: 0;
        }

    .footer-logo {
        margin-top: 0px;
        margin-bottom: 0px;
        text-align: center;
        height: 15vh;
    }    
}

@media(max-width: 768px) {
    header {
        margin: 10px 10px 0;
        border-radius: 20px 20px 0 0;
    }

    header .logo {
        width: 30%;
    }

    header .logobtn {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .grid, 
    .clients .grid, 
    .offer .grid, 
    .purposes .grid {
        grid-template-columns: 1fr;
    }
    

    .purposes,
    .join,
    .offer {
        padding: 40px 0;
        text-align: center;
    }

    .offer-item p {
        margin: 0 0 30px;
    }

    .purposes img, 
    .offer img {
        justify-self: center;
        width: 75%;
    }

    .join a {
        margin: 20px 0 0;
    }

    footer .flex {
        flex-direction: column;
    }

    .footer-logo {
        margin-top: 0px;
        margin-bottom: 0px;
        text-align: center;
        height: 7vh;
    }
    .footer-logo img{
        height: 100%;
    }
    .foooter-info{
        text-align: center;
        width: 50vh;
        margin-top: 0px;
    }

    .logoContainer{
        width: 100%;
    }

   
}

@media(max-width: 639px) {
    p, a, div {
        font-size: 14px;
        margin-top: 0px;
    }

    .header-navigation, header .btn {
        display: none;
    }

    .header-navigation--mobile, .header-navigation--mobile .btn {
        display: block;
    }

    video{
        width: 100vw;
    }

    .ham-hidden{
        visibility: visible;
    }

    header .logo {
        height: 30%;
    }
    .footer-logo img{
        height: 100%;
    }
    .foooter-info{
        text-align: center;
        width: 50vh;
        margin-top: 0px;
    }
}
@media(max-width:450px)
{
    .header-navigation--mobile, .header-navigation--mobile .btn {
        display: block;
    }
    .footer-logo{
        height:5vh;
    }
    .footer-logo img{
        height: 100%;
    }
}