/* Syle.css */

@import url('https://fonts.googleapis.com/css?family=Roboto:100,200,300,400,500,600,700|Exo:100,200,300,400,500,600,700');

/*--------------------------------------------Colors*/

.bg-color-name-title {
    background-color: #676767;
}

.bg-color-three-reasons {
    background-color: #ffffff;
}

.bg-color-personal-info {
    background-color: #f4f4f4;
}

.bg-color-skills {
    background-color: #ffffff;
}

.bg-color-work-history {
    background-color: #9b59b6;
}

.bg-color-education-history {
    background-color: #9e3636;
}

.bg-color-contact {
    background-color: #ffffff;
}

.bg-color-conferences {
    background-color: #f4f4f4;
}

.bg-color-groups {
    background-color: #ffffff;
}

.ui-menu-color-home {
    background-color: #e67e22;
}

.ui-menu-color-resume {
    background-color: #9b59b6;
}

.ui-menu-color-contact {
    background-color: #3498db;
}

.ui-menu-color-download {
    background-color: #d9a81d;
}


.ui-menu-color-github {
    background-color: #1c4a6c;
}

.ui-menu-color-education {
    background-color: #9e3636;
}




body {
    font-family: Roboto, sans-serif;
    font-weight: 300;
    background-color: #525252;
    color: #555555;
}


/*--------------------------------------------Special Paddings/Margins/Text*/

h1,
h2,
h3,
h4 {
    margin: 0;
}

.uppercase {
    text-transform: uppercase;
}

.general-sub {
    font-family: "Exo", sans-serif;
    font-weight: 300;
    color: #fafafa;
}

.inline-block {
    display: inline-block;
}


.row-table {
    display: table;
}

.history-heading,
.section-heading {
    font-family: "Exo", sans-serif;
    font-weight: 300;
    margin-top: 15px;
    margin-bottom: 10px;
}


/*--------------------------------------------Heading*/

header {
    margin: 0;
}

.heading {
    margin-left: 50px;
}

.logo {
    background: url("../images/robert.jpg");
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 360px;
    transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
}

.name {
    font-family: "Exo", sans-serif;
    font-weight: 100;
    font-size: 46px;
    margin-top: 50px;
    color: #ffffff;
}

.title {
    font-family: "Roboto", sans-serif;
    font-weight: 200;
    font-size: 28px;
    margin-top: 20px;
    margin-bottom: 90px;
    color: #ffffff;
}

#nav {
    margin: 0;
}

#nav li {
    padding: 0;
}

.menuitem {
    height: 120px;
    text-align: center;
    padding: 0;
}

.menuitem a {
    width: 100%;
    text-decoration: none;
    color: #ffffff;
    height: 120px;
}


.menuitem a i {
    padding-top: 22px;
    display: block;
    color: #fafafa;
    font-size: 26px;
}

.menuitem span {
    display: block;
    width: 100%;
    padding-top: 5px;
    text-align: center;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 2px;
}

/* Language switch */
.language-switch {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 16px;
}

.language {
    text-decoration: none;
    color: #ffffff; /* Or the color that matches your theme */
    margin: 0 5px;
}

.language:hover {
    color: #ffcc00; /* Highlight color on hover */
}

/*--------------------------------------------Hover.css*/

.hvr-sweep-to-bottom:before {
    background: rgba(0, 0, 0, 0.2);
    height: 120px;
}


/*--------------------------------------------Footer*/

footer {
    background-color: #525252;
    color: #fafafa;
    min-height: 120px;
    margin: 0;
}

footer .cv-pdf i {
    color: #fafafa;
    text-align: center;
    font-size: 18px;
    padding-left: 5px;
}

footer .cv-pdf i:hover {
    color: #e84610;
    transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    -webkit-transition: all 0.35s ease-in-out;
    -o-transition: all 0.35s ease-in-out;
}

.social-links {
    padding-bottom: 15px;
}

.social-links li a i {
    width: 32px;
    height: 32px;
    padding: 12px 0;
    border-radius: 50%;
    font-size: 13px;
    line-height: 7px;
    text-align: center;
    color: #fafafa;
    background: #8f8f8f;
    transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    -webkit-transition: all 0.35s ease-in-out;
    -o-transition: all 0.35s ease-in-out;
}

.social-links li a i:hover {
    background: #e84610;
}

#footer-details {
    margin: 20px;
}

/*--------------------------------------------Three Reasons*/

.three-reasons-icon {
    font-size: 26px;
    color: #e67e22;
}

.three-reasons-heading {
    margin-bottom: 15px;
}

/*--------------------------------------------Personal Info*/

