*{
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}
body {
    font-family: Arial, Helvetica, sans-serif;
    background-image: url('../images/imagem_HOME_AMI_HOVER_png08.png');
   /* min-height: 3000px;*/
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 160%;
    position: relative;
    background-color: black;
    
}


:root {
    
    --texts-:#535353;
    --bg-color:#106843;
    --main-color:#00af2b;
    --color-secondary:#980073;
}

.container-fluid,.container {
    max-width: 1440px !important;
    position: relative !important;
}

a {
    text-decoration: none;
}

/* AMI HOME */


header.header-ami-home {
    outline: 1px solid var(--color-secondary);
    transition: all ease .7s;
}
header.header-ami-home .container {
    justify-content: end;
    padding-left: 200px !important;
}
.navbar-brand {
    position: fixed;
    top: 0px;
    left: 180px;
}
.navbar-brand img {
    object-fit: cover;
    
}

#menuMobile {
    margin-left: 200px;
}
.navbar-toggler {
    border: 1px solid white;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


header.header-ami-home .nav-i {
    width: 0;
    height: 0;
    border: 4px solid transparent;
    border-bottom: 5px solid var(--color-secondary);
    position: relative;
    left: -20px;
    top: 30px;
}

header.header-ami-home .nav-i:after {
    content: '';
    position: absolute;
    left: -4px;
    top: 5px;
    width: 0;
    height: 0;
    border: 4px solid transparent;
    border-top: 5px solid var(--color-secondary);

}

header.header-ami-home .nav-b {
    width: 100%;
    height: 3px;
    position: absolute;
    bottom: 12px;
    display: flex;
    justify-content: center;
}
header.header-ami-home .nav-b-bar{
    width: 0%;
    height: 1px;
    position: absolute;
    border-radius: 3px;
    background-color: #B2D615;
    transition: all ease .8s;
}

header.header-ami-home li {
    margin: 0px 20px;
    position: relative;
}

header.header-ami-home li .nav-link {
    color: white !important;
    border-bottom: 1px solid transparent;
    padding-left: 0px !important;
    padding-right: 0px !important;
    height: 60px;
    display: flex;
    align-items: center;
    font-weight:800;
    transition: all ease-in .4s;
}

header.header-ami-home li:hover .nav-b-bar {
    width: 60%;
}


/* HOME CAROUSEL */


#carousel-ami-home {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
}

.carousel-item-inside {
    display: flex;
    position: relative;
    width: 100%;
    height: 100vh;
    text-align: center;
    display: flex;
    padding: 50px;
    right: 60px;
    flex-direction: column;
    justify-content: end;
    align-items:flex-end;
    background-color: rgba(0, 0, 0, 0);
}

.carousel-ami-texts {
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: rgb(255, 255, 255);
}

.carousel-ami-texts h2 {
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 800 !important;
    font-size: 32px !important;
    margin-bottom: 50px;
    text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.685);
}

.carousel-ami-texts p {
    max-width:800px;
    text-align: center;
    font-weight: bold;
    font-size: 25px;
    text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.678);
}


.carousel-item-inside button {
    position: relative;
    z-index: 2;
    color: #fff !important;
    background-color: transparent;
    font-size: 11px;
    letter-spacing: 5px;
    padding: 8px 20px;
    transition: all ease-in .3s;
    border: 1px solid #fff;
    margin-top: 50px;
}
.carousel-item-inside button:hover{
  background-color: var(--main-color);
}

