/* Tag global untuk font */
h1 {
    /* font-size: 56px; */
    font-size: 48px;
    font-weight: 100;
}
h2 {
    font-size: 32px;
    /* padding-bottom: 16px; */
    font-weight: normal;
    transition: transform 0.6s ease; /* Transisi untuk transformasi */
}
h2:hover {
    transform: scale(1.2); /* Memperbesar ukuran h2 menjadi 2 kali lipat */
}
h3 {
    font-weight: bold;
}
h4 {
    font-size: 16px;
    font-weight: bold;
}
p.large {
    font-size: 24px;
}
p {
    font-size: 16px;
    font-style: normal;
}

/* Tag global utk button */
.btn-primary {
    /* background-color: #007bff; */
    background-color: #0072f0;
    padding: 12px 40px;
    text-decoration: none;
    font-size: 16px;
    color: white;
    text-align: center;
    display: inline-block;
    border-radius: 5px;
    transition: transform 0.3s ease;
}
.btn-secondary {
    background-color: #f4f4f4;
    padding: 12px 40px;
    text-decoration: none;
    font-size: 16px;
    color: black;
    text-align: center;
    display: inline-block;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.btn-primary:hover{
    /* background-color: #0056b3; */
    background-color: #007bff;
    transform: scale(1.1);
}
.btn-secondary:hover{
    background-color: #d5d5d5;
    transform: scale(1.1);
}

/* Tag global utk body, navbar, & footer */
html{
    scroll-behavior: smooth;
}
body{
    font-family: "Poppins", sans-serif;
    padding: 0px;
    margin: 0px;
    text-decoration: none;
}
.container-fluid{
    width: auto;
    height: auto;
    margin: auto;
    position: relative;
}
/* navbar */
nav {
    width: 100%;
    height: 64px;
    background: #fff;
    /* background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px); */
    border-bottom: 1px solid #f4f4f4;
    position: fixed;
    z-index: 999;
}

.logo img {
    width: auto;
    height: 64px;
    float: left;
    margin-left: 10%;
}

nav ul {
    float: right;
    padding-inline: 64px;
    margin: auto;
}

nav ul li {
    display: inline-block;
    line-height: 64px;
    margin: 0 5px;
}

nav ul li a {
    color: #0072f0;
    text-align: center;
    padding: 12px 16px;
    text-decoration: none;
    font-size: 16px;
}

a:hover {
    background-color: #f4f4f4;
    transition: .5s;
}

.checkbtn {
    font-size: 30px;
    color: #0072f0;
    float: right;
    line-height: 64px;
    margin-right: 8%;
    cursor: pointer;
    display: none;
}
#check {
    display: none;
}
/* Styling the dropdown menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown:hover {
    display: block;
}

.dropbtn {
    background-color: transparent;
    text-decoration: none;
    color: #0072f0;
    /* padding: 10px 15px; */
    border: none;
    font-size: 16px;
    cursor: pointer;
    overflow: hidden;
}

.dropbtn:hover {
    text-decoration: none;
    background-color: #f4f4f4;
}

/* ========================================== */
.home{
    width: 100%;
    position: relative;
    align-items: center;
    text-align: center;
    overflow: hidden;
    height: 720px;
}
.hero{
    width: 100%;
    position: relative;
    align-items: center;
    text-align: center;
    overflow: hidden;
    height: 508px;
}
.bg-home{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 720px;
    background-size: cover;
    background-repeat: space;
    background-attachment: fixed;
    background-position: center;
    z-index: -1;
}
.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
}
.content-hero{
    display: flex;
    text-align: left;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    /* gap: 4%; */
    color: white;
    margin-top: 65px;
    padding: 64px;
}
.ilustrasi{
    height: 500px;
}
.content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    margin: auto;
    display: flex;
    flex-direction: column;
    color: white;
    margin-top: 65px;
    padding: 56px;
}
/* logo KM-Revou */
#logo-hero {
    position: relative;
    text-align: right;
    padding: 32px 64px;
}
#logo-hero img {
    margin-left: 24px;
    height: 56px;
}
.logoutama{
    position: relative;
    margin: auto;
    padding: 64px;
}
.logoutama img{
    height: 56px;
    margin-right: 24px;
}

