
/* carousel for the announcement panel in profile */
.announcement_slider{
    width: 25rem;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
  }
  
  .announcement_slides{
    width: 60rem;
    height: 10rem;
    display: flex;
  }
  
  .announcement_slides input{
    display: none;
  }
  
  .slide{
    width: 40rem;
    transition: 1s;
  }
  
  .slide img{
    width: 400px;
    height: 400px;
    object-fit: cover;
  }
   
  /*css for manual slide navigation*/
  
  .navigation-manual{
    position: relative;
    width: 50%;
    margin-top: -80px;
    display: flex;
    justify-content: center;
  }
  
  .manual-btn{
    border: 2px solid #40D3DC;
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: 2s;
  }
  
  .manual-btn:not(:last-child){
    margin-right: 40px;
  }
  
  .manual-btn:hover{
    background: #40D3DC;
  }
  
  #radio1:checked ~ .first{
    margin-left: 0;
  }
  
  #radio2:checked ~ .first{
    margin-left: -30%;
  }
  
  #radio3:checked ~ .first{
    margin-left: -110%;
  }
  
  #radio4:checked ~ .first{
    margin-left: -206%;
  }
  
  /*css for automatic navigation*/
  
  .navigation-auto{
    position: absolute;
    display: flex;
    width: 300px;
    justify-content: center;
    margin-top: -80px;
  }
  
  .navigation-auto div{
    border: 2px solid #40D3DC;
    padding: 5px;
    border-radius: 10px;
    transition: 2s;
  }
  
  .navigation-auto div:not(:last-child){
    margin-right: 40px;
  }
  
  #radio1:checked ~ .navigation-auto .auto-btn1{
    background: #40D3DC;
  }
  
  #radio2:checked ~ .navigation-auto .auto-btn2{
    background: #40D3DC;
  }
  
  #radio3:checked ~ .navigation-auto .auto-btn3{
    background: #40D3DC;
  }
  
  #radio4:checked ~ .navigation-auto .auto-btn4{
    background: #40D3DC;
  } 
  /*end of carousel for the announcement panel in profile */
.main{
    width: 50rem;
    height: auto;
    margin-left: 20%;
    margin-right: 20%;
    padding-top: 5%;
    padding-bottom: 5%;
    box-sizing: border-box;
    box-shadow: 10px solid gray;
}
.main .main-row{
    
    padding-top: 10%;
    padding-bottom: 10%;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.main .main-row img{
    height: auto;
    width: 30rem;
    object-fit: cover;
    display: block;
    position: relative;
    margin-left: 20%;
    margin-right: 20%;

}
.main .main-row .main-content {
    height: auto;
    width: 40rem;
    object-fit: cover;
    display: block;
    position: relative;
    margin-left: 10%;
    margin-right: 10%;

}