body,
h1,
h2,
p,
ul,
li,
figure,
figcaption {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Arial", sans-serif; /* Replace with the font used in the design */
  color: #333; /* Replace with the actual text color */
  background-color: #f4f4f4; /* Replace with the actual background color */
}
.header-container {
    display: grid;
    grid-template-columns: 500px max-content;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    padding: 50px 0; 
}
.header-info h1, p {
    padding-bottom: 20px;
}

header img{
   border-radius: 50%;
    width: 150px;
    height: 200px;
}
.header-info button{
    background-color: aquamarine;
    height: 30px;
    border-radius: 10px 10px 10px 10px;
    cursor: pointer;
}
.header-info button:hover{
    background-color: rgb(67, 236, 180);
}
.navbar ul {
    list-style-type: none; /* Removes bullet points from the list */
    margin: 0;
    padding: 0;
    overflow: hidden;
}
.navbar li {
    float: right; /* Horizontally aligns the list items */
}
.navbar li a {
    display: block; /* Allows width and height to be set */
    color: #333; /* Text color */
    text-align: center;
    padding: 14px 16px; /* Vertical and horizontal padding */
    text-decoration: none; /* No underline on the links */
}
.navbar li a:hover {
    color: rgb(63, 207, 255);
}
.header-container:after {
    content: "";
    display: table;
    clear: both;
}
section{
    margin: 50px 0;
    padding-bottom: 50px;
}

.post-container{
    display: grid;
    grid-template-columns: 400px 400px;
    grid-template-rows: 100px 300px;
    justify-content: space-evenly;
    background-color: rgb(219, 240, 247);

    grid-template-areas: 
        "header-1 header-2"
        "box-1 box-2";
}
.post-header-1{
    display: flex;
    grid-area: header-1;
    padding-top: 5px;
}
.post-header-2{
    display: flex;
    justify-content: end;
    grid-area: header-2;
    padding-top: 5px;
}
.box-1{
    grid-area: box-1;
    background-color: #f4f4f4;
    margin-bottom: 80px;
    text-align: center;
}
.box-2{
    grid-area: box-2;
    background-color: #f4f4f4;
    margin-bottom: 80px;
    text-align: center;
    
}
.featured-works{
    display: grid;
    background-color: rgb(219, 240, 247);
    
    grid-template-rows: 100px 200px 200px 200px;

    grid-template-areas:  
    "header header"
    "work-image-1 work-1"
    "work-image-2 work-2"
    "work-image-3 work-3";
}
.featured-works-1{
    grid-area: header;
    padding-top: 20px;
    padding-left: 20px;
}
.featured-work-1{
    grid-area: work-1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.featured-work-2{
    grid-area: work-2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.featured-work-3{
    grid-area: work-3;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post, .work{
    margin-bottom: 30px;
}
footer {
    display: flex;
    background-color: #f8f8f8;
    text-align: center;
    padding: 20px 0;
    font-size: 30px;
    justify-content: space-evenly;
}
footer a {
    margin: 0 10px;
}
.featured-work-image-1{
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.image-1{
    height: 200px;
    width: 400px;
    border: 2px solid black;
    border-radius: 3px;
}
.featured-work-image-2{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.image-2{
    height: 160px;
    width: 400px;
    border: 2px solid black;
    border-radius: 3px;
}
.featured-work-image-3{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.image-3{
    width: 400px;
    height: 200px;
    border: 2px solid black;
    border-radius: 3px;
}
.image-4{
    height: 200px;
    width: 400px;
}
.bannerhead{
    height: 400px;
    width: 100%;
    border-radius: 0%;
}
.main-container{
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media only screen and (max-width: 768px){
    
    .header-container {
        display: grid;
        grid-template-columns: 2fr 1fr;
        justify-content: space-evenly;
        align-items: center;
        text-align: center;
        padding: 0px; 
    }

    .header-info h1, p {
        padding-bottom: 20px;
    }
    
    header img{
       border-radius: 50%;
        width: 150px;
        height: 200px;
    }
    .header-info button{
        background-color: aquamarine;
        height: 30px;
        border-radius: 10px 10px 10px 10px;
        cursor: pointer;
    }
    .header-info button:hover{
        background-color: rgb(67, 236, 180);
    }
    .navbar ul {
        list-style-type: none; /* Removes bullet points from the list */
        margin: 0;
        padding: 0;
        overflow: hidden;
    }
    .navbar li {
        float: right; /* Horizontally aligns the list items */
    }
    .navbar li a {
        display: block; /* Allows width and height to be set */
        color: #333; /* Text color */
        text-align: center;
        padding: 14px 16px; /* Vertical and horizontal padding */
        text-decoration: none; /* No underline on the links */
    }
    .navbar li a:hover {
        color: rgb(63, 207, 255);
    }
    .header-container:after {
        content: "";
        display: table;
        clear: both;
    }
    section{
        margin: 50px 0;
        padding-bottom: 50px;
    }
    
    .post-container{
        display: grid;
        grid-template-columns: 400px 400px;
        grid-template-rows: 100px 300px;
        justify-content: space-evenly;
        background-color: rgb(219, 240, 247);
    
        grid-template-areas: 
            "header-1 header-2"
            "box-1 box-2";
    }
    .post-header-1{
        display: flex;
        grid-area: header-1;
        padding-top: 5px;
    }
    .post-header-2{
        display: flex;
        justify-content: end;
        grid-area: header-2;
        padding-top: 5px;
    }
    .box-1{
        grid-area: box-1;
        background-color: #f4f4f4;
        margin-bottom: 80px;
        text-align: center;
    }
    .box-2{
        grid-area: box-2;
        background-color: #f4f4f4;
        margin-bottom: 80px;
        text-align: center;
        
    }
    .featured-works{
        display: grid;
        background-color: rgb(219, 240, 247);
        align-items: start;
        
        grid-template-rows: .5fr 1fr 1fr 1fr;
        grid-template-columns: .5fr 1fr;
    
        grid-template-areas:  
        "header header"
        "work-image-1 work-1"
        "work-image-2 work-2"
        "work-image-3 work-3";
    }
    .featured-works-1{
        grid-area: header;
        padding-top: 20px;
        padding-left: 20px;
    }
    .featured-work-1{
        grid-area: work-1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .featured-work-2{
        grid-area: work-2;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .featured-work-3{
        grid-area: work-3;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .post, .work{
        margin-bottom: 30px;
    }
    footer {
        display: flex;
        background-color: #f8f8f8;
        text-align: center;
        padding: 20px 0;
        font-size: 30px;
        justify-content: space-evenly;
    }
    footer a {
        margin: 0 10px;
    }
    .featured-work-image-1{
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
    .image-1{
        height: 50px;
        width: 100px;
        border: 2px solid black;
        border-radius: 3px;
        margin-top: 20px;
    }
    .featured-work-image-2{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    .image-2{
        height: 60px;
        width: 100px;
        border: 2px solid black;
        border-radius: 3px;
        margin-top: 20px;
    }
    .featured-work-image-3{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    .image-3{
        width: 100px;
        height: 50px;
        border: 2px solid black;
        border-radius: 3px;
        margin-top: 20px;
    }
    .image-4{
        height: 50px;
        width: 100px;
    }
    .bannerhead{
        height: 400px;
        width: 100%;
        border-radius: 0%;
    }
    .main-container{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    hr{
        display: none;
    }
    
}

