@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cedarville+Cursive&family=Space+Grotesk:wght@300..700&display=swap');
@import "https://www.nerdfonts.com/assets/css/webfont.css";

.header {
    color: #333;
    font-family: "Cedarville Cursive", sans-serif;
    font-size: xx-large;
    margin-top: 15px;
    width:100vw;
    height:100vh;
    text-align: center;
}

html {
    scroll-behavior: smooth;
}

.name-container{
    display: flex;
    align-items: center;
    margin: 10px;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.6;
    margin: 0;
    background: #2e3440;
    color: #d8dee9;
}

.bg-image {
    background-image: url("../assets/street_blues.png");
    z-index: -1;
    position: fixed;
    width:100vw;
    height:100vh;
    display: flex;
    margin-top: -50px;
}


.card-container {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping to the next line if necessary */
    gap: 10px; /* Space between cards */
    justify-content: center; /* Center the cards */
}

.card {
    background: #4c566a;
    color: #e5e9f0;
    padding: 10px;
    margin: 10px;
    border-radius: 5px;
    box-shadow: 10px 5px 5px #3b4252;
    display: inline-block;
    width: 200px; /* Set a fixed width */
    height: 250px; /* Set a fixed height to make it square */
    box-sizing: border-box; /* Ensure padding and border are included in the width and height */
    overflow: hidden; /* Hide overflow content */
    text-overflow: ellipsis; /* Add ellipsis (...) for overflow text */
    word-wrap: break-word; /* Break long words */
}

.projects{
    align-items: center;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    gap: 5%;
}

.project-card {
    background: #4c566a;
    color: #e5e9f0;
    padding: 10px;
    margin-bottom: 5%;
    border-radius: 5px;
    display: inline-block;
    width: 40%;
    height:min-content;
    box-shadow: 10px 5px 5px #3b4252;
    box-sizing: border-box; /* Ensure padding and border are included in the width and height */
    overflow: hidden; /* Hide overflow content */
    text-overflow: ellipsis; /* Add ellipsis (...) for overflow text */
    word-wrap: break-word; /* Break long words */
}

.project-button {
    background: #bf616a;
    color: #eceff4;
    border-radius: 5px;
    border: none;
    font-size: medium;
    font-family: 'Space Grotesk', sans-serif;
    width: 70px;
    height: 40px;
    float: right;
}

.project-button:hover {
    width: 70px;
    height: 40px;
    background: #d08770;
}

.heading {
    font-size: 4em;
    font-family: 'Cedarville Cursive', cursive;
    text-align: center;
    margin: 10px;
    color: #d8dee9;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.about-header {
    font-family: "Space Grotesk", sans-serif;
}

#quote-container {
    font-size:medium;
    color: #e5e9f0;
    font-family: "Space Grotesk", sans-serif;
    position: absolute;
    bottom: 0; /* Align to the bottom */
    right: 0; /* Align to the right */
    margin: 10px; /* Add some margin if needed */
    width: 550px;
    height: 200px;
}

.quick-access {
    font-family: "Space Grotesk", sans-serif;
    font-size: x-large;
    color: #2e3440;
    margin: 0px;
    text-decoration: none;
}

.quick-access-container {
    top: 0;
    right: 0;
    position: absolute;
    margin-right: 10px;
}

.lang {
    font-family: "Space Grotesk", sans-serif;
    font-size: large;
    color: #e5e9f0;
    float: right;
    position: relative;
    margin-top:4% ;
}

.footer {
    font-family: "Space Grotesk", sans-serif;
    font-size: medium;
    color: #e5e9f0;
    background-color: #2e3440;
    margin-bottom: -5%;
}

.top-button {
    float:right;
    position: relative;
    margin-right: 1%;
}