/* reset css */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, menu, nav, output, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
}

*,
*::before,
*::after{box-sizing:border-box;}
/* reset css ends*/

body {
    height: 100vh;
    font-family: 'Lora';
}
html {
    scroll-behavior: smooth !important;
}
.container {
    display: grid;
    grid-template-rows: 45px 1fr;
    height: 100%;
}

/* header css*/
#top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background:#121212;
    position: sticky;
    height: fit-content;
}
#logo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #008da4;
}
#logo {
    width: 40px;
    height: 30px;
    margin: 10px;
}
#logo-container > span {
    font-size: 25px;
}
#top-nav {
    display: flex;
}
#top-nav, a {
    text-decoration: none;
    color: white;
    margin: 0 10px;
}
/* header css ends*/


/* content css*/
#content {
    display: grid;
    grid-template-rows: repeat(4, auto);
    overflow: auto;
}
.content-section {
    text-align: center;
    padding: 3rem 20px;
}
.content-section-title{
    margin-bottom: 0.5rem;
}
.content-section-desc{
    font-style: italic;
    margin-bottom: 1.5rem;
}

/* home section css*/
#home-section {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    background: url("../images/home-section-bg.jpeg") no-repeat center center fixed;
    background-size: cover;
    height: 500px;
    background-color:#1e1e1e;
}
#title-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    row-gap: 1rem;
}
#title-container h1{
    font-size: 2.5rem;
    color: white;
    text-align: center;
}
#title-container h2 {
    font-size: 2rem;
    color: #008da4;
    text-align: center;
}
/* home section css ends*/


/* about us section css*/
#about-us {
    background-color: white;
    justify-content: center;
    padding: 3rem 40px;
}
#about-us > p {
    text-align: left;
    margin-bottom: 8px;
}
#about-us > .content-section-title, #about-us > .content-section-desc {
    color:#008da4;
    text-align: center;
}
/* about us section css ends*/


/* services section css*/
#services {
    background:#008da4;
    color: white;
}
#services > ul{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center; 
    list-style-type: none;
}
#services > ul > li {
    background-color: white;
    color: #008da4;
    border: 1px solid white;
    border-radius: 10px;
    margin: 5px;
    padding: 3px 5px;
}
/* services section css ends*/

/* latest work section css*/
#latest-work {
    background-color: white;
    color:#008da4;
}
#latest-work > .content-section-title {
    text-align: center;
}
#latest-work-grid {
    display: flex;
    gap: 1rem;
    row-gap: 3rem;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.img-container img{
    height: 230px;
    width: 230px;
    -o-object-fit: cover;
    object-fit: cover;
}
/* latest work section css ends*/


/* contact section css*/
#contact {
    background:#008da4; /*#121212;*/
    color:white;
}
#contact > .content-section-title {
    margin-bottom: 1.5rem;
}
#contact-info {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    column-gap: 4rem;
    row-gap: 4rem;
}
#contact-info > div {
    text-align: center;
}
/* contact section css ends*/


/* content css ends*/