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

/* Custom fonts */
@font-face {
    font-family: 'Roboto'; 
    src: url('../assets/fonts/Roboto-Regular.ttf') format('truetype'); 
    font-weight: normal; 
    font-style: normal; 
}
@font-face {
    font-family: 'Roboto'; 
    src: url('../assets/fonts/Roboto-Bold.ttf') format('truetype'); 
    font-weight: bold; 
    font-style: normal; 
}

/* Reset the body's margin and padding */
body {
    margin: 0;
    padding: 0;
}

/* Main styling */
.main-container {
    display: flex;
    flex-direction: column;     
    align-items: left;       
}

/* Main image container */
.main-content {
    display: flex;               
    justify-content: center;     /* Horizontally centers images  */
    align-items: center;
    flex-direction: column;
    margin-top: 15vmin;
    height: 85%;
}

/* Used for paragraphs on the main page */
.body-text {
    font-size: 2vmin;         
    font-family: 'Roboto', sans-serif;  
    padding-top: 5%;
    color: black;            
    max-width: 90%;
    margin: 0;               
}

.body-title {
    font-size: 3vmin;         
    font-family: 'Roboto', sans-serif;  
    padding-top: 5%;
    font-weight: bold;
    color: black;            
    margin: 0;   
    text-align: center;            
}

/* Controls the gallery images and their captions*/
.gallery-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10%;    
    padding-top: 2.5%
}

.gallery-entry-container {
    display: flex;
    flex-direction: column;
}

.gallery-caption{
    font-size: 2vmin;
    font-family: 'Roboto', Arial, sans-serif;  
    color: black;            
    text-align: center;
    padding-top: 7.5%;     
}

/* The bottommost text on the main page is a link */
.text-button {
    display: inline-block;
    padding: 0.5%;
    font-size: 3vmin;   
    margin-top: 2.5%;   
    font-family: 'Roboto', sans-serif;    
    font-weight: bold;    
    text-decoration: none;        /* Removes underline from links */
    color: black;                 
    background-color: #dddad1;   
    border: none;                 
    border-radius: 5px;           
    cursor: pointer;              
    transition: background-color 0.3s ease; 
}

.text-button:hover {
    background-color: #bab6ab;    
}

.text-button:active {
    background-color: #918c81;    /
}

/* Top Bar styling */
.top-bar {
    background-color: white; 
    height: 15vmin;
    width: 100%;
    display: flex;          
    align-items: center;   
    position: fixed;   
    box-shadow: 0px 2px 5px 0px rgb(168, 168, 168);
    transition: all 0.3s ease;     /* Smooth transition for height */
}

/* Logo and Title styling */
.title {
    font-size: 3vmin;         
    font-family: 'Gill Sans', Arial, sans-serif;  
    color: black;            
    margin: 0;               
}

.subtitle {
    font-size: 2vmin;
    font-family: 'Gill Sans', Arial, sans-serif;
    color: rgb(55, 55, 55);
    margin: 0;
}

.bar-container {
    display: flex;
    align-items: center;           /* Vertically centers the logo and links */
    cursor: pointer;
    justify-content: left;
    width: 50%;
    margin-left: 5%;
}

.title-container {
    display: flex;
    flex-direction: column;
    align-items: left;
    margin-left: 2.5%;
}

/* Link styling */ 
.link-container {
    display: flex;
    justify-content: flex-end;
    gap: 10%;
    box-sizing: border-box;
}

.link {
    font-size: 2vmin;
    font-weight: 700;
    font-family: 'Poppins', Verdana, Tahoma, sans-serif;
    color: #000000;
    cursor: pointer;           /* Makes the text look clickable */
    margin: 0;
    text-decoration: none;
    position: relative;
}

.link:hover {
    text-decoration: underline; /* Adds underline on hover */
}

/* .link:not(:last-child)::after {
    content: '';              
    position: absolute;       
    right: -22.5%;
    top: 50%;                 
    transform: translateY(-50%); 
    height: 0.6vmin;
    width: 0.6vmin;
    background-color: black; 
    border-radius: 50%;
} */

/* Image styling */
.logo {
    height: 10vmin;
}
.cmbr {
    height: auto;
    max-width: 75%;
}

.gallery-image {
    max-width: 25vmin;
    height: 25vmin;
    box-shadow: 0px 5px 10px 0px black;
    transition: transform 0.3s ease;

}

/* Make the image a bit bigger when hovered */
.gallery-image:hover {
  transform: scale(1.1); 
}

/* Styling when the top bar is condensed */

/* Condensed top bar */
.top-bar.condensed {
    height: 7.5vmin;               
    transition: all 0.3s ease;    
}


/* Hide the logo */
.top-bar.condensed .logo {
    display: none;                 /* Completely hides the logo */
}

/* Hide the subtitle */
.top-bar.condensed .subtitle {
    display: none;                 /* Completely hides the subtitle */
}


/* Keep the links aligned properly */
.top-bar.condensed .link-container {
    justify-content: flex-end;     /* Ensure links stay on the right */
}
