*{
    margin:0;
    padding:0;
    box-sizing: border-box;
}

html{
    font-size: 16px;
}

html, body{
    width: 100%;
    background-color: #fbfbfb;
    /* Prevents the bouncing/elastic scroll effect entirely */
    overscroll-behavior-y: none; 
}

body{
    /*font-family: 'ApfelGrotezk-Regular';*/
     font-family: 'GraphikRegular'; 
    /*font-family: Arial, Helvetica, sans-serif;*/
    overflow-x: hidden;
}

header{
    position: fixed;
    z-index:999;
    background-color: #000000;
    top:0;
    left:0;
    width:100%;
    height:10vh;
    display:flex;
    align-items:center;
    justify-content: center;
}

nav{
    width: 95%;
    display:flex;
    justify-content: space-between;
    align-items: center;
    margin-left:1vw;
    margin-right:1vw;
    font-size:0.85rem;
}


/* Style the links inside the menu bar */
nav a {
    color: white;
    text-decoration: none;     /* Removes the default underline */
    margin-right: 20px;        /* Puts space between the individual links */
    font-weight: lighter;
}

#klius{
    font-size: 3.5rem;
  border: 2px solid white;
  padding-right: 2vw;
  padding-left: 0.25vw;
  position: relative;
  left: -2vw;
}

/* Footer */

footer{
    width:100%;
    z-index: 999;
    background-color: #000000;
    display:flex;
    align-items: flex-start;
    justify-content: space-around;
    padding-top: 5vh;
    padding-bottom: 5vh;
}

.foot-ul{
    width: 20%;
}

.foot-ul ul{
    margin-left: 2vw;
}

.foot-ul p, 
.foot-ul li{
    color: white;
    font-size: 0.85rem;
    line-height: 1.25;
}

.foot-hr{
    border-top: 1px solid #fff000;
    width:50%;
    text-align:left;
    margin-left:0;
    margin-top:1vh;
    margin-bottom:1vh;
}

#footer-logo{
  width: 18%;
  position: relative;
  top: 0;
}

#social-logo{
    display:flex;
    justify-content: flex-start;
    margin-top: 1vw;
}

#social-logo img{
    width: 22px;
    height: 22px;
}

/* Opencall Page */

.section{
    margin: 0 auto;
    width: 68%;
}
#opencall{
   background-color: #fff000;
   color: black;
   padding: 0.5vh 0.5vw;
   margin-right: 0;
   font-size: 1.5rem;
   display: inline-block;
   text-align: center;
   font-weight: bold;
   border-radius: 4px;
}

/* Add this class around your main content blocks */
.container {
    position: relative;
    /*top: 10vh;*/
    /*max-width: 900px;*/
    margin: 10vh auto;           /* Centers the content block horizontally */
    padding: 0 20px;          /* Prevents text touching mobile screen edges */
}


h1{
    font-size:2.2rem;
    line-height: 2;
}

h2{
    font-size: 1.75rem;
    line-height: 1.5;
}

h3{
    font-size: 1.35rem;
    line-height: 1.75;
}

h4{
    font-size: 1rem;
    line-height: 1.5;
    margin-top: 1vh;
}

p, li{
    font-size: 1rem;
    line-height: 1.35;
}


#call-article, #aipol, #dates, #submission, #pub-fee, #form-area{
    margin-top:2vw;
}

#call-article{
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two equal columns */
  grid-template-rows: auto auto;   /* Two rows that scale to content */
  gap: 10px;                       /* Optional spacing between cells */

}

.call-sec{
    background-color: #dfdfdf;
    padding: 1.5vh 1.5vw 1.5vh 1.5vw;
    border-radius: 4px;
    border: 2px dotted black;
}

.call-sec ul, #dates ul{
    margin-left: 2vw;
}

#aipol{
    
}

#dates{
    
}

#submission{
    
}
#pub-fee{
    
}

#form-area{
    
}


form{
    position: relative;
    top: 2vh;
    width:75%;
    padding: 1.5vh 1.5vw 1.5vh 1.5vw;
    border:0.5px solid black;
}

form, .long-field {
    width: 100%; /* Spans the entire width of the form container */
    max-width: 100%; 
}

#name, #dep, #rep, #email, #reason, #title, #keywords, #abs{
    display: block;
    margin-top: 1vh;
    margin-bottom: 2vh;
    width: 30%;
}

#title-label{
    margin-top:5vh;
}

#research, #artwork, #poster, #other{
    margin-bottom: 1vh;
}

.counter-text {
    font-size: 12px;
    color: #000000; /* Default black typography requested */
    text-align: left;
    margin-top: 4px;
    margin-top: -10px;
    margin-bottom: 2vh;
    font-family: monospace; /* Keeps characters aligned consistently */
    transition: color 0.2s ease;
}

.counter-text.limit-reached {
    color: #e74c3c; /* Noticeable crimson red */
    font-weight: bold;
}


