.section-main {
    background: url(/img/bg.webp) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    clip-path: polygon(0 0%, 100% 0%, 100% 95%, 0% 100%);

}

.header {
    display: grid;
    grid-template-columns: max-content 1fr;
    grid-gap: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.top-title {
    color: #E30016;
    text-transform: uppercase;
    font-family: 'Ponnala', sans-serif;
    font-size: 1.25rem;
    line-height: 1.2em;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: end;
    border-bottom:  1px solid #8D8A89;
    height: 100%;
}

.nav-menu > a {
    padding: 40px 10px ;
}

.nav-menu > a:hover{
    box-shadow: inset 0px -3px 0px 0px #E30016;
}

.header-social {
    display: flex;
    grid-gap: 5px;
    margin-left: 40px;
}

.main {
    padding-top: 160px;
    padding-bottom: 200px;
    max-width: 590px;
}

.section-main-grid {
    max-width: 1300px;
}

.links {
    margin-top: 10px;
}

.links a {
    text-decoration: underline;
    font-size: 1.125rem;
    display: inline;
}

.links a + a{
    margin-left: 20px;
}

.main .btn{
    max-width: 400px;
    margin-top: 10px;
}

.main-grid {
    display: grid;
    grid-template-columns: 1fr ;
    align-items: center
}


.slide-main img{
    border-radius: 5px;
}

.slide-grid-btn {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    border-radius: 5px;
    grid-gap: 20px;
    position: relative;
    bottom: -100px;
    justify-items: center;
    margin-left: 10px;
    margin-right: 10px;
}

.slide-btn  {
    cursor: pointer;
}

.slide-btn img{
    background: #FFFFFF;

}

.slide-main {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}
i {
    color: #E30016;
}

.slide-title {
    font-size: 1.25rem;
    padding-top: 10px;
    padding: 10px 20px;
    padding-bottom: 10px;
    text-align: center;
    background: #fff;
    bottom: -80px;
    color: #3C3B3B;
    position: relative;
    text-transform: uppercase;
    border-radius: 5px 5px 0px 0px;
    margin-left: 10px;
    margin-right: 10px;
}

.mob {
    display: none;
}

.press {
    transform: scale(1.05);
    border: 2px solid #E30016;
    border-radius: 5px;
}


@media only screen and (min-width: 520px) and (max-width: 1000px) {
    .header-social {
        margin-left: 0px;
    }

    .nav-menu > a {
        padding: 10px ;
    }

    .slide-title h3{
        font-size: 1rem;
        line-height: 1.25em;
    }

    .desk {
        display: none;
    }
    .mob {
        display: inherit;
    }
}

@media only screen and (min-width: 408px) and (max-width: 519px) {
    .header-social {
        margin-left: 0px;
    }

    .nav-menu > a {
        padding: 10px ;
    }

    .header {
        grid-template-columns: 280px 1fr;
    }

    .main {
        padding-top: 120px;
        padding-bottom: 100px;
        max-width: 590px;
    }

    .section-main {
        background: url(/img/bg.webp) no-repeat center center;
        background-size: cover;
        background-attachment: inherit;
        clip-path: polygon(0 0%, 100% 0%, 100% 95%, 0% 100%);

    }

    .slide-title h3{
        font-size: 1rem;
        line-height: 1.25em;
    }

    .desk {
        display: none;
    }

    .mob {
        display: inherit;
    }

        
    .top-title {
        font-size: 1rem;
    }

    .slide-title {
        bottom: -40px;
    }
    

.slide-grid-btn {
    bottom: -60px;
    grid-gap: 10px;
}

}


@media only screen and (max-width: 407px) {
    .header-social {
        margin-left: 0px;
    }

    .nav-menu > a {
        padding: 10px ;
    }

    .header {
        grid-template-columns: 230px 1fr;
    }

    .main {
        padding-top: 120px;
        padding-bottom: 100px;
        max-width: 590px;
    }

    .section-main {
        background: url(/img/bg.webp) no-repeat center center;
        background-size: cover;
        background-attachment: inherit;
        clip-path: polygon(0 0%, 100% 0%, 100% 95%, 0% 100%);
    
    }

    .slide-title h3{
        font-size: 1rem;
        line-height: 1.25em;
    }

    .desk {
        display: none;
    }

    .mob {
        display: inherit;
    }
    .top-title {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    
    .slide-title {
        bottom: -40px;
    }
    

.slide-grid-btn {
    bottom: -60px;
    grid-gap: 10px;
}
}

