@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@400;500;600;700&display=swap');

:root {
    --color-body: #868e96;
    --color-heading: #343a40;
    --color-base: #dce2e6;
    /* --color-base2: #BD5D38; */
    --color-brand3: #824027;
    --color-brand2: #343a40;
    --color-brand: #BD5D38;
    --sidbar-width: 240px;
    --font-base: "Bai Jamjuree";
}

/* a {
    color: #BD5D38; }
    a:hover, a:focus, a:active {
      color: #824027; }
   */

body {
    background-color: var(--color-base2);
    color: var(--color-body);
    font-family: var(--font-base, sans-serif);
    padding-top: 54px;
    box-sizing: border-box;
}

h1, h2, h3, h4, h6 {
    font-family: 'Saira Extra Condensed', serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #343a40; 
}

h5 {
    text-transform: uppercase;
    font-weight: 500;
    font-family: 'Saira Extra Condensed', serif;
    font-size: 1.95rem; 
}

a {
    text-decoration: none;
    color: var(--color-brand);
    transition: all 0.4s ease;
}

.subheading {
    text-transform: uppercase;
    font-weight: 500;
    font-family: 'Saira Extra Condensed', serif;
    font-size: 1.35rem; 
}

.subheading-2 {
    font-weight: 500;
    font-family: 'Saira Extra Condensed', serif;
    font-size: 1rem; 
}

.heading-3 {
    font-size: 1.8rem;
    display: flex;
    justify-content: center;
    color: #fff;
}

.person {
    margin-bottom: 2.4rem;
}

a:hover {
    color: var(--color-brand3);
}

img {
    width: 100%;
}

.text-brand {
    color: var(--color-brand);
}

.bg-base {
    background-color: var(--color-base);
}

.full-height {
    min-height: 100vh;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 80px;
    padding-bottom: 80px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.shadow-effect {
    transition: all 0.5s;
}

.shadow-effect:hover {
    box-shadow: -6px 6px 0 var(--color-brand);
}

.iconbox {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background-color: var(--color-brand);
}

/* .test1 {
    margin: -300px;
}

.test2 {
    margin-top: 200px;
} */

/* NAVBAR */

.navbar {
    background-color: var(--color-brand);
}

.navbar .nav-link {
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
}

.navbar .nav-link:hover {
    color: var(--color-brand2)
}

.navbar .nav-link.active {
    font-size: 120%;
    color: #000;
}

@media (min-width: 992px) {
    .navbar {
        min-height: 100vh;
        width: var(--sidbar-width);
        background: linear-gradient(rgba(189, 93, 56, 0.8), rgba(189, 93, 56, 0.8)), url(../img/sidebar-gg-bridge2.jpg);
        background-size: cover;
        background-position: center;
    }

    .navbar-brand img {
        border: 4px solid #fff;
    }

    /* CONTENT WRAPPER */
    #content-wrapper {
        padding-left: var(--sidbar-width);
    }
}


.btn {
    padding: 12px 28px;
    font-weight: 700;
}

.btn-brand {
    background-color: var(--color-brand);
    border-color: var(--color-brand);
}

.btn-brand:hover,
.btn-brand:focus {
    background-color: var(--color-brand2);
    color: var(--color-base);
    border-color: var(--color-brand2);
}

.link-custom {
    font-weight: 700;
    position: relative;
}

.link-custom::after {
    content: "";
    width: 0%;
    height: 2px;
    background-color: var(--color-brand);
    position: absolute;
    left: 0;
    top: 110%;
    transition: all 0.4s;
}

.link-custom:hover::after {
    width: 100%;
}

/* CARD */
/* .card-custom .card-custom-image {
    position: relative;
}

.card-custom .card-custom-image img {
    transition: all 0.4s ease;
}

.card-custom:hover .card-custom-image img {
    transform: scale(1.1);
} */

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .col-md-4 {
    flex: 1 1 calc(33.333% - 20px); /* Ensure each .col-md-4 takes one-third width */
    max-width: calc(33.333% - 20px);
    box-sizing: border-box;
    margin: 24px 10px;
  }
  
  .card-custom {
    height: 100%;
  }
  
  /* .card-custom-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: inherit;
  } */

  .card-custom-image {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .card-custom-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
  }
  
  .card-custom-content {
    /* text-align: center; */
  }
  
  @media (max-width: 768px) {
    .card-custom {
      flex: 1 1 100%; /* Stacks cards on smaller screens */
      max-width: 100%;
    }
  }

/* SOCIAL ICONS */
.list-social-icons a {
    color: #495057; 
}