.carousel-item-inside a {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.carousel-item-inside a:hover ~ button {
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.carousel-control-next-circle{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid white;
    transition: all .7s;
    cursor: pointer;
}
.carousel-control-next-circle:hover {
background-color: var(--main-color);
border: var(--main-color);
}
.carousel-control-next, .carousel-control-prev {
    opacity: 1 !important;
    z-index: 4;
}
.carousel-control-prev-icon{
    width: 20px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23980073'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}
.carousel-control-next-circle:hover .carousel-control-prev-icon{
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}
.carousel-control-next-icon{
    width: 20px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23980073'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.carousel-control-next-circle:hover .carousel-control-next-icon{
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.carousel-control-next,.carousel-control-prev{
    cursor: initial;
}






/* AMI ABOUT US */

.about-us {
    margin-top: 230px;
    padding-top: 50px;
    position: relative;
    transition:all ease .9s;
    width: 90% !important;
    border-radius: 10px;
}
.bg-about-us{
    background-color: rgba(255, 255, 255, 0.808);
}

.about-us img {
    object-fit: cover;
    width: 350px;
    height: 350px;
    min-width: 350px;
    min-height: 350px;
    border-radius: 50%;
    margin-right: 30px;
    z-index: 2;
    position: relative;
}

.about-us-texts {
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: rgb(255, 255, 255);
}

.about-us-texts h2 {
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 25px !important;
    margin-bottom: 25px;
    transition:all ease .9s;
}

.about-us-texts p {
    max-width:800px;
    text-align: center;
    text-transform: uppercase;
    font-size: 19px;
    transition:all ease .9s;
}


.about-us-texts button {
    position: relative;
    z-index: 2;
    color: #fff !important;
    background-color: transparent;
    font-size: 11px;
    letter-spacing: 5px;
    padding: 8px 20px;
    transition: all ease-in .3s;
    border: 1px solid #fff;
    margin-top: 20px;
}
.about-us-texts button:hover{
  background-color: var(--main-color);
}


.about-us-texts-ex-p {
    color: var(--texts-) !important;
}
.about-us-texts-ex-h2 {
    color: var(--main-color) !important;
}
.expanded-about{
    display: none;
    opacity: 1;
    transition:all ease .9s;
}

#about-us-expanded {
    display: none;
    opacity: 0;
    
}
.about-us-clicked {
    background-color: rgba(255, 255, 255, 0.808);
    position: relative;
    width: 1440px!important;
    top: -400px;
    left: -100px;
    padding-top: 450px;
    border-radius: 10px;
    padding-right: 100px;
    padding-left: 100px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding-bottom: 70px;
}

.about-us-clicked-texts {
    background-color: rgba(0, 0, 0, 0.03);
    padding: 20px; 
    border-radius: 10px;
}

.about-us-clicked-texts p {
    color: var(--texts-);
    font-size:25px;
}

#our-btn {
    background-color: var(--main-color);
    font-size: 20px;
    color: white;
    letter-spacing: 3px;
    margin: auto;
    padding: 15px 50px;
    margin-top: 20px;
    display: block;
    margin-bottom: 50px;
}
#our-btn:hover {
    opacity: 0.9;
}
.about-us a {
    text-decoration: none;
}




/* AMI OUR COURSES */

.our-courses {
    margin-top: 200px;
    transition:all ease .9s;
}

.our-courses img {
    object-fit: cover;
    width: 350px;
    height: 350px;
    min-width: 350px;
    min-height: 350px;
    border-radius: 50%;
    margin-right: 50px;
}

.our-courses-texts {
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: rgb(255, 255, 255);
    
}

.our-courses-texts h2 {
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 25px !important;
    margin-bottom: 25px;
}

.our-courses-texts p {
    max-width:800px;
    text-align: center;
    text-transform: uppercase;
    font-size: 19px;
}


.our-courses-texts button {
    position: relative;
    z-index: 2;
    color: #fff !important;
    background-color: transparent;
    font-size: 11px;
    letter-spacing: 5px;
    padding: 8px 20px;
    transition: all ease-in .3s;
    border: 1px solid #fff;
    margin-top: 20px;
}
.our-courses-texts button:hover{
  background-color: var(--main-color);
}



/* articles */

.section-articles-home h5 {
    font-weight: bold !important;
    letter-spacing: 8PX;
    color: white;
    text-shadow: 0px 0px 2px black;
    font-weight: 0;
    font-size:28px;
}

.section-articles-home .articles {
    position: relative;
    display: flex;
    height: inherit !important;
    overflow-x: scroll;
    overflow-y:auto;
    min-height: 100%;
}


.section-articles-home .articles::-webkit-scrollbar {
    display: none;
}
.section-articles-home {
    padding-left: 100px !important;
    position: relative;
}
.section-articles-home .articles-area{
    position: relative;
    min-height: 100%;
}

.section-articles-home .articles-btn-prev {
    z-index: 3;
    display: none;
    justify-content: center;
    align-items: center;
    height: 100%;
    transition: ease-in 3s;
    width: 150px;
    top: 0px;
    left: 0px;
    font-size: 25px;
    position:absolute;
    cursor: pointer;
}
.section-articles-home .articles-btn-next {
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    transition: ease-in 3s;
    width: 150px;
    top: 0px;
    right: 0px;
    font-size: 25px;
    position:absolute;
    cursor: pointer;
    background: rgb(255,255,255);
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(0,0,0,0.4009978991596639) 100%);
}

