@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,300;0,400;0,600;1,300&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Work Sans', sans-serif;
}

body {
    font-family: 'Work Sans', sans-serif;
    padding: 0;
    margin: 0;
    background-color: #1f242d;

}

/* ------ Text formats ------ */


h1 {
    text-align: center;
    font-weight: 800;
    margin: 0;
    letter-spacing: -1px;
    font-size: 48px;
    color: #efefef;
    padding-bottom: 10px;
}

h2 {
    text-align: center;
    font-size: 38px;
    margin: 0;
    font-weight: 300;
    color: #efefef;
    padding-bottom: 10px;


}

h3 {
    font-size: 28px;
    font-weight: 300;
    margin: 0;
    color: #efefef;
    padding-bottom: 0px;


}

p {
    font-size: 24px;
    font-weight: 300;
    margin: 0;
    color: #efefef;
    padding-bottom: 10px;


}


/* ------NAV BAR------ */
.line {
    border-bottom: 1px solid #5FFFE9; /* Adjust color as needed */
    margin-bottom: 20px; /* Adjust margin as needed */
}

nav {
    background-color: #111626;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: -webkit-sticky;
    position: sticky;
    z-index: 2000;
    height: 50px;
}

nav .nav-links {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    margin-right: 10px;
    height: 100%;
}

nav .nav-logo {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    width: 100px;
    margin-left: 10px;
}

.nav-text {
    color: #fff;
    text-decoration: none;
    margin: 0 1em;
    cursor: default;

}

.nav-links button {
    color: #fff;
    text-decoration: none;
    padding: 0.5em 3em;
    margin: 0;
    border: none;
}

nav a:hover {
    color: #5FFFE9;
}


/* ------ main content ------ */

.container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    padding: 100px 0;
}

.text-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-direction: column;
    padding: 20px 50px;
    background-color: #3A506B;
    border-radius: 10px;
    box-shadow: 20px 20px 10px 2px rgba(0, 0, 0, 0.38);
    margin: 0 20px;
}

.text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.blue {
    color: #5FFFE9;
}

span:hover {
    color: #5FFFE9;
}

.image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #3A506B;
    border-radius: 10px;
    box-shadow: 20px 20px 10px 2px rgba(0, 0, 0, 0.38);
    background-size: cover;
    background-repeat: no-repeat;
    width: 500px;
    margin: 0 20px;
}

.image-container img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.cv-download {
    display: flex;
    justify-content: center;
    align-items: center;

}

.raise:hover,
.raise:focus {
    box-shadow: 0 0.5em 0.5em -0.4em var(--hover);
    transform: translateY(-0.25em);
}


.raise {
    --color: #5FFFE9;
    --hover: #5FFFE9;
    background: none;
    border: 2px solid;
    font: inherit;
    line-height: 1;
    margin: 0.5em;
    padding: 1em 2em;
    color: var(--color);
    text-align: center;
    text-decoration: none;
    transition: 0.2s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.up:hover,
.up:focus {
    box-shadow: inset 0 -3.25em 0 0 var(--hover);
}

.up {
    --color: #5BC0BE;
    --hover: #5BC0BE;
    background: none;
    border: 2px solid;
    font: inherit;
    line-height: 1;
    margin: 0.5em;
    padding: 1em 2em;
    color: var(--color);
    text-align: center;
    text-decoration: none;
    transition: 0.2s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.buttons {
    background: none;
    border: 2px solid;
    font: inherit;
    line-height: 1;
    margin: 0.5em;
    padding: 1em 2em;
}

h1 {
    font-weight: 400;
}

code {
    color: #e4cb58;
    font: inherit;
}

.story-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #3A506B;
    border-radius: 10px;
    box-shadow: 20px 20px 10px 2px rgba(0, 0, 0, 0.38);
    padding: 20px 50px;
    width: 50%;
    margin: 0 20px;
    cursor: default;
}


.skills {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #3A506B;
    padding: 20px 50px;
    border-radius: 10px;
    box-shadow: 20px 20px 10px 2px rgba(0, 0, 0, 0.38);
    z-index: 10;
    margin: 0 20px;
    cursor: default;
}

.skill {
    margin-bottom: 20px;
}

.skill h2 {
    margin-bottom: 5px;
}

.skill-bar {
    background-color: #f0f0f0;
    border-radius: 5px;
    height: 20px;
    margin-top: 5px;
    overflow: hidden;
}

.skill-level {
    background-color: #4caf50;
    color: white;
    text-align: center;
    line-height: 20px;
    width: 0; /* Initial width set to 0 */
    transition: width 1s ease-in-out; /* Smooth transition for width changes */
}

/* Specific styles for each skill */
.skill-level.html {
    width: 75%; /* HTML skill level */
}

.skill-level.css {
    width: 60%; /* CSS skill level */
}

.skill-level.js {
    width: 50%; /* JavaScript skill level */
}

.skill-level.python {
    width: 40%; /* Python skill level */
}

.contacts-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #3A506B;
    border-radius: 10px;
    box-shadow: 20px 20px 10px 2px rgba(0, 0, 0, 0.38);
    padding: 20px 50px;
    margin: 0 20px;
    cursor: default;
}

.contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 20px 50px;
    margin: 0 20px;
    cursor: default;
}

.contact p {
    margin-bottom: 5px;
}

.contact i {
    margin-right: 10px;
}

.contact a {
    color: #ffffff;
    text-decoration: none;
}

.container-project {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 30px;
}

.container-project h1 {
    margin-bottom: 30px;
}

.container-project .text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 20px 50px;
    border-radius: 10px;
    box-shadow: 20px 20px 10px 2px rgba(0, 0, 0, 0.38);
    margin: 0 20px;
    cursor: default;
}

.text-container-project {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 20px 50px;
    margin: 20px 20px;

}

.project {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 20px 50px;
    background-color: #3A506B;
    border-radius: 10px;
    box-shadow: 20px 20px 10px 2px rgba(0, 0, 0, 0.38);
    margin: 20px 20px;
    cursor: default;
}

.project-img img {
    width: 400px;
    height: 300px;
}

button {
    background-color: #5FFFE9;
    color: #1f242d;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
    align-items: center;
}