.list-social-icons a:hover {
    color: #BD5D38; }

.list-social-icons a .la-lg {
    font-size: 2.5rem; 
}

/* RESUME SECTIONS */

section.resume-section {

    border-bottom: 1px solid #dee2e6;
    padding-top: 5rem !important;
    padding-bottom: 5rem !important; 
    
}
  
section.resume-section .resume-item .resume-date {

    min-width: none; 

}
  
@media (min-width: 768px) {

    section.resume-section {
        min-height: 100vh; 
    }

    section.resume-section .resume-item .resume-date {
        min-width: 18rem; 
    } 

}
  
@media (min-width: 992px) {

    section.resume-section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    } 
    
}

/* .resume-date {
    justify-content: right;
} */

.text-primary {
    color: #BD5D38 !important; 
}


.list-icons {
    font-size: 3rem; 
    color: #495057;
}

.list-icons .list-inline-item a {
    text-decoration: none;
    color: #495057;
}

.list-icons .list-inline-item i:hover, .list-icons .list-inline-item a:hover {
    color: #BD5D38;
}

.list-inline-item {
    position: relative;
    display: inline-block;
}

.tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: -25%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.tooltip-text::after {
    content: "";
    position: absolute;
    top: -30%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #333 transparent;
}

.tooltip-text-azure {
    visibility: hidden;
    width: 120px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: -50%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.tooltip-text-azure::after {
    content: "";
    position: absolute;
    top: -20%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #333 transparent;
}

.list-inline-item:hover .tooltip-text, .list-inline-item:hover .tooltip-text-azure {
    visibility: visible;
    opacity: 1;
}
      
.photo-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.photo-container .box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.photo-container .box .dream{

    display: flex;
    flex-direction: column;
    width: 32.5%;
}

.photo-container .box .dream img{

    width: 100%;
    padding-bottom: 15px;
    border-radius: 5px;

}

.project-subsection {
    margin-bottom: 40px;
    padding: 20px;
    background-color: var(--color-base);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.project-iframe {
    width: 100%;
    height: 500px;
    border: none;
    margin-bottom: 20px;
}

.project-subsection h3 {
    font-family: 'Saira Extra Condensed', serif;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 10px;
}

.project-subsection p {
    font-size: 1.2rem;
    color: var(--color-body);
}

.video-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-brand);
    text-decoration: none;
    transition: color 0.3 ease;
}

.video-link:hover {
    color: var(--color-brand3);
}

.embed-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-brand);
    text-decoration: none;
    transition: color 0.3s ease;
}

.embed-link:hover {
    color: var(--color-brand3);
}

.project-git {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    padding-top: 56.25%;
}

.embed-responsive-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* The ratio class ensures responsiveness */
.ratio {
    width: 100%;
    height: auto;
}

/* Optional: If you need specific height control */
.project-subsection .ratio {
    max-width: 100%;
    max-height: 500px; /* Adjust the height as needed */
}

.embed-responsive-item {
    border: none;
}

/* Style for the collapsible dropdown link (make it look like the See More button) */
.embed-link {
    display: inline-block;
    background-color: var(--color-brand);
    color: white;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: 10px; /* Add space above the button */
    margin-right: 10px; /* Add space between the buttons */
}

.embed-link:hover {
    background-color: var(--color-brand3);
    color: white;
}

/* Style for the 'See Code' link (already styled as button) */
.code-link {
    display: inline-block;
    background-color: var(--color-brand);
    color: white;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: 10px; /* Add space above the button */
}

.code-link:hover {
    background-color: var(--color-brand3);
    color: white;
}
.project-subsection p {
    font-size: 1.25rem; /* Larger font size */
    font-weight: 500; /* Slightly bolder text */
    text-align: center;
    color: var(--color-brand); /* Use the primary brand color */
    line-height: 1.6; /* Improve readability with more line height */
    margin-top: 15px; /* Add space above the paragraph */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* Optional subtle shadow */
    letter-spacing: 0.5px; /* Slight spacing between letters */
}

@media (max-width: 768px) {
    .project-subsection p {
        font-size: 1.1rem; /* Slightly smaller on mobile */
    }
}

.highlighted-link {
    color: #ff5733; /* Change the color to make it stand out */
    font-weight: bold; /* Make the text bold */
    text-decoration: underline; /* Underline the text */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

.highlighted-link:hover {
    color: var(--color-brand3);
}

.hidden {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.visible {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.message {
    position: absolute;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    margin-left: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.gitlet-button {
    background-color: #231b1b7d;
}

.gitlet-button:hover {
    background-color: #433d3d7e;
    color: white;
}

footer {
    background-color: #b1b1b8;
    padding: 5px 0;
    text-align: center;
}

footer p {
    margin: 0;
    color: #1d1f21;
}

.button-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left-buttons {
    gap: 0px;
}

.button-container .embed-link,
.button-container .link-custom {
    margin-top: 10px;
}

.try-out-text::after {
    content: " \25bc";
}

.see-website-text::after {
    content: " ⤴";
}

.card-link {
    text-decoration: none;
    color: inherit;
}

.card-link:hover {
    color: inherit; /* Prevent color change on hover */
  }