.section-articles-home .article {
    position: relative;
    min-width: 450px;
    width: 450px;
    min-height: 100%;
    margin-bottom: 20px;
    margin:0px 8px;
    border-radius:5px;
    cursor: default;
    background-color: #E5E5E5;
    cursor: pointer;
}
.section-articles-home .article:hover {
    color: #E5E5E5 !important;
    background-color: #E5E5E5;
    transition: .1s;
    background-color: var(--main-color);
}
.section-articles-home .article:hover .info,.section-articles-home .article:hover .texts{
    color: #E5E5E5 !important;
    
}

.section-articles-home .article img {
    width:484px;
    height:300px;
    object-fit: cover;
}

.section-articles-home .article .photo img {
    height: 100%
}

.section-articles-home .article .texts {
    padding: 28px !important;
    transition: .2s;
    color: black;
}

.section-articles-home .article .texts p {
    word-break: break-all;
    font-weight: lighter !important;
    line-height: 25px;
}


.section-articles-home .article .info {
    padding: 5px 5px;
    font-size: 12px;
    color: var(--main-color);
}


.section-articles-home .bars-articles {
    display: flex;
    justify-content: center;
    left: 50%;
}

.section-articles-home .arrow {
    position: absolute;
    bottom: 20px;
    width: 30px;
    object-fit: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}
.section-articles-home .arrow img {
    width:100%;
    height: 100%;
}

.section-articles-home .bar-articles {
    height: 2px;
    margin: 5px;
    width: 50px;
    cursor: pointer;
    background-color: #bebebe;
}
.section-articles-home .bar-articles.bar-active{
    background-color: var(--main-color);
}



/* FOOTER AMI HOME */

footer {
   /* position: absolute;*/
    overflow: hidden;
    bottom: 0px;
    right: 0;
    left: 0;
    padding-top: 100px;
   /* background: rgb(0,0,0);
background: linear-gradient(0deg, rgba(0, 0, 0, 0.95) 80%, rgba(0, 0, 0, -5.144) 100%);*/
}

footer .container {
    justify-content: space-evenly !important;
    padding: 0px 0px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.397);
    padding-bottom: 20px;
}

footer li {
    margin: 0px 20px;
}
footer .nav-b {
    width: 100%;
    height: 3px;
    position: absolute;
    bottom: 12px;
    display: flex;
    justify-content: center;
}
footer .nav-b-bar{
    width:0%;
    height: 1px;
    position: absolute;
    border-radius: 3px;
    background-color: var(--main-color);
    transition: all ease .8s;
}
footer .nav-item:nth-child(5) .nav-b-bar{
    width: 0%;
    height: 1px;
    position: absolute;
    border-radius: 3px;
    background-color: transparent;
    transition: all ease .8s;
}
footer li .nav-link {
    color: white !important;
    border-bottom: 1px solid transparent;
    padding-left: 0px !important;
    padding-right: 0px !important;
    height: 60px;
    display: flex;
    align-items: center;
    font-weight: bold;
    transition: all ease-in .4s;
    position: relative;
}
footer li:hover .nav-b-bar {
    width: 60%;
}


footer .navbar-brand {
    position: initial;
    min-width: 250px;
    width: 250px;

}

footer .sociais {
    display: flex;
    margin-top: 50px;
}
footer .sociais a {
    margin-right: 15px;
    margin-left: 15px;
}


