/* styles.css */

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

body {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #f0f0f0;
    background-color: #222;
}

a {
    color: hotpink;
  }

a:visited {
    color: green;
}

ul {
    list-style-type: none;
}

.fas {
    width: 30px;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: #333;
    padding: 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

button {
    background-color: transparent;
    border-width: 0px;
    border-style: none;
    border-color: none;
    border-image: none;
}

nav h1 {
    color: #f0f0f0;
    font-size: 28px;
}

nav ul {
    display: flex;
    list-style-type: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #f0f0f0;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
}

nav ul li a:hover {
    color: #00e676;
    background-color: rgba(255, 255, 255, 0.1);
}

main {
    padding: 40px 20px;
}

.intro,
.about,
.experience {
    margin-bottom: 40px;
}

.intro h2,
.about h2,
.experience h2 {
    color: #00e676;
    font-size: 24px;
    margin-bottom: 20px;
}

img.profile-picture {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.skill-container {
    display: flex;
    padding: 10px;
}

.skill-flex {
    flex: 1;
    padding-left: 20px;
    float: left;
}  

footer {
    background-color: #333;
    padding: 20px;
    text-align: center;
}

footer a {
    color: #00e676;
    text-decoration: none;
}

footer a:hover {
    color: #f0f0f0;
}

/* Responsive menu styles */
@media screen and (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #333;
        text-align: center;
    }
    
    nav ul li {
        margin: 0;
        padding: 10px 0;
    }
    
    nav ul li a {
        display: block;
        padding: 0 20px;
    }
    
    .menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 24px;
    }

    .skill-container {
        flex-direction: column;
    }  
}