@charset "UTF-8";

html, body * {

    box-sizing: border-box;

}

html {

    font-size: 16px;

}

body {

    margin: 0;
    padding: 0;
    font-family: Georgia, 'Times New Roman', Times, serif;
    background-color: white;
    overflow-x: hidden;

}

#header{

    width: 30%;
    height: 90vh;
    display: flex;
    flex-direction: column;
    border: 1px solid black;
    background-color: black;
    position: fixed;

}

#logo{
    width: 100px;
    height: 100px;
    margin-top: 46px;
    margin-left: 38%;
}

hr{
    height: 1px;
    border-width: 0;
    color: white;
    background-color:black;
    margin-top: 1%;
    margin-bottom: 1%;
}

#main{

    width: 70%;
    /* border: 1px solid black; */
    margin-left: 30%;
    padding: 5%;

}

#links{

    padding-left: 30px;
    color: whitesmoke;
    margin: 50px auto 30px auto;

}

.nav-links{

    text-decoration: none;
    color: whitesmoke;
    cursor: pointer;
    padding: 4.2px;
    border: 1px solid black;
    border-bottom: 1px solid whitesmoke;

}

.nav-links:hover{

    border: 1px solid white;

}

#logo > img{
    width: 100%;
}

#one, #two, #three, #four{

    margin-top: 50px;
    margin-bottom: 50px;

}

h1{
    color: black;
}

h3{

    font-family: Georgia, 'Times New Roman', Times, serif;
    line-height: 30px;
    font-weight: 400;
    color: black;

}

button{

    padding: 9px;
    border: 1px solid black;
    background-color: white;
    color: black;

}

button:hover{

    cursor: pointer;
    background-color: lightgrey;

}

h4{

    font-size: 18px;
    padding-left: 50px;
    padding-right: 50px;
    color: whitesmoke;
    text-align: justify;
    font-weight: 200;
    line-height: 30px;
    margin: 5px auto;

}

.para{
    margin-top: 0;
}

#picture{
    width: 56%;
    height: 310px;
    background-color: whitesmoke;
    margin-top: 30px;
    margin-left: 90px;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
}

#picture > img{
    width: 100%;
    height: 100%;
}

#three{
    color: black;
}

#graphics{

    width: 100%;
    height: 450px;
    padding: 20px;
    /* border: 1px solid #8a733e; */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;

}

.graphic1{

    width: 30%;
    height: 46%;
    background-color: black;

}

.footer{

    width: 30%;
    height: 10vh;
    display: flex;
    flex-wrap: wrap;    
    justify-content: space-around;
    margin-top: 90vh;
    background-color: black;
    position: fixed;

}

#icons{

    width: 40%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 30px;

}

#icons>img{

    /* margin: 1px; */
    width: 25%;

}

h5{

    margin-top: 0px;
    color: whitesmoke;
    text-align: center;
    
}

#projects{

    display: flex;
    flex-wrap: wrap;

}

.box1, .box2, .box3, .box4, .box5, .box6{

    width: 44%;
    height: 240px;
    border: 1px solid black;
    margin: 3%;

}

img {

    width: 100.1%;
    height: 100%;

}

img > .box3{

    height: 100%;

}

/* form */

.contact-form {
    /* background-color: black; Main form background color */
    padding: 20px;
    border-radius: 10px;
    width: 600px; /* Adjust the width as needed */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: whitesmoke; /* Label text color */
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: calc(100% - 22px); /* Input width - padding and border */
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-bottom: 10px; /* Space between input fields */
    background-color: lightgrey; /* Input background color */
    color: black; /* Input text color */
    font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #3a3a3a;
}

button[type="submit"] {
    width: 30%;
    padding: 15px 0; /* Padding for button */
    margin-left: 210px;
    border: 1PX solid black;
    border-radius: 5px;
    background-color: white;
    color: black; /* Button text color */
    font-size: 1rem;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: lightgrey; /* Button hover color */
}


.form-inline {
    display: flex;
    gap: 10px; /* Space between inline inputs */
}

.form-inline .form-group {
    flex: 1;
}

footer{
    display: none;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {

    #header{
        width: 100%;
        height: 24vh;
        align-items: center;
        padding: 20px 10px;
        position: absolute;

    }

    #logo{
        margin-top: 20px;
        margin-left: 0;
    }

    #links{
        padding-top: 20px;
        padding-left: 0;
    }

    #picture{
        display: none;
    }

    #main{
        width: 100%;
        height: auto;
        margin-left: 0;
    }

    #one{
        margin-top: 280px;
    }

    #projects{

        width: 100%;
        height: 100%;
        display: flex;
        flex-wrap: wrap;
    
    }

    .box1, .box2, .box3, .box4, .box5, .box6{

        width: 44%;
        height: 100%;
        margin: 3%;
        border: none;
    
    }

    .box1 > img{
        width: 100%;
    }

    .para{
        margin-top: 0;
    }

    .footer{
        /* width: 100%;
        padding: 0;
        display: flex;
        position: absolute;
        margin-top: 2800px;
        flex-direction: column;
        align-items: center; */

        display: none;
    }

    footer{
        width: 100%;
        height: 5vh;
        background-color: black;
        color: white;
        padding: 0;
        align-items: center;
    }

    h5{
        padding-top: 20px;
    }

    #icons{

        width: 20%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        height: 30px;
    
    }
    
    #icons>img{
    
        margin: 1px;
        width: 20%;
    
    }

}

/* Mobile adjustments */
@media screen and (max-width: 767px) {


    #header{
        width: 100%;
        height: 37vh;
        align-items: center;
        padding: 20px 10px;
        position: absolute;

    }

    #logo{
        margin-top: 20px;
        margin-left: 0;
    }

    #links{
        padding-top: 20px;
        padding-left: 0;
    }

    #picture{
        display: none;
    }

    #main{
        width: 100%;
        height: auto;
        margin-left: 0;
    }

    #one{
        margin-top: 280px;
    }

    #projects{

        width: 100%;
        height: 100%;
        display: flex;
        flex-wrap: wrap;
    
    }

    .box1, .box2, .box3, .box4, .box5, .box6{

        width: 44%;
        height: 100%;
        margin: 3%;
        border: none;
    
    }

    .box1 > img{
        width: 100%;
    }

    #graphics {
        width: 100%;
        height: 210px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .para{
        margin-top: 0;
    }

    .footer{
        /* width: 100%;
        padding: 0;
        display: flex;
        position: absolute;
        margin-top: 2800px;
        flex-direction: column;
        align-items: center; */

        display: none;
    }

    footer{
        width: 100%;
        height: 5vh;
        background-color: black;
        color: white;
        padding: 0;
        align-items: center;
    }

    h5{
        padding-top: 20px;
    }

    #icons{

        width: 20%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        height: 30px;
    
    }
    
    #icons>img{
    
        margin: 1px;
        width: 20%;
    
    }

    #form{
        width: 100%;
    }

    .contact-form{
        width: 100%;
    }

    button[type="submit"] {
        width: 40%;
        padding: 15px 0; /* Padding for button */
        margin: 0 105px;
        border: 1PX solid black;
        border-radius: 5px;
        background-color: white;
        color: black; /* Button text color */
        font-size: 1rem;
        cursor: pointer;
    }

}

