* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html{
    font-size: 6px;
}

body{
    font-family: "Lato" , sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.5;
    background-color: #fff;  

}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    font-family:Lato ;

}

a{
    text-decoration: none;
}

ul {
    list-style-type: none;
}

section{
    padding-top: 10rem;
    padding-bottom: 10rem;
    text-align: center;
}

.btn-large{
    font-size: 2rem;
    padding: 2.2rem 1.6rem;
}

.btn{
    margin-top: 2rem;
    font-weight: 400;
    display: inline-block;
    border: 2px solid #fff;
    border-radius: 0.4rem;
    cursor: pointer;
    transition: all .5s;
}

.btn-social{
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 2rem;
}

.btn-outline{
    color: #fff;
    border-color: #fff;
    background-color: transparent;
    
}

.btn-outline:hover {
    color: #212529;
    background-color: #fff;
}

.btn-primary{
    background-color: #1ABC9B;
    border-color: #1ABC9B;
    padding: 1.2rem 1rem;
    color: #fff;
}

.btn-primary:hover{
    background-color: #128f76;
    border-color: #128f76;
    
}

.img-fluid{
    max-width: 150px;
    height: auto;
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.col{
    float: left;
    width: 100%;
    padding: 1rem;
    
}

@media (min-width: 576px){

    .container{
        max-width: 540px; 
    }

    html{
        font-size: 7px;
    }
}

@media (min-width: 768px){

    .container{
        max-width: 720px;
    }

    html {
        font-size: 8px;
    }

    .col {
        width: 50%;
    }
}

@media (min-width: 992px){

  .container{
    max-width: 960px;
  }  

  html{
    font-size: 9px;
  }

  .col {
    width: 33.333%;
  }
}

@media (min-width:1200px){

    .container{
        max-width: 1140px;
    }

    html{
        font-size: 10px;
    }
}


.text-uppercase{
    text-transform: uppercase;
}

/* Navbar*/

nav {
    width: 100%;
    font-family: Montserrat;
    background-color: #2c3e4f;
    color: #fff;
    padding-top: 2rem;
    padding-bottom: 2rem;
    position: fixed;
    z-index: 500;
}

#logo-box{
    float: left;
    padding-top: 0.5rem;
}

#logo-box .logo{
    color: #fff;
    font-weight: 700;
    font-size: 2.8rem;

}

#nav-links {
    float: right;
}

#nav-links .nav-item {
    float: left;
    margin: 0.5rem;
    
}

#nav-links .nav-link{
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    display: block;
    padding: 1.6rem;
    letter-spacing: 0.1rem;
    transition: color 0.4s;
}

#nav-links .nav-link:hover {
    color: #1ABC9B;
}

#nav-links .nav-icon {
    display: none;
}

@media (max-width: 992px) {
    #logo-box {
        float: none;
        text-align: left;
    }

    #nav-links {
        float: none;
    }

    #nav-links .nav-link {
        font-size: 2rem;
        padding-left: 0;
    }

    #nav-links .nav-item {
        float: none;
        text-align: left;
    }

    #nav-links .nav-icon {
        display: block;
        position: absolute;
        top: 10px;
        right: 5px;
        font-size: 3rem;
    }

    #nav-links.responsive li:not(:first-child) {
        display: none;
    }
}

/* Header */

header{
    background-color: #1ABC9B;
    height: 700px;
    padding-top: calc(106px + 7rem) ;
    text-align: center;

}

header h1{
    color: #fff;
    font-size: 6rem;
}

header h2 {
    color: #fff;
    font-size: 2.4rem;
    font-family: "Lato";
    font-weight: 300;
}

hr.star-light{
    border-color: #fff;
}

hr.star-dark{
    border-color: #2D3D4F;
}

.star-light, .star-dark {
    border: none;
    border-top : 0.4rem solid;
    border-radius: 10px;
    max-width: 25rem;
    margin: 2.5rem auto;
    overflow: visible;
    height: 0;
    
}

.star-light::after{
    color: #fff;
    background-color:#1ABC9B
}

.star-dark::after{
    color: #2D3D4F;
    background-color: #fff;
}

.star-light::after,  .star-dark::after{
    content: "\2605";
    
    font-weight: 900;
    font-size: 3.2rem ;
    position: relative;
    top: -28px;
    padding: 0 8px;
    
    
}

/* portfolio */


#portfolio h2 {
    font-size: 4.8rem;
    color: #2D3D4F;
}

.img-fluid-p{
    max-width: 100%;
    height: auto;
    padding-block: 0px;
    border-radius: 10px;
}



.portfolio-item{
    position: relative;
}

.portfolio-item img{
    display: block;
    border-radius: 13px;
}

.img-overlay{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #1ABC9B;
    opacity: 0;
    transition: opacity 0.4s;
    border-radius: 10px;
}


.img-overlay .icon{
    color: #fff;
    font-size: 8rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
}

.portfolio-item:hover .img-overlay{
    opacity: 0.8;
    border-radius: 13px;
    
}

/* About */

#about{
    background-color: #1ABC9B;
    color: #fff;

}

#about h2{
    font-size: 4.8rem;
}

#about-text{
    text-align: left;

}

#about-text .left   {
    float: none;
    width: 100%;
    padding-right: 5px;
    padding-left: 25px;
}

#about-text .right {
    float: none;
    width: 100%;
    padding-left: 25px;
    padding-right: 5px;
}

#about-text .text{
    font-size: 2rem;
}

@media (min-width: 992px) {

    #about-text .left {
        float: left;
        width: 50%;
        padding-right: 10px;
        padding-left: 210px;
    }

    #about-text .right {
        float: right;
        width: 50%;
        padding-right: 210px;
        padding-left: 10px;
    }
}

/* Contact */

#contact h2{
    font-size: 4.8rem;
    color: #2c3e50;
}

#contact-form{
    width: 70%;
    margin: 0 auto;
    text-align: left;
}

.form-group{
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 3rem;
    margin-bottom: 4rem;

}

.form-group input, .form-group textarea{
    border: none;
    width: 100%;
    display: block;
    font-size: 2.4rem;
}

.form-group input:focus{
    outline: 0;
}

.form-group textarea:focus{
    outline: 0;
}


/* Footer */

footer{
    padding-top: 6rem;
    padding-bottom: 6rem;
    background-color: #2c3e4f;
    color: #fff;
    text-align: center;
}

footer h4{
    font-size: 2.4rem;
}

footer p {
    font-size: 2rem;
    margin-top: 1rem;

}

footer li{
    display: inline-block;
    margin-right: 1rem;
}

.copyright{
    background-color: #19262f;
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
    color: #fff;
    text-align: center;
}

