.description {
  text-align: center;
  float:left;
  font-size: 1rem;
  font-family: sans-serif;
  color: #604CC3;
  padding: 1px 5px 5px 5px;
  
 }

 h2{
  text-align:center;
  font-size: 2rem;
  font-family: sans-serif;
  color: #601eac;
 
  }
h1 {
  line-height: 1.5;
  text-align: center;
  font-family: sans-serif;
  font-weight: 400;
  color:#601eac;
   
}

  html{
    /*background-color: #87C4FF;*/
    position:relative;
    background-image: parallax_img3;
    padding-bottom: 10px;
    min-height: 100%;
   
  }

  .btn-group{
    display: inline;
    grid-column: span 2;
    align-content:center;
  }
  .cities{
    background-color:transparent;
    opacity: 0,5;
    text-align: center;
    color: blue;

  }
  
.city-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center the grid items */
  gap: 20px; /* Spacing between grid items */
}

.city-card {
  background-color: rgba(128, 128, 128, 0.7); 
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
   /* Fixed width for cards */
  width: 300px;
  overflow: hidden; /* Prevent overflow from images */
  text-align: center;
}

.city-card img {
  width: 100%; /* Make image responsive */
  height: auto;
  transition: transform 0.3s ease;
  
}
.city-card img:hover{
  transform: scale(1.09);
  
}

.city-card h2 {
  color: #8e33c3;
  margin: 10px 0;
}

.city-card p {
  padding: 0 10px; /* Add some padding for text */
  color: #151731; /* Darker text for contrast */
}
  .grid-container{
    display: grid;
    min-height: 100vh;
    grid-template-columns: 1fr 2fr;
    gap: 1rem; 
    padding-bottom: 2.5rem    
    
  }
  home{
    display: flex;
    flex-grow: 1;
    align-items: baseline;
  }
  body{
    height: 100%;
    position:relative;
    margin: 0;
    height:100%;    
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image:url("../background.jpg");
    
  }
  .home-container {
    display:flex;
    flex-direction:column; 
    align-items: center;
    padding: 20px;
  }

  .portrait { 
    width:100%;
    max-width:500px;
    height: 33%;       
    border-radius: 60%;
    border-color: aqua;
    border-width: 1px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
  }
  
  .textual-container{   
    flex:3;
    border: 2px whitesmoke;
    max-width: 800px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    width:100%;
    align-content: left;
      
  }
  .portrait-container{
    display: flex;
    flex:1;
    margin-right:40px;
    margin-left:40px;
    margin-bottom: 20px;   
    width:30%;
    height: 50%;
    max-width:450px;
  }
  @media (min-width: 768px) {
    .home-container {
        flex-direction: row; /* Arrange side by side on larger screens */
        justify-content: space-between;
    }

    .portrait-container, .textual-container {
        margin-right: 20px;             /* Space between image and text */
    
    }

    .textual-container {
        padding: 15px;
        margin-left: 20px; /* Space between image and text */
    }
}
  p{
    text-align: center;
  }
  .blog{
    font-family: sans-serif;
    font-size: 1rem;
    width:90%;
    height:9rem;
    background-color: #545154;
   color:white;
    opacity:0.8;
    border: 1px transparent;

    
    
  }
  .blogpost{
    background-color: rgb(240, 237, 233); /* white background */   
    border-radius: 5px;
    width: 20rem;
    height: 19rem;
    padding: 3rem;
    margin-left: 20px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
   

  }


  input[type=text]:focus, input[type=password]:focus {
    background-color: #ddd;
    outline: none;
   
  } 
  *, *::before, *::after {
    box-sizing: border-box;
}
#header .header-blur .scrollmenu{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background-color: rgba(0, 0, 0, .4);
  z-index: -1;
}
   
  input[type=text], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
  }
  
  label {
    padding: 12px 12px 12px 0;
    display: inline-block;
  }
  
  input[type=submit] {
    background-color: #9152c4;
    color: white;
    padding: 12px 20px;
    margin: 3px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    float: right;
  }
  footer {
clear:both;
bottom:0;
text-align: center;
width: 100%;
position: relative;
/*margin-top: -10px;*/
height: 2.5rem;
color: #604CC3;
  }
  
  input[type=submit]:hover {
    background-color: #362b8b;
  }
  
  .containerForm {
    margin-left: 40px;
    margin-right: 20px;
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px;
  }
  
  .col-25 {
    float:left;
    width: 25%;
    margin-top: 6px; 
  }
  
  .col-75 {
    float: right;
    width: 75%;
    margin-top: 6px;

  }
  
/* Clear floats after the columns */
.row::after {
  content: "";
  display: table;
  clear: both;
}
.row{
  display: block;
  align-items: center;
}

.notes-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px;
}

.note-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin: 10px;
  padding: 15px;
  width: 300px; /* Fixed width for cards */
  transition: transform 0.2s;
}

.note-card:hover {
  transform: scale(1.4); /* Grows button slightly on hover */
}

.delete-btn {
  background-color: #D9534F; /* Bootstrap danger color */
  color: white;
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  cursor: pointer;
}

.delete-btn:hover {
  background-color: #C9302C; /* Darker red on hover */
}
 
  
  /* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
  @media screen and (max-width: 600px) {
    .col-25, .col-75, p, .portrait, .portrait-container {
      width: 100%;
      margin-top: 0;
      bottom: 0;
      
    }
  }
  @media (min-width: 1240px) {
    h2 {
        font-size: 3em;                 /* Larger heading for bigger screens */
    }
    .city-card{
      width:390px;
      
    }
    
    .portrait{
      width:300px;
            
    }
    .textual-container{
      max-width:1200px;
    }
 
  }