@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}


header {
    background-color: #3a6cf4;
    width: 100%;
    position: fixed;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 200px;
}

.logo {
    text-decoration: none;
    color: aliceblue;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.8em;
    display: flex;
    align-items: center; /* Aligns the logo and text vertically */
}

    .logo img {
        height: 1.8em; /* Adjust this value to control the size of the logo */
        margin-right: 15px; /* Adds some space between the logo and the text */
    }

.navigation a {
    color: aliceblue;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 500;
    padding-left: 30px;
}

    .navigation a:hover {
        color: #601cfc;
    }

section {
    padding: 100px 200px;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

.background-blur {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('figures/Untitled.png') no-repeat center center fixed;
    background-size: cover;
    filter: blur(8px); /* Adjust the blur level as needed */
    z-index: -1; /* Place the blur effect behind all content */
}

.content-wrapper {
    position: relative;
    z-index: 1; /* Ensure the content is above the blurred background */
    padding: 100px 200px;
    background-color: rgba(255, 255, 255, 0.8); /* Optional: add a semi-transparent background to make text more readable */
}

.education-container {
    display: flex;
    align-items: flex-start;
    margin: 20px 0;
}

.education-duration {
    width: 200px; /* Adjust the width as needed */
    font-weight: bold;
    margin-right: 20px; /* Space between duration and details */
}

.education-details {
    flex: 1;
}

.education-logo img {
    max-width: 100%; /* Ensures the logo doesn't overflow its container */
    height: auto; /* Maintains the aspect ratio */
}

/* Specific styling for UNSW logo */
.unsw-logo-img {
    width: 150px; /* Set the desired width */
}

/* Specific styling for Helwan University logo */
.helwan-logo-img {
    width: 100px; /* Set the desired width */
}

.education-details h2 {
    margin-top: 0;
}

.education-details ul {
    list-style-type: disc;
    margin-left: 20px;
}

.university {
    color: #2c3e50; /* Dark blue */
    font-style: italic;
    font-weight: bold;
    margin-bottom: 5px;
}

.school {
    color: #8e44ad; /* Purple */
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 5px;
}

.thesis-title {
    color: #e74c3c; /* Red */
    font-weight: bold;
    font-family: 'Georgia', serif;
    text-decoration: none;
    margin-bottom: 5px;
}

p {
    color: #52595D;
    font-size: 0.9em;
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 30px; /* Adjust this value to control the left margin */
    max-width: 85%; /* Adjust this percentage based on your layout needs */
    text-align: justify;
}

li {
    color: #52595D;
    font-size: 0.9em;
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 30px; /* Adjust this value to control the left margin */
    max-width: 85%; /* Adjust this percentage based on your layout needs */
    text-align: justify;
}

.footer {
    background-color: #000016;
    color: #fff;
    padding: 2em;
    display: flex;
    justify-content: space-between;
}

.footer-title {
    font-size: 1.3em;
    font-weight: 600;
}

    .footer-title span {
        color: #3a6cf4;
    }

.footer .social-icons a {
    font-size: 1.3em;
    padding: 0 12px 0 0;
}


@media (max-width:1023px) {
    header {
        padding: 12px 20px;
    }

    .navigation a {
        padding-left: 10px;
    }

    .title {
        font-size: 1.8em;
    }

    section {
        padding: 80px 20px;
    }

    .main-content h2 {
        font-size: 1em;
    }

    .main-content h3 {
        font-size: 1.6em;
    }

    .content {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width:641px) {
    body {
        font-size: 12px;
    }

    .main-content h2 {
        font-size: 0.8em;
    }

    .main-content h3 {
        font-size: 1.4em;
    }
}

@media (max-width:300px) {
    body {
        font-size: 10px;
    }
}


.gallery-container {
    display: flex;
    justify-content: center; /* Center align images */
    align-items: center;
    overflow-x: auto; /* Allows horizontal scrolling if necessary */
}

    /* Style for individual images with margin */
    .gallery-container img {
        height: auto; /* Maintain aspect ratio */
        margin-right: 20px; /* Adjust space to the right of each image */
    }

        /* Remove margin for the last image to avoid extra space on the right */
        .gallery-container img:last-child {
            margin-right: 0;
        }

/* Adjust sizes of images from 10% to 100% of container width */
.img1 {
    width: 40%; /* Adjust width as needed */
}

.img2 {
    width: 47%; /* Adjust width as needed */
}

.img3 {
    width: 32%; /* Adjust width as needed */
}