.personal-info-item {
    margin-bottom: 20px;
    display: block;
    clear: both;
}

.personal-info-item .key,
.personal-info-item .value {
    padding-right: 8px;
}

.personal-info-item .key p,
.personal-info-item .value p {
    margin: 0;
}

.personal-info-item .key {
    display: inline-block;
    width: 30%;
    margin-right: 21px;
    padding-top: 2px;
    vertical-align: top;
}

.personal-info-item .key p {
    font-weight: 700;
}

.personal-info-item .value {
    display: inline-block;
    position: relative;
    width: 60%;
}

/*--------------------------------------------Skills*/

.progress {
    position: relative;
    height: 25px;
}

.progress-type {
    position: absolute;
    left: 0px;
    font-weight: 400;
    padding: 3px 30px 2px 10px;
    color: #fafafa;
    background-color: rgba(25, 25, 25, 0.2);
}


.progress-section {
    margin: 40px 20px;
}

.scrolling {
    height: 420px; /* Set a fixed height for the div */
    overflow: auto; /* Add the overflow property to enable scrolling */
    border: 0px solid #ccc; /* Optional: Add a border for better visualization */
  }


/*--------------------------------------------Work History and Education*/

.timeline-item {
    padding: 4em 2em 0em 2em;
    position: relative;
    color: #fafafa;
    border-left: 1px solid;
}

.timeline-item p {
    padding: 0;
    margin: 0;
}

.timeline-item::before {
    content: attr(data-dates);
    position: absolute;
    left: 2.5em;
    top: 3em;
    display: block;
    font-family: "Exo", sans-serif;
    font-weight: 500;
    font-size: .8em;
    padding: 0;
    margin: 0;
}

.timeline-item::after {
    width: 12px;
    height: 12px;
    display: block;
    top: 2.4em;
    position: absolute;
    left: -6px;
    border-radius: 12px;
    content: '';
    background: #fafafa;
}

.history-heading {
    color: #fafafa;
    margin-bottom: 1px;
}

.history-items {
    margin-bottom: 30px;
}

/*--------------------------------------------Contact*/

.contact-heading {
    font-family: "Exo", sans-serif;
    font-weight: 300;
    margin-top: 25px;
    margin-bottom: 20px;
}


.center-form {
    padding-top: 10px;
    margin: 0 auto;
}

button[type="submit"] {
    margin-top: 15px;
    margin-bottom: 20px;
    background-color: #e84610;
    color: #fafafa;
}

/*--------------------------------------------Map*/
div#map {
    min-height: 360px;
}

/* Add new styles for the modal */
.modal-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff; /* White background for the modal */
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    max-width: 1000px; /* Set the maximum width of the modal */
    width: 100%; /* Ensure the width is 100% of the container */
    box-sizing: border-box; /* Include padding and border in the total width */
    position: relative; /* Add position relative for absolute positioning of close icon */
}

.close-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    cursor: pointer;
}

/* New styles for the work link */
.work-link {
    cursor: pointer;
    text-decoration: none;
    color: #fff; /* Set the color of the link to white */
    transition: text-decoration 0.3s, color 0.3s; /* Add a smooth transition for both text decoration and color */
}

.work-link:hover {
    text-decoration: underline;
    color: #fff; /* Set the color of the link on hover to white */
}

/* Github page styling */
/* Container for the GitHub form and content */
.center-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Input field for GitHub username */
#gh-username {
    width: 60%;
    padding: 10px;
    font-size: 18px;
    margin-bottom: 20px;
    border: 2px solid #ccc;
    border-radius: 5px;
}

/* Styling for GitHub user information */
#gh-user-data {
    margin-bottom: 5px;
    text-align: center;
}

/* Repo Grid: Ensures 4 columns per row */
.repo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

/* Individual grid items (each repo) */
.repo-grid-item {
    background-color: #f8f9fa;
    padding: 5px 10px;
    text-align: center;
    border-radius: 5px;
    transition: background-color 0.5s;
}

/* Hover effect on repo items */
.repo-grid-item:hover {
    background-color: #e2e6ea;
}

/* Repo links */
.repo-grid-item a {
    text-decoration: none;
    color: #007bff;
    font-size: 16px;
}

/* Hover effect on repo links */
.repo-grid-item a:hover {
    text-decoration: underline;
}


/*--------------------------------------------Media Queries*/

@media(min-width: 992px) {
    .section-column {
        padding: 0 30px 30px;
        float: none;
        display: table-cell;
    }

    .center-form {
        padding-top: 30px;
        min-height: 240px;
        margin: 0 auto;
    }
}