/* Reset */
html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

/* Links */
.links {
    position: absolute;
    z-index: 2;
    top: 45vh;
    left: 2vw;
}

.links a {
    display: block;
    margin-bottom: 1vh;
    font-size: 2.5vh;
    color: black;
    text-decoration: none;
    position: relative;
    padding-left: 20px;
    transition: padding-left 0.3s ease, color 0.3s ease;
}

.links a:hover {
    padding-left: 30px;
}

/* Quotes */
.quote1, .quote2 {
    writing-mode: vertical-lr;
    text-orientation: upright;
    font-size: 5vh;
    font-family: Courier, monospace;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    animation: typing 2s steps(10);
    z-index: 2;
}

.quote1 {
    border-right: 5px solid;
    width: 50%;
}

.quote2 {
    width: 50%;
}

/* Text blocks */
.firstHalf, .secondHalf, .thirdHalf, .fourthHalf, .fifthHalf {
    color: white;
    font-size: 2vh;
    font-family: Courier, monospace;
    letter-spacing: 1px;
    width: 120%;
    white-space: nowrap;
    overflow: hidden;
    animation: typing 2s steps(10);
    margin-bottom: 1.5em;
}

/* Flex containers */
.flex-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: absolute;
    top: 43%;
    right: -7%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.flex-container1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    column-gap: 20px;
    max-width: 800px;
    position: absolute;
    top: 41%;
    left: 28%;
    z-index: 2;
}

/* Line containers */
.line-container, .line-containerP {
    display: flex;
    height: 100%;
    align-items: stretch;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.line-containerP {
    height: 175%;
}

.line {
    width: 0.1px;
    background-color: black;
    margin: 0 190px;
    z-index: 1;
}

/* Background */
.backgroundSquare, .backgroundSquareP {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #e2e1dd;
    z-index: 0;
}

.backgroundSquare {
    height: 100%;
}

.backgroundSquareP {
    height: 175%;
}

/* Image masks */
.img-square {
    position: absolute;
    background-color: #2d2d2d;
    z-index: 2;
    -webkit-mask-image: url("images/grit.png");
    mask-image: url("images/grit.png");
    background-size: cover;
}

.is1 {
    top: 36%;
    left: 27.5%;
    width: 25%;
    height: 34%;
}

.is2 {
    top: 18.5%;
    right: 0%;
    width: 17.5%;
    height: 57%;
}

.is3 {
    top: 25%;
    right: 15%;
    width: 30%;
    height: 45%;
}

.is4 {
    top: 100%;
    left: 15%;
    width: 30%;
    height: 45%;
}

.is5 {
    top: 175%;
    right: 15%;
    width: 30%;
    height: 45%;
}

/* Text blocks */
.Fainda {
    position: absolute;
    font-family: "Arial Black", monospace;
    font-size: 4vh;
    text-align: center;
    color: white;
    top: 30%;
    right: 20%;
    z-index: 2;
}

.Fainda1 {
    position: absolute;
    font-size: 2.1vh;
    font-family: "Times New Roman", monospace;
    text-align: center;
    color: white;
    top: 44%;
    right: 21%;
    z-index: 2;
}

.PortfolioImgP {
    position: absolute;
    font-family: "Arial Black", monospace;
    font-size: 4vh;
    text-align: center;
    color: white;
    top: 102%;
    left: 17.5%;
    z-index: 2;
}

.PortfolioText1, .PortfolioText2 {
    position: absolute;
    text-align: center;
    padding: 10px;
    width: 21%;
    z-index: 2;
}

.PortfolioText1 {
    top: 32%;
    left: 25%;
}

.PortfolioText2 {
    top: 105%;
    right: 25%;
}

.PTA1 {
    text-decoration: none;
    font-size: 4vh;
    font-family: "Arial Black", monospace;
    text-align: center;
    color: black;
}

.FaindaImg, .PortfolioImg1 {
    position: absolute;
    padding: 10px;
    z-index: 2;
    width: 21%;
}

.FaindaImg {
    top: 52%;
    right: 19%;
}

.PortfolioImg1 {
    width: 28%;
    top: 115%;
    left: 15.5%;
}

.PortfolioPara {
    font-size: 2.1vh;
    font-family: "Times New Roman", monospace;
    text-align: center;
    color: black;
}

/* Header and title */
.img-header {
    position: absolute;
    top: 50px;
    left: 15px;
    transform: translate(0, -50%);
    display: flex;
    align-items: center;
    z-index: 2;
}

.containerT {
    display: inline-block;
    position: absolute;
    top: 30%;
    left: 29%;
    transform: translate(0, -50%);
    align-items: center;
    z-index: 2;
}

.title {
    font-size: 2.5vw;
    font-family: Shobhika, monospace;
    overflow: hidden;
    letter-spacing: 7px;
    border-right: 5px solid;
    white-space: nowrap;
    z-index: 2;
    animation: typing 2s steps(11), cursor .4s step-end infinite alternate;
}

/* Animations */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes cursor {
    from, to { border-color: transparent; }
    50% { border-color: #000; }
}

/* Barcode and socials */
.barcode {
    position: absolute;
    height: 10%;
    bottom: 0%;
    right: 29%;
    display: flex;
    align-items: center;
    z-index: 2;
}

.logo {
    width: 75px;
    height: 75px;
    z-index: 2;
}

.socials {
    position: absolute;
    text-align: center;
    bottom: 2%;
    left: 32%;
    z-index: 2;
}

.counter {
    top: 13%;
    right: 28%;
    transform: translate(0, -50%);
    display: flex;
    align-items: center;
    font-family: Ayuthaya, Times, serif;
    position: absolute;
    font-size: 3vh;
    z-index: 2;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .quote1, .quote2 {
        font-size: 3vh;
    }
    .title {
        font-size: 5vw;
    }
    .links {
        top: 5vh;
    }
    .PortfolioText1, .PortfolioText2, .FaindaImg, .PortfolioImg1 {
        width: 80%;
        left: 10% !important;
        right: auto !important;
    }
    .flex-container, .flex-container1 {
        flex-direction: column;
        align-items: center;
    }
}

.about-section {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .profile-photo {
    width: 220px;
    border-radius: 12px;
    border: 3px solid #444;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
  }
  
  .bio-text {
    font-size: 17px;
    line-height: 1.75;
    color: #333;
    text-align: left;
    padding: 0 10px;
  }
  
  .bio-text p {
    margin-bottom: 18px;
  }
  
  .bio-text strong {
    color: #0d6efd; /* Optional: brand or accent color */
  }
  
  /* Optional: responsive improvements */
  @media (max-width: 600px) {
    .profile-photo {
      width: 160px;
    }
  
    .bio-text {
      font-size: 16px;
      text-align: center;
    }
  }
  
