* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif; 
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

main {
    background-color: black;
    flex: 1;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    color: white;
    position: relative;
    padding: 5px;
}

.logo {
    display: flex;
    flex-direction: row;
}

.logo img {
    height: 50px;
    padding-left: 25px;
}

.nav-links {
    display: flex;
}
.nav-links ul {
    display: flex;
    list-style: none;
}
  
.nav-links ul li {
    margin: 0 15px;
}
  
.nav-links ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s;
}
  
.nav-links ul li a:hover {
    color: #cc5d94;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
  
.hamburger span {
    height: 3px;
    width: 25px;
    background: white;
    margin: 4px 0;
    border-radius: 2px;
}

.btn {
    background-color: #cc5d94;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: bold;
    font-size: 12pt;
    border-radius: 5px;
    transition: 0.3s;
    float: inline-end;
    justify-content: space-between;
    width: 150px;
    height: 50px;
}

.btn:hover {
    background: #70a8c9;
}

.flex-container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    overflow: hidden;
    align-items: center;
}

.container-one,
.container-two {
  padding: 20px;
}

.container-one {
    display: flex;
    flex-direction: column;
    float: left;
    width: 70%;
    display: flex;
    background-color: #333;
    margin: 15px auto;
    gap: 40px;
    border-radius: 15px;
}

#featured {
    display: flex;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(assets/portfolio1.png) center/cover no-repeat;
    color: white;
    flex-direction: column;
    justify-content: flex-end;
    height: 80vh;
    width: 100%;
}

#featured h1, a{
    margin: 10px;
    width: 50%;
}

#featured p {
    font-size: 14pt;
    width: 100%;
    padding: 15px;
}

#suggested {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 130px;
    grid-template-rows: 250px;
}

#suggested .box{
    grid-column: span 1;
    background-color: #70a8c9a6;
    padding: 10px;
    margin: 10px;
    border-radius: 10px;
    color: white;
}

#suggested .box img {
    height: 20%;
    width: 20%;
}

#suggested .box a {
    text-decoration: underline;
    color: white;
    transition: 0.3s;
}

#suggested .box a:hover {
    text-decoration: underline;
    color: #cc5d94;
}

.container-two {
    display: flex;
    flex-direction: column;
    float: right;
    width: 25%;
    color: #ffffff;
    position: relative;
}

#about {
    text-align: center;
    margin: 0 auto;
    padding: 15px;
    position: fixed;
    top: 80px;
    width: 400px;
    flex-direction: column;
    background-color: #474747;
    border-radius: 15px;
}

#about h3{
    padding-top: 5px;
    font-weight: normal;
    font-size: medium;
}

#about h2 {
    color:#E9BAD0;
    font-weight: bolder;
}

#about img{
    width: 250px;
    padding-top: 25px;
    padding-bottom: 10px;
    border-radius: 50%;
}

.social-links a{
    display: inline-block;
    text-decoration: none;
    flex-wrap: nowrap;
    margin-top: 1rem;
    background-color: #cc5d94;
    font-weight: bold;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: 0.3s;
}

.social-links a:hover{
    background-color: #70a8c9;
}

#comment-section {
  margin: 20px auto;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  flex-wrap: nowrap;
  overflow: hidden;
}

#comments-list {
  margin-bottom: 20px;
}

.comment {
  background-color: #f9f9f9;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 3px;
}

#comment-form {
  display: flex;
  flex-direction: column;
}

#comment-text {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 3px;
  resize: vertical;
}

#comment-form button {
  padding: 10px 15px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  overflow: hidden;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 10px;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .nav-links ul {
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #333;
        display: none;
        z-index: 100;
      }
    
    .nav-links ul li {
        margin: 15px 0;
        text-align: center;
    }
    
    .nav-links ul.nav-active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    body {
        display: flex;
        flex-direction: column;
    }
    #suggested {
        grid-template-columns: repeat(1, 1fr);
    }

    .flex-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: auto;
        position: relative;
    }
    .container-two {
        display: flex;
        order: 1;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: auto;
        position: relative;
        margin: 0 auto;
    }
    .container-one {
        order: 2;
    }

    #about {
        position: relative;
        width: 100%;
        top: 30px;
    }

    #comment-section {
        max-height: 20%;
        overflow: hidden;
    }
}