/* ==== container ==== */
.title-capstone1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding: 64px 64px 24px;
    margin: auto;
    font-weight: bolder;
}
    

.title-capstone2 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding: 16px 64px;
    margin: auto;
}

.container-overview {
    overflow: hidden;
    align-items: center;
    padding: 56px;
    margin: auto;
}    

.overview {
    flex: 1;
    padding: 64px;
    text-align: justify;
}

.container-analysis {
    position: relative;
    align-items: center;
    margin: auto;
    overflow: hidden;
    height: auto;
    padding: 56px;
}

.analysis {
    flex: 1; 
    color: white;
    padding: 56px;
    text-align: justify;
}

.container-teams,
.container-technology,
.container-acknowledgement,
.container-supportby {
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
    padding: 64px; 
    width: auto;
}

.container-teams h2,
.container-technology h2,
.container-acknowledgement h2,
.container-supportby h2,
.container-technology .technology {
    padding: 24px 0px;
    margin: auto;
    justify-content: center;
}
.container-teams p{
    text-align: center;
}

.container-acknowledgement p,
.container-teams p {
    max-width: 1300px;
}

.flex-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.flex-container > div {
    margin: 2px;
    padding: 4px;
    transition: transform 0.3s ease; 
}
.flex-container > div:hover {
    transform: scale(1.1);
}

.flex-container2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    /* display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto; */
    /* gap: 8px; */
}
.flex-container2 > div {
    margin: 2px;
    padding: 16px;
    transition: transform 0.3s ease;
}

/* =======  Filter Section Team ======= */
.dropdown2 {
    width: 100%;
    height: 56px;
    max-width: 620px; /* Atur lebar maksimum sesuai kebutuhan */
    display: flex;
    justify-content: center;
    margin: 20px 0;
    border-radius: 30px;
    background: #f4f4f4;
    box-shadow: 0 0 10px rgba(151, 149, 149, 0.2);
    align-items: center;
}

.filter-btn {
    background: inherit;
    border: none;
    padding: 10px;
    margin: 0 5px;
    border-radius: 20px;
    cursor: pointer;
    width: 296px;
    height: 44px;
    color: black;
    /* transition: background-color 0.3s ease; */
}
.filter-btn i {
    font-size: 16px;
    color: inherit;
    margin-right: 8px;
}
.filter-btn.selected{
    background: #fff;
    color: #0072f0;
    transition: ease-in-out .5s;
}
/* === tampilan foto anggota === */
.tampilan {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(100%);
}

#tampilan1 {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.foto-container {
    text-align: center;
    margin: 10px;
    padding: 0px 16px;
    transition: transform 0.3s ease; /* Tambahkan transisi untuk transform */
}

.foto-container:hover {
    transform: scale(1.1); /* Membesarkan elemen saat dihover */
}

.foto-container img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

.caption {
    margin-bottom: 5px;
}

.additional-text {
    color: #0072f0;
    margin-top: 5px;
    font-size: smaller;
}
/* ==== gambar section technology ==== */
.technology img {
    height: 64px;
    width: 64px;
}
 
.img-thumbnail {
    width: 88px;
    height: 88px;
    /* margin: 10px; */
    margin: auto;
    padding: 24px; 
    border: none;
}

.line{
    width: 88px;
    height: 0.25rem;
    background: #0072f0;
    border-radius: 1rem;
    margin-bottom: 0.5rem;
    transition: width 0.6s ease;
}
.line:hover{
    width: 264px;
}
/*================================*/
.form-section {
    height: 100vh;
    padding: 5%; 
    background-image: linear-gradient(to right , white, white, rgb(0, 114, 240, 0.6));
    align-items: center;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12%;
}