input::placeholder{
    margin-left: 2vw;
}

input::placeholder, textarea::placeholder {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9rem;
    font-style: italic;
    color: #888888;
    resize: vertical;       /* Allows users to pull it downward if they need more room */
    padding: 15px;          /* Adds comfortable padding inside the box boundaries */
}

textarea#abs {
    height: 220px;          /* Makes the box physically tall and spacious */
    line-height: 1.6;       /* Gives written sentences breathing room */
    
}

form p{
    line-height: 2.5;
}

#sub-button{
    background-color: #fff000;
    border: 0.5px solid darkgrey;
    padding: 0.5vh 1.5vw 0.5vh 1.5vw;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 4px;
}

/* Hide blocks by default */
.status-msg.hidden {
    display: none;
}

/* Beautiful responsive success and error card layout configurations */
.status-msg {
    margin-top: 20px;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

#form-success {
    background-color: #d4edda; /* Smooth pastel green wrapper box */
    color: #155724;
    border: 1px solid #c3e6cb;
}

#form-error {
    background-color: #f8d7da; /* Noticeable crimson alert red wrapper box */
    color: #721c24;
    border: 1px solid #f5c6cb;
}


/* Landing page */
#homepage{
  /*width: 100vw;*/
}

/*articles*/
#land-title, #gen-exp1, #gen-exp2, #part-cred, #come{
    margin: 0 auto;
    width: 68%;
    padding-top: 2vh;
    padding-bottom: 2vh;
} 

#land-title{
    outline: 1px solid red;
}

#gen-exp1, #gen-exp2, #part-cred, #come{
    position: relative;
    top:2vh;
    margin-top: 2vh;
    outline: 1px solid blue;
} 

/*article*/
#land-title{
    height:100vh;

}

#land-sec1{
    position: relative;
    left: 42vw;
    top: 8vh;
    /*margin: 0 auto;*/
}

#land-sec1 h1{
    font-size:5rem;
    line-height:1.15;
}

#land-sec1 h2{
    font-size: 1.4rem;
    line-height:1.4;
    font-weight: normal;
    margin-left: 0.45vw;
}

/* dp-set is 2nd <h2> */
#dp-set{
    display:inline-block;
    /*not neces*/
    margin-left: 0.35vw !important;
}

/*btn*/
#opencall-land, #opencall-land2{
   text-decoration: none;      
   background-color: #fff000;
   border-radius: 4px;
   border: 0.5px solid black;
   color: black;
   margin-right: 0;
   font-size: 1.2rem;
   display: inline-block;
   text-align: center;
   font-weight: bold;
   padding-top: 0.25vh;
   padding-left: 0.4vw;
   padding-bottom: 0.1vh;
   padding-right: 0.4vw;
}

#opencall-land a, #opencall-land2 a{
    text-decoration: none; 
}

#opencall-land{
   position: absolute;
   top: 51.25vh;
   left: 16vw;
}

#land-sec2{
    position: relative;
    
}

#land-sec2 h1{
    font-size:2.2rem;
    line-height: 2;
}

#land-sec2 h2{
    font-size: 1.45rem;
    line-height: 1.5;
    margin-top: 3vh;
    margin-bottom: 1.5vh;
}

#land-sec2 p{
    width: 95%;
}

/*article*/
#gen-exp2{
    
}

#land-sec2, #land-sec3, #land-sec4, #land-sec5{
    width: 100%;
    position: relative;
}

#land-sec3 p{
    margin-bottom: 2vh;
    font-size: 1rem;
    line-height: 1.4;
}

#land-sec3 ul{
    
}

#land-sec2 ul li, #land-sec4 ul li, .on-tt{
   margin-left:2vw; 
   line-height: 1.6;
}

#opencall-land2{
    margin-left: 2vw;
    margin-top: 2vh;
}

#part-cred{
    
}

#land-logo{
    /*img*/
    width:40%;
}

#land-sec4{
    width: 50%;
}

/*article*/
#come{
    
}


#land-sec5 h1{
    font-size:2.2rem;
    line-height: 2;
}

#land-sec5 h2{
    font-size: 1.45rem;
    line-height: 1.5;
    margin-top: 3vh;
}

#land-sec5 h3{
    font-size: 1.1rem;
    line-height: 1.75;
    margin-top: 1vh;
}

#land-sec3 ul, #land-sec5 ul{
    margin-top: 1vh;
}

#land-sec3 ul li, #land-sec5 ul li{
    margin-left: 2vw;   
}

.on-tt{
/*p of land-sec4 online tt*/
  color:#0f86b7;
}

#linz-photo{
    width:50%;
 
}

.countdown-container{
    background: pink;
    width: 55%;
    position: relative;
    left: 64%;
    top: 10vh;
    display: inline-block;
}
.time-block{
    display: inline-block;
    margin-right: 0.5vw;
}