/*styling.css*/
/*Style body by adding background image and set it to cover, add font-family*/
body{
    font-family: Arvo,serif;
    /*background-color: white;*/
    background: linear-gradient(rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.93)), url('images/krakow.jpg') no-repeat center center;
    background-attachment: fixed;
    background-size:cover;
    font-size: 16px;
    }


/* Banner Section */

.banner {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    margin: 0 auto;
    height: 300px;
    background-color: #f5f5f5; /* Optional background color */
    background-color: transparent;
}

.banner-image {
    margin-top: 15px;
    max-width: 1500px;
    max-height: 110%;
    object-fit: contain;
}

/*Style brand*/
.logo{
    height: 150px;   
}


/*Style navigation bar*/
.navbar-inverse{
  /*  background: rgba(0,0,0,0,5); */
   display: flex;  /* Use flexbox */
   max-width: 1338px;
   justify-content: center; /* Center items horizontally */
   width: 100%; /* Full width */
   background-color: #052457;
   padding: 15px 0;
   margin: 0 auto;
   
}

/* Center Navigation Links */

.nav li{
    color: #fff;
    font-size: 19px;
    margin-right: 4px;
    
    

}

.nav li::hover{
    border-bottom: 1px solid white;
    padding-bottom: 9px;
    cursor: pointer;
    
}

/*Style jumbotron*/
.jumbotron{
    background-color: transparent;
    color: black;
    text-align: justify;
    margin: 40px;
    padding: 50px;
    letter-spacing: 2.5px;
    font-size:16px;
    
}



/*limit the width of the icons seciton*/

.container{
    max-width: 1000px;
    font-size: 16px;
    
} 

.container p {
    font-size: 16px ; /* Force font size change */
}


/*Stye icons sections using bootstrap grid system*/

.bodyimage{
    height: 150px;
}

.col-md-4{
    text-align: center;
    color: #fff;
}
.icons p{
    font-size: 20px;
    
    
}

/*Style contact button*/
.contact{
    text-align: center;
    margin-top: 30px;
    margin-bottom: 300px;     
}
.btn{
    background-color: rgba(0,0,0,0.6);
    border: none;
    border-radius:10px;
    color:#fff;
    font-size: 16px;
    padding: 10px 70px;
    letter-spacing: 1.3px;
   
    
}

.btn::hover{
    background-color:rgba(0,0,0,1.0);
    color: #fff;
    border:none;
    
}


/* Footer Bar */
.footer {
    display: flex; /* Use flexbox for alignment */
    justify-content: center; /* Center items horizontally */
    background-color: #052457; /* Dark blue background */
    max-width: 1338px; /* Limit the maximum width */
    width: 100%; /* Ensure the footer takes up full width of the page */
    color: white; /* Set text color to white */
    padding: 20px 0; /* Add padding around the text */
    text-align: center; /* Center the text */
    position: relative; /* Keeps the footer in its natural flow */
    margin: 0 auto; /* Center the footer horizontally within the page */
}

.footer a {
    color: #FFD700; /* Corrected color for the email link to gold */
    text-decoration: none; /* Remove underline from the link */
}

.footer a:hover {
    text-decoration: underline; /* Add underline on hover */
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    
     body {
        font-size: 12px; /* Even smaller font size for extra-small devices */
        font-family: Arvo,serif;
    }
      
    .banner {
        height: 300px;
        background-color:white;
    }

    .banner-image {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

    .jumbotron {
        padding: 10px;
        margin: 6px;
    }

    .navbar-header {
        float: none;
    }

    .navbar-collapse {
        float: none;
    }

    .navbar-collapse.collapse {
        display: none ;
    }

    .navbar-collapse.collapse.in {
        display: block ;
    }

    .navbar-nav {
        float: none;
        margin: 0 auto;
    }

    .navbar-nav > li {
        float: none;
    }

    .navbar-toggle {
        display: block;
        float: right;
        margin-right: 10px;
    }

    .nav li {
        font-size: 16px;
        margin-right: 8px;
    }

    .footer {
        padding: 10px 0;
    }

    .footer p, .footer a {
        font-size: 14px;
    }

    .btn {
        padding: 8px 50px;
        font-size: 14px;
    }
    
    .container{
    max-width: 1000px;
    font-size: 12px;
    
    } 

   .container p {
    font-size: 12px ; /* Force font size change */
    }
}

@media (max-width: 576px) {
    
    body {
        font-size: 10px; /* Even smaller font size for extra-small devices */
        font-family: Arvo,serif;
    }
    .banner {
        height: 150px;
        background-color:white;
    }

    .jumbotron {
        padding: 15px;
        margin: 15px;
    }

    .footer {
        padding: 5px 0;
    }

    .footer p, .footer a {
        font-size: 12px;
    }
    
      .container{
    max-width: 1000px;
    font-size: 12px;
    
    } 

   .container p {
    font-size: 10px ; /* Force font size change */
    }
}


.award-container {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.award-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.award-text {
    font-size: 18px;
    margin: 10px 0;
}

.recipient {
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
}

.institution {
    font-size: 16px;
    color: #555;
}

.award-image {
    margin-top: 20px;
    max-width: 120%;
    height: auto;
    border-radius: 8px;
}

/* Use media queries to change icon size in small devices*/
/*@media(max-width:768px){
    .bodyimage{
        height: 70px;
        
    }
}*/