@charset "UTF-8";
/**
 * 
 * @authors Han Zhao (han.zhao@uwaterloo.ca)
 * @date    2014-11-22 22:24:31
 * @version $Id$
 */
body {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 60px;
    padding-top: 60px;
    padding-bottom: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
  position: relative;
  min-height: 100%;
}

/*.navbar-default {
    background-image: -webkit-linear-gradient(top, #ffffff 0%, #dfdfdf 100%);
    background-image: linear-gradient(to bottom, #ffffff 0%, #dfdfdf 100%);
}
*/
/* Bootstrap 5 navbar styling */
.navbar-brand {
    color: #b00 !important;
    font-weight: 700;
}

.navbar-nav .nav-link {
    color: #b00 !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #666 !important;
    transform: translateY(-1px);
}

.bg-primary:hover{background-color:#b00}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 60px;
  background-color: #f5f5f5;
}

.container .text-muted {
  margin: 20px 0;
}

.img_responsive{
  max-width: 60%;
  max-height: 80%;
}

/* Academic red color scheme */
a {
  color: #b00;
  transition: color 0.3s ease;
}

a:hover, a:focus {
  color: #666;
}

/* Button styling to match academic theme */
.btn-outline-primary {
    border-color: #b00;
    color: #b00;
}

.btn-outline-primary:hover {
    background-color: #b00;
    border-color: #b00;
}

/* Card and modern elements */
.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
}

/* Alert styling for academic sections */
.alert {
    border-radius: 8px;
}

.border-primary {
    border-color: #b00 !important;
}

.border-secondary {
    border-color: #6c757d !important;
}

a.menu-hobby {
  color: #b00 !important; 
}

/* Fix scroll offset for fixed navbar */
html {
  scroll-padding-top: 70px;
  scroll-behavior: smooth;
}

/* Modern spacing and typography */
.display-5 {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
}

.lead {
    font-size: 0.95rem;
    color: #6c757d;
}

/* Social links hover effects */
.navbar-nav .nav-link i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover i {
    transform: scale(1.2);
}

/* Container width constraints */
.container {
    max-width: 1000px;
}

/* Compact styling for academic layout */
h2.h3 {
    font-size: 1.3rem;
}

h3 {
    font-size: 1.2rem;
}

h4 {
    font-size: 1.1rem;
}

.btn-sm {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
}

.alert {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

/* Responsive improvements */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .display-5 {
        font-size: 1.8rem;
    }
    
    .d-flex.flex-wrap.gap-2 {
        justify-content: center;
    }
    
    .img-fluid {
        max-width: 200px;
    }
    
    .container {
        max-width: 100%;
    }
}

/* Print styles */
@media print {
    .navbar, .btn, .alert {
        display: none !important;
    }
    
    body {
        padding-top: 0;
        font-size: 12pt;
    }
}
