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

/* Navbar */
.navbar{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(226, 179, 179);
    position: sticky;
    top: 0;
    z-index: 1;
}

.navbar ul{
    display: flex;
    list-style: none;
    margin: 20px 0px
}

.navbar ul li{
    font-family: century;
    font-size: 1.1rem;
    font-weight: bold;
}

.navbar ul li a {
    text-decoration: none;
    color: white;
    padding: 8px 25px;
    transition: all .5s ease;
}

.navbar ul li a:hover{
    background-color: white;
    color: #492F10;
    box-shadow: 0 0 10px white;
}

/* Home Section */
#home{
    display: flex;
    flex-direction: column;
    background-color: rgb(226, 179, 179,0.5);
    height: 840px;
    justify-content: center;
    align-items: center;
    color: #492F10;
}

#home::before{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    background: url('homepage.jpg') no-repeat center center/cover;
    height: 900px;
    width: 100%;
    z-index: -1;
    opacity: 0.8;
}

.main{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 50%;
}

.headings{
    font-family: century;
    font-size: 3rem;
    text-align:center;
    margin: 40px 0px;
}


/* About Me Section */
#about{
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 20px;
    margin-bottom: 50px;
    color: #492F10;
}

#pic{
    display: flex;
}

#pic img{
    width: 575px;
    height: 400px;
}

#intro{
    display: flex;
    flex-direction: column;
    text-align: justify;
    padding: 10px;
    color: #7D5A50;
}

#intro h2{
    font-size: 2rem;
    margin-bottom: 20px;
    color: #DF5E5E;
}
.paraspace {
    line-height: 2.5;
}

/* previous projects */
#portfolio{
    display: flex;
    flex-direction: column;
    background-color: rgb(226, 179, 179);
    color: #492F10;
    align-items: center;
    padding: 20px;
}

.gallery{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    box-sizing: border-box;
}

.gallery img{
    width: 360px;
    height: 240px;
    margin: 10px;
}


.imageContainer {
    width:360px;
    height:240px;
    margin: 10px;
    background-image: url(project.jpg);
}


.container_text{
    padding: 30px;
    color:  #72147E;
    font-family: century;
    font-size: 2rem;
    text-align: center;
}

.container_para{
    padding: 10px;
    color: black;
    font-family: century;
    text-align: center;
}

/* Skills */
#skills{
    display: flex;
    flex-direction: column;
    padding: 20px;
    color: #492F10;
}

.row{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.box{
    display: flex;
    flex-direction: column;
    width: 350px;
    height: 450px;
    border: 1px solid black;
    margin: 10px;
    align-items:center;
    text-align: justify;
    padding: 10px;
    border-radius: 15px;
    background: linear-gradient(to top, #835151 50%, white 50%);
    background-size: 100% 200%;
    transition: all .8s;
}
.box:hover{
    background-position: left bottom;
    color: white;
    border: none;
    box-shadow: 0 0 20px #835151
}

/* Contact Me */
#contact{
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background-color: rgb(226, 179, 179);
    color: #492F10;
}
.contact_container{
    row-gap: 3rem;
}

.contact_information{
    display: flex;
    margin-bottom: 20px;
}

.contact_icon{
    font-size: 2rem;
    color: #492F10;
    margin-right: var(--mb-0-75);
}

.contact_title{
    /* font-size: 1rem; */
    font-weight: var(--font-medium);
}

.contact_subtitle{
    font-size: var(--small-font-size);
    color: var(--text-color-light);
}

.contact_content{
    background-color: var(--input-color);
    border-radius: .5rem;
    padding: .75rem 1rem .25rem;
}

.contact_label{
    font-size: var(--smaller-font-size);
    color: var(--title-color);
}

.contact_input{
    width: 100%;
    background-color: var(--input-color);
    color: var(--text-color);
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    border: none;
    outline: none;
    padding: .25rem .5rem .5rem 0;
}
