@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:wght@300&display=swap');
*{
    margin: 0;
    padding: 0;
    transition: all ease-in-out 250ms;
}

html{
    scroll-behavior: smooth;
}

body{
    text-align: center;
    font-family: Montserrat;
}

.clearfix::after,container::after{
    content: '';
    display: block;
    clear: both;
}

a{
    text-decoration:none;
}

/*header*/
header{
    background-image: url(../Source/Home\ Background.jpeg);
    background-size: cover;
    height: 100vh;
}

.logo img{
width:12em;
margin-top: 2rem;
margin-bottom: 0.5em;
margin-left: 4rem;
}

nav li{
    display: inline-block;
    margin:1.1rem;
    font-weight: 700;
    margin-bottom: 6rem;
    font-size: 1.5rem;
}

nav a {
    color: whitesmoke;
}

nav a:hover{
    color: #cbf675;
    text-decoration: underline;
}
.desc{
    color:white;
    margin-bottom:2rem;
    font-weight: bold;
    font-size:xx-large;
}

.desc span{
    font-weight: 300;
    display: block;
    font-size: x-large;
}

.our_work{
    margin-top:2rem;
    color: #cbf675;
    border:2px solid;
    width:150px;
    height:20px;
    padding: 1rem; 
    display: inline-block;
    border-radius: 2rem;
    padding-top:.5rem;
    font-size: 1.4rem;
    text-decoration: none;
}

.our_work a{
    color:#cbf675;
}

.our_work:hover{
    background-color: #cbf675;
}

.our_work:hover a{
    color: black;
}

@media (min-width:60rem){
    .logo{
        width:20%;
    }
    .logo img{
        width: 100%;
    }
    .nav{
        margin-top: -110px;
        margin-right:-900px;
        margin-bottom: 100px;
        margin-left: -30px;
        width: 99.8%;
        display: flex;
        justify-content: end;
        font-size:x-large;
    }
}

@media (min-width:70rem){
    .nav{
        margin-top: -130px;
    }
}

/*About*/

.about_textbox {
    background-color: #232323;
    padding:3em;
    color:white;
    outline: 2px solid #cbf675;
    outline-offset: -2rem;
    position: relative;
    padding:100px 40px;
    font-size: 1.3rem;
}

.about_textbox h1{
    color:#cbf675;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top:.7em;
    background-color: #232323;
    padding: 0px 7px;
    font-size: 23px;
}

@media(min-width:60rem){
    .about{
        background-image: url(../Source/Model.jpg);
        background-position:top;
        background-repeat: no-repeat;
        background-size:cover;
        padding-bottom:5em;
        width:60%;
        height: 90%;
        margin-left: 210px;

    }

    .about_textbox{
        width:55%;
        padding:100px 40px;
        top:-5rem;
        left:25rem;

    }

    .about_textbox h1{
        font-size: 1.2rem;
        top:1.3rem;
    }
}

@media (min-width:70rem){
    .about{
        background-image: url(../Source/Model.jpg);
        background-position:top;
        background-repeat: no-repeat;
        background-size:cover;
        padding-bottom:5em;
        width:50%;
        height: 75%;
        margin-left: 350px;
    }

    .about_textbox{
        width:60%;
        padding:100px 40px;
        top:-5rem;
        left:30rem;

    }

    .about_textbox h1{
        font-size: 1.4rem;
        top:1rem;
    }
}

/*Portfolio*/

    #portfolios{
        margin:3em 0;
        position: relative;
        margin: 100%;
    }

    .portfolios img{
        width: 100%;
        height: auto;
        position: relative;
    }

    .portfolios h1{
        margin-top: 2rem;
        margin-bottom: 2rem;
        margin-left: 50%;
        transform: translateX(-50%);
        border-top:3px solid #cbf675;
        width:80%;
        padding-top: 2rem;
        font-size: 25px;
    }

    .portfolio{
        margin: 0;
        position: relative;
    }

    .pro_desc{
        position: absolute;
        z-index: 100;
        bottom:0.3em;
        color:white;
        background-color: rgba(0, 0, 0, 0.5);
        padding: 1.5em;
        width: 87.5%;
        left:50%;
        transform: translateX(-50%);
        line-height: 2.2rem;
    }

    .pro_desc a{
        color: #cbf675;
        border: 1px solid #cbf675;
        padding: 0.5rem 1rem;
        border-radius: 2rem;
    }

    .pro_desc a:hover{
        background-color: #cbf675;
        color: black;
    }

    @media (min-width:60rem) {

        .portfolio{
            width: 50%;
            float: left;
            margin: 0;
        }

        .pro_desc{
            width:24.1rem;
            font-size: 1.3rem;
            line-height: 2.7rem;
        }

        .pro_desc a{
            margin-top: -5rem;
        }
    }

    @media (min-width:70rem) {
       .portfolio{
        width:33.33%;
        margin: 0;
        overflow: hidden;
       }

       .pro_desc{
        width: 25.6rem;
        z-index: -1;
       }

       figure:hover{
        .pro_desc{
            z-index: 1;
        }
       }
    }

/*Hiring*/
    .hiring{
        position: relative;
        /* border:3px solid grey; */
        background-color: #a8dd3e;
        padding:75px 2px;
        color:black;
        font-size: large;
        h2{
            margin-bottom:3rem;
        }
        h3{
            margin-bottom: 3rem;
        }
   }

   .hire_us{
    position: absolute;
    border:1px solid black;
    border-radius: 4rem;
    letter-spacing: 2px;
    width: fit-content;
    left: 50%;
    transform: translateX(-50%);
    padding:0.8rem;
   }

   .hire_us:hover{
    background-color: black;
    color: white;
   }

   @media (min-width:60rem){
    .hiring{
        h2{
            font-size:xx-large;
        }
        h3{
            font-size: x-large;
        }
    }

    .hire_us{
        font-size: x-large;
    }
   }

/*Footer*/
   footer{
    text-align: center;
    background-color: #232323;
    color: white;
    padding:1rem;
    p{
        padding-top: 1rem;
    }
   }

   .contact img{
    width:25px;
    margin:0.5rem;

   }

   .images{
    display: flex;
    justify-content: center;
    align-items: center;
   }
