body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: rgb(3, 34, 65);
    padding: 10px;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 999; 
}
section {
    scroll-margin-top: 150px;
    padding-top: 20px;
}
header h1, header h3, menu ul li a {
    color: whitesmoke;
}

h1, h2, h3, h4 {
    color: rgb(72, 107, 150);
}

menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

menu ul li {
    display: inline;
    margin-right: 20px;
}

section {
    margin: 20px;
}

#home {
    margin-top: 230px;
}

#home-div {
    display: flex;
    flex-wrap: wrap;
}

#home-content {
    flex: 1;
    max-width: 70%;
    margin-right: 20px;
}

#home-image {
    flex: 1;
    max-width: 30%;
    aspect-ratio: 1;
}

#home-image img {
    max-width: 100%;
    border-radius: 50%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

#quote {
    font-size: 1.5em;
    /* font-style: italic; */
    font-weight: normal;
    line-height: 1.3;
}

.edu-div p {
    margin-left: 110px;
}

.edu-div h3 {
    margin-left: 110px;
}

.edu-img {
    float: left;
    width: 80px;
    height: 80px;
    margin-right: 10px;
    border-radius: 50%; 
}

#skills {
    padding: 20px;
}

.skill-category {
    width: calc(16.67% - 20px); 
    margin-bottom: 30px;
    box-sizing: border-box;
}

.skill-category table {
    width: 100%;
    border-collapse: collapse;
}

.skill-category-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}


.skill-category table thead th, .skill-category table tbody td {
    padding: 12px;
    text-align: left;
    border: 1px solid black;
}

th {
    background-color: #f2f2f2;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

.image-gallery div {
    clear: left;
    overflow: auto;
}

.image-gallery img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
    border-radius: 10px; 
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

.image-gallery img:hover {
    transform: scale(1.01);
}

details {
    margin-top: 75px;
}

figure {
    width: 480px;
    border: 1px solid #000000;
    padding: 5px;
    display: subgrid;
    float: left;
    border-radius: 10px; 
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2); 
}

figcaption {
    text-align: center;
    font-family: Papyrus, fantasy;
}

.testimonials {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    display: inline;
}

.testimonial {
    background-color: #f9f9f9;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2); 
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 10px;
}

.testimonial-author {
    text-align: right;
    font-weight: bold;
}

footer {
    text-align: center;
    background-color: rgb(3, 34, 65);
    color: whitesmoke;
    padding: 5px;
    box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.2); 
    border-radius: 10px 10px 0 0;
}

.testimonial-author a {
    text-decoration: none;
}

.table-icons {
    width: 20px;
    height: 20px;
}

video {
    height: 200px;
    width: 400px;
    border-radius: 10px; 
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2); 
}

section {
    background-color: rgba(173, 216, 230, 0.2); 
    border-radius: 10px; 
    padding: 20px;
}

button {
    background-color: rgb(72, 107, 150); 
    color: white;
    border: none; 
    padding: 10px 20px; 
    font-size: 1.1em; 
    border-radius: 5px; 
    cursor: pointer; 
}


button:hover {
    background-color: rgba(72, 107, 150, 0.8); 
}

#resume {
  display: flex;
}
#resume button{
    margin: 15px;
}

textarea {
    width: 100%;
    box-sizing: border-box;
}

input{
    width: 100%;
    box-sizing: border-box;
}


/* Adjustments for iPad */
@media only screen and (max-width: 800px) {
    #home {
        margin-top: 500px;
    }
    menu ul {
        display: block;
        text-align: center;
    }

    menu ul li {
        display: block;
        margin-bottom: 10px;
        border: 1px solid #ddd; 
        border-radius: 5px; 
    }

    menu ul li a {
        display: block;
        padding: 8px 16px; 
        text-decoration: none; 
    }
    details{
        margin-left: 40px;
    }
    .button-project{
        margin-left: 40px;
    }

    #home-image {
        display: none; 
    }
}

/* Adjustments for Smartphones */
@media only screen and (max-width: 365px) {
    #home {
        margin-top: 500px;
    }
    menu ul {
        display: block;
        text-align: center;
    }

    menu ul li {
        display: block;
        margin-bottom: 5px; 
        border: 1px solid #ddd; 
        border-radius: 5px; 
    }

    menu ul li a {
        display: block;
        padding: 6px 12px;
        text-decoration: none; 
    }

    details{
        margin-left: 40px;
    }
    .button-project{
        margin-left: 40px;
    }
    #home-image {
        display: none; 
    }
}

.certification-div p{
    margin-left: 110px;
}

.certification-div h4 {
    margin-left: 110px;
}

.certification-img {
    float: left;
    width: 50px;
    height: 50px;
    margin-right: 10px;
    border-radius: 50%; 
}
