/* Font-face declaration */
@font-face {
    font-family: 'Garet-Book';
    src: url('../fonts/garet-book/Garet-Book.woff2') format('woff2'),
         url('../fonts/garet-book/Garet-Heavy.ttf') format('truetype'),
         url('../fonts/garet-book/Garet-Book.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    font-family: 'Garet-Book', Helvetica, sans-serif;
}

  /* Header */
h1 {
    font-size: 1.75rem;
    margin: 0 0 0.75rem 0;
  }
  
  /* Container styles */
  .container {
    display: flex;
  }
  
  /* Main section styles */
  .left-half {
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
    background-color: #CCBFF7;
    flex: 1;
  }
  
  .right-half {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #CCBFF7;
    flex: 1;
  }

  #right-image{
    max-width: 100%;
  }

  #left-image{
    max-width: 100%;
    /* position: relative; */
  }

  #alert-box{
    max-width: 70%;
    position: absolute;
    left:50px;
  }

  .welcome-text{
    position: absolute;
    left:60px;
    max-width: 65%;
    max-height: 40%;
    overflow: auto;
  }
  
/* Responsive navigation menu (for tablet devices) */
  @media screen and (min-width: 601px) and (max-width: 940px) {
 
    .container {
      display: flex;
      flex-direction: column-reverse;
    }
    .left-half {
      display: flex;
      position: relative;
      justify-content: center;
      background-color: #CCBFF7;
      flex: 1;
    }
    

    .right-half  {
      display: flex;
      width: 100%; 
      height: 100px; 
      overflow: hidden;
      /* position: relative; */
    }
    
    #right-image {
      width: 100%;
      height: 100%;
      object-fit: cover; 
    }
  }
  
  /* Responsive navigation menu (for cellular devices) */
  @media screen and (max-width: 600px) {
    .container {
      display: flex;
      flex-direction: column-reverse;
    }
    .left-half {
      display: flex;
      position: relative;
      justify-content: center;
      background-color: #CCBFF7;
      flex: 1;
    }
    

    .right-half  {
      display: flex;
      width: 100%; 
      height: 100px; 
      overflow: hidden;
      /* position: relative; */
    }
    
    #right-image {
      width: 100%;
      height: 100%;
      object-fit: cover; 
    }

    #alert-box{
      max-width: 86%;
      position: absolute;
      height:80%;
      left:40px;
    }

    .welcome-text{
      position: absolute;
      left: 60px;
      max-width: 78%;
      max-height: 62%;;
    }
  }
