/* GLOBAL STYLES */
*{
    box-sizing: border-box;
}
body{
    background-color: white;
    font-family: 'Times New Roman', Times, serif;
    margin: 0px;
    color: #2d3d98;
}

a{
    text-decoration: none;
    color: #2d3d98;
}

header, footer{
    background-color: #fec40e;
    padding: 10px;
}

footer{
    font-size: 10px;
    display: flex;
}

img{
    max-width: 100%;
    height: auto;
}

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    color: #2d3d98;
}

.checkbtn{
    font-size: 1.5rem;
    color: #2d3d98;
}

.nav-mobile{
    display: none;
    position: absolute;
    top: 4.5rem;
    right: 0;
    background: #fec40e;
    z-index: 1;
    width: 200px;
}

.nav-mobile a{
    color: #2d3d98;
    padding: 1rem 1.5rem;
    display: block;
    text-decoration: none;
}

#check:checked ~ .nav-mobile{
    display: block;
}

.logo-img{
    width:50px;
    height:auto;
}

.card-header{
    text-decoration: none;
    color: #2d3d98;
}

.page-title{
    text-align: center;
}

.homepage-card{
    height: 200px;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #2d3d98;
}

.intro{
    padding-top:10px;
    margin-left: 20px;
    margin-right: 20px;
    font-size: xx-large;
}

    /* ACCORDION STYLES */
  
    .accordion {
        margin-top: 50px;
        margin-left: 30px;
        margin-right: 30px;
        margin-bottom: 20px;
      }
      
      .item {
        border: 1px solid #2d3d98;
        margin: 8px 0;
        overflow: hidden;
      }
    
      .header {
        color:white;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 15px;
        background-color: #2d3d98;
      }
    
     .header .emoji {
        font-size: 1.5rem;
        margin-right: 10px;
      }
      
      .header .title {
        font-size: 1rem;
        flex-grow: 1;
        text-align:right;
      }
    
      /* CONTENT INSIDE ITEMS */
      .content {
        background-color: white;
        padding: 10px 15px;
        display: none;
        color: #2d3d98;
      }

/* ADJUSTMENTS FOR DESKTOP */
@media screen and (min-width:1080px){
    main{
        margin-left:5%;
        margin-right:5%;
    }
}