

:root {
    --main: #f3f8f9;     
    --back: #f6f2ef;      
    --text: #666666;      
    --theme1: #b38093;   
    --theme2: #baac93;   
}

*{
    box-sizing:border-box;
    margin: 0;
    padding: 0;
}

body{
    position: static;
    z-index: -2;
    font-family: "Momo Trust Display", 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-weight: 200; 
    background: var(--back); color: var(--text);
}

header{
    background: white; color:var(--theme1); padding:5px 24px;
    position: sticky;
    top: 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 10;
}

.header-left {
    display: inline-block;
    width: 170px; 
}

.header-left img {
    width: 75%; height: auto; display: block;
    margin: 7px;
}

.header-right{
    display: flex;
    align-items: center;
    gap: 40px;
}

i{
    margin: auto;
    font-size: 27px;
    cursor: pointer;
    transition: all 0.5s ease;
}

i:hover {
    color: var(--theme2);
}

nav a{
    text-decoration:none; color:var(--theme1); 
    transition: 0.5s;
}


nav a:hover {
    color:var(--theme2);
    transition: 0.5s;
}


.btn{ 
    display:inline-block; background: var(--theme1); padding:10px 15px; 
    color:var(--back); border-radius:30px; border: none;
    transition: all 0.5s ease;
}


.btn:hover{
    background:var(--theme2); color: var(--main);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transform: scale(1.1); 
    cursor: pointer;
}

.btn:active {
    background: #857636; transition: 0.5s;
}


.container{
    max-width: 800px; min-height: 70vh; margin:0px auto; padding:0px 24px; text-align: center; 
    margin-top: 50px;
}

.container a{
    width: fit-content;
}

#husa-logo {
    max-width: 45%; 
    height: auto;    
    display: block; 
    margin-left: auto;
    margin-right: auto;
}


.husa-bottom-text{
    font-size: 50px;
    font-weight: 700;
    display: inline;
    color: var(--text);
    font-family: Srisakdi;
    text-shadow: 1px 1px 10px #ece3c2;
}

.bottom-img{
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: -1;
    max-height: 60%; width: auto;
}

.top-img{
    position: fixed;
    top: 0;
    right: 0;
    z-index: -1;
    max-height: 60%; width: auto;
}
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}


.modal-content {
  background-color: #fefefe;
  margin: 15% auto; 
  padding: 20px;
  border: 1px solid #888;
  width: 80%; 
  max-width: 500px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.close-button{
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-button:hover, .close-button:focus{
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

#modalMessage {
    font-size: 18px;
    padding: 10px 0;
}

.sidepanel  {
    width: 0;
    position: fixed;
    z-index: 9999;
    height: 100%;
    top: 0;
    right: 0;
    background-color: var(--main);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidepanel a, .dropdown-button {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    border: none;
    font-size: 20px;
    display: block;
    transition: 0.3s;
    color: var(--theme2);
    cursor: pointer;
}

.sidepanel a:hover, .dropdown-button:hover {
    color: #857636
}

.sidepanel .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
}

.dropdown-active {
  background-color: rgb(185, 185, 185);
}

.dropdown-container {
  display: none;
  background-color: #edf2f3;
  padding-left: 15px;
  font-size: 17px;
  cursor: default;
}

.fa-caret-down {
  float: right;
  padding-right: 8px;
}


footer{
    display: flex; justify-content: space-between; align-items: center;
    font-size: medium; font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    width: 100%; margin: 0 auto;  text-align: end; 
    padding: 8px 40px; background: rgba(white, white ,white, 1);
    
}

.footer-left {
    display: inline-block;
    width: 70px; 
    height: 100%;
}

.footer-left img {
    width: 100%; height: auto; display: block;
}

@media (max-width: 767px) {

    .container{
        max-width: none; width: 85%;
    }

    #husa-logo{
        max-width: none; width: 55%;
    }   


    footer{
        display: block; align-content: center; text-align: center; font-size: small;
    }

    .modal-image {
        aspect-ratio: 4/5;
        background-image: url(../assets/images/pop-up-dikey.jpg);
    }
           
    .modal-content-index {
        border-radius: 10px;
        max-width: 80vw;
    }
}