.suggestion-box {
    /* grid-column: span 6; */
    justify-content: center;
    background-color: #fff;
    padding: 10%;
    margin: auto;
    border: 1px solid #f4f4f4; 
    border-radius: 30px;
    box-shadow: 0 0 10px rgba(151, 149, 149, 0.2);
    width: 80%;
    /* height: 70vh; */
    height: fit-content;
}

.suggestion-box h3{
    margin: auto;
    font-weight: bold;
    padding: 24px 0px;
}

.form-group input,
.form-group textarea {
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #007bff;
    outline: none;
}

.form-group {
    padding-bottom: 20px;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

textarea {
    height: 100px;
}

::placeholder{
    font-family: "Poppins", sans-serif;
}

button {
    cursor: pointer;
    width: 100%;
    font-family: inherit;
    border: none;
}
/* tampilan setelah submit */
#thanks-feedback {
    display: none;
}

/*thanks form*/
.thanks-form {
    text-align: center; /* center the content horizontally */
}

.thanks-form h2,
.thanks-form h5,
.thanks-form h4 {
    display: inline-block; /* make the elements inline-block to center them */
    margin:  20px; /* add margin to center the elements */
    
}

/* ========================================== */
footer {
    background-image: linear-gradient(white , #f4f4f4);
    width: auto;
    font-size: 16px;
    box-shadow: 0 0 10px rgba(213, 213, 213, 0.2);
}
  
.row {
    padding: 4%;
}
  
.row.primary {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-items: space-around;
}

.row.secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4%;
}
  
.column {
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 1em;
}

.column img {
    width: 200px;
    height: auto;
}
  
.footer-text {
    width: 100%;
    text-align: left;
    white-space: nowrap;
    margin-bottom: 1rem;
    font-style: italic;
}
  
.column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
}
  
.column li:not(:first-child) {
    margin-top: 0.8em;
}
  
.column ul li a {
    color: black;
    text-decoration: none;
    width: auto;
}
  
.column ul li a:hover {
    color: #0072f0;
}
  
div.social {
    display: flex;
    font-size: 32px;
    flex-direction: row;
    margin-top: 1.5rem;
}
  
.social i {
    color: black;
    margin-right: 0.8rem;
    margin-left: 0.8rem;
}

.social i:hover {
    color: #0072f0;
}
  
.copyright {
    background-color: rgba(213, 213, 213, 0.2);
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
}
  
.copyright p {
    font-size: 12px;
    margin: 8px;
}
  
.copyright a {
    font-weight: bold;
    color: black;
    font-style: italic;
    text-decoration: none;
}
  
.copyright a:hover {
    color: #0072f0;
}
/* ========================================== */
/* Media Screen */
@media screen and (min-width: 1500px) {
    /* feedback form */
    .form-section {
        height: 60vh;
        padding: 72px; 
    }
    .form-section-right{
        padding-left: 20%;
    }
    .suggestion-box {
        padding: 8%;
        width: 50%;
        /* height: 70vh; */
        max-height: fit-content;
    }

    /* analysis overview */
    .container-analysis{
        height: 600px;
    }
    /* project overview */
    .container-overview{
        align-items: center;
        padding: 56px;
        margin: 56px;
        height: 400px;
    }
}

