
html { scroll-behavior:smooth; }  body {
background-color: black;
padding: 20px;
}

h1 {
color: white;
font-size: 60px;
max-width: 500px;
margin: 10 auto;
padding: 10 auto;
font-family: Trebuchet MS, sans-serif;
}

h2 {
background-color: none;
color: white;
font-family: Georgia;
font-size: 30px;
padding: 10px auto;
margin: 10px auto;

}

p {
color: white;
padding: 0px;
margin: 0px;
}

h3 {
color: white;
}

.options ul {
color: black;
display: flex;
gap: 70px;
list-style: none;
background-color: white;
justify-content: space-around;
padding: 10px;
margin: 30px;
border: black;
border-radius: 20px;
font-family: 'Poppins', sans-serif;
font-weight: 700;
font-size: 1.05rem;
letter-spacing: 0.5px;
text-transform: uppercase;

}

ul a {
color: black;
border: black 2px;
border-radius: 10px;
text-decoration: none;
}

.description {
max-width: 500px;
margin: 10 auto;
}

img {
width: 200px;
height: 200px;
object-fit: cover;
border-radius: 10px;
margin-left: 600px;
margin-top: -500px;
background-color: white;
}

.social a {
text-decoration: none;
color: white;
font-family: revert-layer, ;
margin: 100px;
}

.skills ul {
color: white;
font-family: Arial, sans-serif;
text-decoration: none;
text-shadow: darkblue;
}

a:hover {
color: blue;
}

nav a.active {
color: #0a1a3f;
border-bottom: 2px solid #1e40af;
}

.project-image img {
max-width: 250px;
padding: 10px;
margin: 10px;
background-color: none;
}

.project-titel h3 {
max-width: 250px;
margin-left: 10px;
background-color: black;
border-color: white;
}

.project-description p {
max-width: 250px;
color: black;
}

.button-links a {
max-width: 250px;
text-decoration: none;
display: flex;
}

button {
background-color: white;
color: black;
padding: 2px;
border-bottom: white;
border-radius: 10px;
font-size: 17px;
max-width: 230px;
}

.projects {
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: stretch;
gap: 20px;
flex-wrap: wrap;
transition: 0.3s ease;
}

.project-1, .project-2, .project-3 {
display: flex;
flex-direction: column;
width: 280px;
flex-shrink: 0;
padding: 15px;
background-color: #252525;
border-radius: 12px;
gap: 12px;
transition: 0.3s ease;
}

.project-1:hover, .project-2:hover, .project-3:hover {
transform: translateY(-10px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* ============================= /
/       RESPONSIVE DESIGN       /
/ ============================= */

/* Tablets */
@media (max-width: 900px) {

body {  
    padding: 15px;  
}  

.options ul {  
    gap: 20px;  
    margin: 20px 0;  
    flex-wrap: wrap;  
    justify-content: center;  
}  

img {  
    margin-left: 0;  
    margin-top: 20px;  
    max-width: 100%;  
}  

.social a {  
    margin: 15px;  
}  

.projects {  
    justify-content: center;  
}

}

/* Mobile phones */
@media (max-width: 600px) {

body {  
    padding: 12px;  
    overflow-x: hidden;  
}  

/* Navigation */  

.options ul {  
    display: flex;  
    flex-wrap: wrap;  
    justify-content: center;  
    gap: 15px;  
    padding: 15px 8px;  
    margin: 10px 0 25px;  
    font-size: 13px;  
}  

/* Headings */  

h1 {  
    font-size: 36px;  
    max-width: 100%;  
    margin: 15px 0;  
    padding: 5px 0;  
}  

h2 {  
    font-size: 23px;  
    margin: 10px 0;  
}  

h3 {  
    font-size: 19px;  
}  

/* Profile image */  

body > img {  
    display: block;  
    width: 170px;  
    height: 170px;  
    margin: 20px auto;  
}  

/* Paragraphs */  

p,  
.description {  
    max-width: 100%;  
    font-size: 15px;  
    line-height: 1.7;  
    margin: 10px 0;  
}  

/* Social links */  

.social {  
    display: flex;  
    flex-wrap: wrap;  
    gap: 15px;  
}  

.social a {  
    margin: 5px;  
    font-size: 14px;  
}  

/* Projects */  

.projects {  
    flex-direction: column;  
    align-items: center;  
    gap: 25px;  
}  

.project-1,  
.project-2,  
.project-3 {  
    box-sizing: border-box;  
    width: 100%;  
    max-width: 350px;  
    min-width: 0;  
}  

.project-image img {  
    display: block;  
    width: 100%;  
    max-width: 100%;  
    height: 190px;  
    box-sizing: border-box;  
    margin: 0;  
    object-fit: cover;  
}  

.project-titel h3,  
.project-description p {  
    max-width: 100%;  
    margin-left: 0;  
}  

/* Project buttons */  

.button-links {  
    display: flex;  
    flex-direction: column;  
    gap: 10px;  
}  

button {  
    max-width: 100%;  
    width: 100%;  
    padding: 10px;  
    font-size: 14px;  
}  

.button-links a {  
    justify-content: center;  
    text-align: center;  
}  

/* Skills */  

.skills ul {  
    padding-left: 20px;  
}  

/* Contact */  

#contact + h2,  
#contact ~ p {  
    max-width: 100%;  
}

}