footer .copyright {
    text-align: center;
    padding: 20px;
    color: var(--texts-);
    font-weight: bold;
    font-size: 12px;
}
.footer-below {
    position: relative;
}

.lgpd {
    position: absolute;
    bottom: -110px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
    z-index:9999;
}
.lgpd:hover {
    color: white;
}


@media (min-width:1440px){
    body {
        background-size: cover;
    }
}


@media (max-width:1200px){
    .navbar-brand {
        left: 30px;
        width: 250px;
    }
}


@media (max-width:991px){

    body {
        padding-bottom:0px ;
        background-image: url('../images/imagem_HOME_AMI_hover_mobile.jpg');
    }


    /* header */
    header.header-ami-home .container {
        padding-left: 20px !important;
    }

    header.header-ami-home li:hover .nav-b-bar {
        width: 0%;
    }
    
    #menuMobile {
        align-items: end;
        justify-content: end !important;
        margin-left: 0px !important;
    }
    .navbar-nav {
        margin-top: 50px;
    }
    .header.header-ami-home li .nav-link {
        font-size: 20px;
    }


    /* carousel */
    #carousel-ami-home {
        height: 80vh;
    }
    .carousel-item-inside a {
        bottom: auto;
    }
    .carousel-item-inside{
        height: 80vh;
        right: 0px;
        justify-content: center !important;
        align-items: center !important;
        padding: 50px 20px;
        padding-top: 150px;
    }

    .carousel-ami-texts h2 {
        font-size: 21px !important;
    }
    .carousel-ami-texts p {
        font-size: 20px !important;
        margin-bottom: -43px !important;
    }


    /* about us */
    .about-us{
        margin-top: 0px;
        padding-top: 20px;
    }

    .about-us-img {
        display: flex;
        justify-content: center;
    }
    .about-us-img img {
        margin-right: 0px;
    }
    .about-us-texts {
        margin-top: 20px;
    }

    .about-us-clicked-texts {
        padding: 10px;
    }

    .expanded-about {
        margin-top: -50px !important;
    }






    .row {
        justify-content: center !important;
    }
    .col-10 {
        flex-direction: column !important;
    }

/* our courses */
.our-courses {
    margin-top: 100px;
}
    .our-courses-img{
        display: flex;
        justify-content: center;
    }
    .our-courses-img img{
        margin-right: 0px;
    }

    .our-courses-texts {
        margin-top: 20px;
    }



    /* footer  */
    footer .navbar-brand {
        min-width: 150px;
        width: 150px;
    }
    .navbar-nav {
        flex-direction: column !important;
    }
    footer li:hover .nav-b-bar {
        width: 0%;
    }
    .lgpd {
        position: initial;
        right: 0px;
        bottom: 0px;
    }

}


@media (max-width:750px){
    .section-articles-home {
        padding-left: 0px !important;
    }
    .section-articles-home .article {
        padding-bottom: 20px;
    }
    .section-articles-home .articles-btn-next,.articles-btn-prev {
        width: 60px !important;
    }
    .section-articles-home .article {
        min-width:300px ;
        max-width:300px ;
    }
    .section-articles-home .article img.img-fluid {
        height:210px ;
        object-fit: cover;
    }
    .section-articles-home .article .texts {
        padding:10px 10px !important;
    }

}

@media(max-width:767px){
    .about-us img {
        width: 250px;
        height: 250px;
        min-width: 250px;
        min-height: 250px;
    }
    .about-us-texts p {
        font-size: 19px;
    }
    .about-us-clicked-texts p {
        font-size: 20px;
    }

    #our-btn {
        background-color: var(--main-color);
        font-size: 16px;
        color: white;
        letter-spacing: 3px;
        margin: auto;
        padding: 10px 20px;
        margin-top: 20px;
        display: block;
        margin-bottom: 50px;
    }



    .our-courses img {
        width: 250px;
        height: 250px;
        min-width: 250px;
        min-height: 250px;
    }
    .our-courses-texts p {
        font-size: 15px;
    }
}

@media (max-width:434px){
    body{
        padding-bottom: 0px;
    }
}