@charset "utf-8";

body {
        font-family: 'Arson Pro', sans-serif;
        padding: 0px;
        margin: 0px;
    }
    
    .container {
        width: 100%;
        margin: 0 auto;
    }

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    flex: 1;
}

.header {
    display: flex; 
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 0,5rem 1rem;
}

.navbar {
  display: flex;
  flex-wrap: wrap;
}

nav {
    display: flex;
    flex: 1;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

nav a {
    text-decoration: none;
    font-weight: 700;
    color: black;
	margin: 20px;
}

nav a:hover {
    color: darkgrey;
    border-bottom: 0.5px solid #000000;
    text-align: center;
    transition: 0.3s;
}

.button {
    background-color: #13065E; 
    color: white;
    font-family: "Arson Pro", sans-serif;
    font-weight: 700;
    transition: 0.3s ease;
    padding: 20px;
    font-size: 13pt;
    border: none;
    margin-left: 15px;
}

button:hover {
    background-color: #7AA1EC;
}

/* Dropdown styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    padding: 16px;
    text-decoration: none;
    color: inherit;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #FFFFFF;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.footer-top {
    background-color: #13065e;
    color: white;
    padding: 30px 20px;
    font-family: 'Arson Pro', sans-serif;
}

.footeredit {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.footer-left {
    width: 20%;
}

.footer-right {
    width: 50%;
}

.footer-left h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.footer-left h2 {
    font-size: 1rem;
    margin-bottom: 20px;
}

.alamat p {
    line-height: 1.5;
    margin-bottom: 25px;
    font-size: 1rem;
}

.footerbutton {
    padding: 12px 30px;
    font-family: 'Arson Pro', sans-serif;
    font-size: 1rem; 
    font-weight: 600;
    background-color: #2da127; 
    border: none; 
    color: #FFFFFF;
    cursor: pointer;
    transition: background-color 0.3s;
}

.footerbutton:hover {
    background-color: #525552;
}

.footer-right h3 {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
    font-size: 1rem;
    position: relative;
    padding-left: 20px;
}

.footer-links li:before {
    content: "•";
    color: #2da127;
    position: absolute;
    left: 0;
}

.footer {
    padding: 40px;
    background-color: #000000;
    color: #FFFFFF;
    text-align: center;
    font-weight: 400px;
}

.footersect:hover {
    color: gray; 
    transition: 0.5s; 
    cursor: pointer;
}

.socials {
    margin-left: -10px; 
    margin-top: -50px;
}

.socials:hover {
    cursor: pointer;
}
.foot {margin-left:-20px}


.button-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
	gap: 100px; 
  
}


.button-row {
  display: flex;
  gap: 160px;
}

.box-button {
  color: white;
  font-weight: bold;
  font-size: 2rem;
  text-align: center;
  cursor: pointer;
  transition: color 0.3s;
  width: 180px; 
  height: 60px; 
  display: flex;
  justify-content: center; 
  align-items: center;     
  padding: 10px;
  word-wrap: break-word;
	
	
}

.box-button:hover {
  color: gray;
}

.center-row {
  justify-content: center;
}

.layout  { background: 
    url("../images/RUPS DRMA 2025 (1).jpeg")
    rgba(0, 0, 0, 0.5); 
	background-blend-mode: darken;
	width:100%;
    height :700px; 
	justify-content: center;
	display: flex;
	align-items: center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
	
}
.isi {margin: 30px; margin-top: 50px; margin-bottom: 60px}


@media (max-width: 767px) {
  .layout {
    height: auto;
    min-height: 100vh;
    padding: 60px 20px;
    background-attachment: scroll;
  }
  
 
  .isi {
    margin: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
  }
  
  .isi h1 {
    font-size: 2rem;
  }
  
  .isi h2 {
    font-size: 1.5rem;
  }
  
  .isi h4 {
    font-size: 1.1rem;
  }
  
  .header {
    flex-direction: column;
    padding: 1rem;
  }
  
  .navbar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
  }
  
  nav a {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
  
  .button {
    padding: 15px;
    font-size: 0.9rem;
    margin-left: 0;
  }
  
  .footeredit {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-left, 
  .footer-right {
    width: 100%;
  }
  
  .socials {
    margin: 0 0 1rem 0;
  }
}

/* Tablet (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .layout {
    height: auto;
    padding: 80px 30px;
  }
  
  
  
  .isi {
    margin: 30px;
  }
}


@media (max-width: 991px) {
  .button-wrapper {
    align-items: center;
    padding: 0 20px;
  }

  .button-row {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
  }

  .box-button {
    width: 160px;
    height: 80px;
    margin: 0;
    flex: 0 0 auto;
  }

  .center-row {
    padding-left: 80px; 
  }
}

/* Mobile (up to 767px) */
@media (max-width: 767px) {
  .button-row {
    gap: 10px;
  }
  
  .box-button {
    width: 140px;
    height: 70px;
    font-size: 1.1rem;
  }

  .center-row {
    padding-left: 0; 
}

.footer-right a {
  color: inherit ;
  text-decoration: none; 
}


.footer-right a:hover {
  color: gray;
  text-decoration: none;
}}



body {
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

* {
    box-sizing: border-box; 
}

.dropdown:focus-within .dropdown-content {
    display: block;
}

.dropbtn:focus + .dropdown-content {
    display: block;
}



@media (min-width: 768px) and (max-width: 991px) {
  .button-wrapper {
    padding: 0 20px;
  }

  .button-row {
    flex-wrap: wrap;
    
    gap: 20px;
    margin-bottom: 40px;
  }

  .box-button {
    width: 45%;
    max-width: 200px;
    height: 80px;
    font-size: 1.2rem;
  }

  .center-row {
    padding-left: 0;
   
  }
}


@media (max-width: 1100px) {
  .left-row .box-button:first-child {
    left: 0 !important;
  }

  .right-row .box-button:last-child {
    right: 0 !important;
  }

  .box-button {
    transform: translateX(0); 
  }
}