@media screen and (min-width: 2560px){
    .suggestion-box {
        width: 40%;
    }
}
/* @media screen and (max-width: 1024px){
    .hero1{
        flex-shrink: 2;
    }
    .hero2{
        flex-shrink: 1;
    }
} */
@media screen and (max-width: 920px) {
    /* navbar */
    .checkbtn {
        display: block;
    }
    nav {
        top: 0;
    }

    nav ul {
        position: fixed;
        width: 100%;
        height: fit-content;
        background: #fff;
        top: 100%;
        /* left: 100%; */
        transition: all .5s;
        z-index: 999;
    }

    nav ul li {
        display: block;
        margin: auto;
        padding: 24px 0 16px 0;
        line-height: 30px;
        z-index: 999;
    }

    nav ul li a {
        font-size: 16px;
        /* padding: 16px 72px 16px 24px; */
    }

    a:active{
        background: #0072f0;
        color: #fff;
    }

    a:hover {
        background: #f4f4f4;
        color: #0072f0;
    }

    #check:checked~ul {
        top: 65px;
    }

    /* body */
    .overview, .analysis {
        flex: auto;
        padding: 16px;
    }

    .form-section{
        gap: 4%;
    }

    /* form-feedback */
    .form-section {
        height: fit-content;
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .form-section-right{
        margin: auto;
        max-width: 500px;
        text-align: center;
    }
    .suggestion-box {
        justify-content: center;
        background-color: #fff;
        padding: 5%;
        /* width: 60vh; */
        /* height: 70vh; */
        height: fit-content;
       
    }
    
    .suggestion-box h3{
        padding: 16px 0px;
    }
    .form-group{
        padding-bottom: 4%;
    }
    /* footer */
    footer {
        font-size: 14px;
    }
    .column img {
        width: 150px;
        height: auto;
    }
    div.social {
        font-size: 24px;
    }
}
/* @media (max-width: 768px) */
@media (max-width: 860px) {
    .hero, .home{
        height: auto;
    }
    .title-capstone1, .title-capstone2{
        padding: 16px 40px;
    }
    .content-hero{
        padding: 32px 48px;
        gap: 0px;
    }
    .ilustrasi{
        height: 350px;
        /* transform: scale(0.7); */
    }
    .logoutama {
        padding: 48px;
    }
    .logoutama img,
    #logo-hero img {
        height: 48px;
        /* margin-right: 24px; */
    }
}
@media screen and (max-width: 670px){
    .ilustrasi{
        height: 250px;
    }
    /* h1 {
        font-size: 32px;
    } */
    .container-teams, .container-technology, .container-acknowledgement, .container-supportby{
        padding: 32px;
    }
    .flex-container2 > div {
        padding: 8px;
    }
    .foto-container img {
        width: 100px;
        height: 100px;
    }
    .caption, .additional-text{
        font-size: smaller;
    }
    .img-thumbnail {
        width: 70px;
        height: 70px;
    }
}

@media screen and (max-width: 560px){
    /* footer */
    .row.primary {
        grid-template-columns: 1fr;
        grid-gap: 0rem;
        display: flex;
        flex-direction: column;
    }
    .column{
        padding: 24px 0px;
    }
    .analysis h2 {
        text-align: left;
    }
    .container-acknowledgement p {
        text-align: justify;
    }
}
@media screen and (max-width: 540px) {
    .logoutama {
        padding: 16px 40px;
    }
    .logoutama img{
        height: 40px;
        margin-right: 16px;
    }
    .content-hero{
        align-items: flex-end;
        flex-direction: column;
        padding: 32px;
    }
}
@media screen and (max-width: 425px){
    .container-overview, .container-analysis, .container-teams, 
    .container-technology, .container-acknowledgement, .container-supportby{
        padding: 24px;
    }
    .overview, .analysis{
        padding: 8px;
    }
    .container-teams p {
        text-align: justify;
    }
    .foto-container{
        width: 130px;
    }
    .foto-container p {
        text-align: center;
    }
    .btn-secondary,
    .btn-primary {
        padding: 12px 32px;
    }
}
@media screen and (max-width: 375px){
    .title-capstone1, .title-capstone2{
        padding: 16px 24px;
    }
    .logoutama {
        padding: 16px 24px;
    }
    .ilustrasi {
        height: 200px;
    }
}
@media screen and (max-width: 320px) {
    .title-capstone1, .title-capstone2 {
        padding: 8px 16px;
    }
    .foto-container {
        width: 100px;
    }
    .content-hero, .container-overview, .container-analysis, .container-teams, 
    .container-technology, .container-acknowledgement, .container-supportby{
        padding: 16px;
    }
}