@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&family=Space+Mono:wght@400;700&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 20px 0;
    background-color:rgba(127, 227, 217, 0.66);
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.wrapper {
    width: 40%;
    margin: 0 auto;
    max-width: 550px;
}

/*h1, h2, and button for the home page.*/
h1,h2,.button {
    width: 100%;
    box-sizing: border-box;
}

/*styles h1 on homepage*/
h1 {
    background-color: transparent;
    padding: 0;
    margin: 0 0 15px;
    text-align: center;
}

/*styles the image on the homepage, aka the big profielspot logo*/
h1 img {
    width: 100%;
    max-width: 350px;
    height: auto;
    display: block;
    margin: auto;
}


/*styles the h2 on the homepage and elsewhere*/
h2 {
    background-color: transparent;
    text-align: center;
    border-radius: 25px;
    padding: 0.5em;
    margin: 0 0 1%;
    overflow-wrap: break-word;
    font-size: 1.2rem;
    font-family: 'Space Mono', monospace;
    color: #333333;
}




/*styles the buttons on the homepage*/
.button {
    display: block;
    text-decoration: none;
    text-align: center;
    color:#fff790;
    padding: 1em 0.5em;
    border-radius: 25px;
    margin: 0 0 2%;
    font-weight: 800;
    font-size:1.3rem;
    box-shadow: 0 15px 25px rgba(86, 182, 173, 1);
    transition: box-shadow 0.2s, color 0.2s, transform 0.2s;
}

.button:hover {
    color:rgba(137, 246, 235, 1);
    transform: translateX(-2px);
    box-shadow: none;
}

/*icons at the bottom of the page*/
.icon-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
}

.icon-links a {
    display: block;
    width: 30px;
    height: 30px;
    transition: transform 0.2s, opacity 0.2s;
    color: #333333;
}

.icon-links a:hover {
    transform: translateY(-3px);
    opacity: 0.7;
}

.icon-links img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    
}

/* h1 for other pages, as on other pages the h1 will be smaller and consist of text + image. Done as page header. */

.page-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 25px;
}

.page-header img {
    width: 130px;
    height: auto;
    flex-shrink: 0;
    display: block;
    margin: 0;
}

.page-header img:hover {
    opacity:0.7;
  
}

.page-header-text {
    flex: 0 0 auto;
    margin-left: 15px;
}

.page-header-text h1 {
    width: auto;
    margin: 0;
    padding: 0;
    font-family: 'Space Mono', monospace;
    text-align: left;
    color: #333333;
}

/* basic box for other pages. looks like the buttons but does not act like a link. box h2 controls the behaviour of h2 INSIDE boxes.*/
  .box {
    display: block;
    width: 100%;
    height: 500px;
    overflow-y: auto;
    color: #333333;
    padding: 2em 2em;
    border-radius: 25px;
    margin: 0 0 1%;
    font-weight: 400;
    font-size: 1.0rem;
    box-shadow: 0 15px 25px rgba(86, 182, 173, 1);
}

  .box h2, .box-transcripties h2 {
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    padding: 0;
  }

  .box p {
    text-align: justify;
  }
  
  .box-transcripties p {
    text-align: justify;
    font-size: 1.0rem;
    font-weight: 400;
  }
    
  
  .box-transcripties {
    display: block;
    width: 100%;
    color: #333333;
    background-color: #fff790;
    padding: 1em 1em;
    border-radius: 25px;
    margin: 0 0 4%;
    font-weight: 300;
    font-size: 1.0rem;
    box-shadow: 0 15px 25px rgba(86, 182, 173, 1);
    }
  
/*transcripts page*/

.transcript-links {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.transcript-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.transcript-button {
    display: block;
    padding: 0.8em 1em;
    border-radius: 25px;
    background-color: #fff790;
    color: #fff790;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    box-shadow: 0 10px 20px rgba(86, 182, 173, 0.8);
    transition: box-shadow 0.2s, transform 0.2s;
}

.transcript-button:hover {
    transform: translateY(-2px);
    box-shadow: none;
    color:rgba(137, 246, 235, 1);
}

/*For mobile devices & responsive design:*/
/* TABLET */
@media (max-width: 900px) {
    .wrapper {
        width: 60%;
    }
    
    
}

/* MOBILE */

@media (max-width: 600px) {

    .wrapper {
        width: 90%;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1rem;
    }
    
    .button {
        font-size: 1rem;
        margin-bottom: 1.5%;
    }
    
    
    .box {
        font-size: 0.9rem;
        margin-bottom: 1.5%;
        font-weight: 400;
        height: auto;
        overflow-y: visible;
    }
    
  .box-transcripties, .box-transcripties p {
        font-size: 0.9rem;
        font-weight: 400;
        text-align: left;
    
    }
    
  .box h2, .box-transcripties h2 {
        font-size: 1rem;
    }
    
  .box p {
        text-align: left;
    }  
    
  .icon-links a {
    width: 25px;
    height: 25px;
    margin-bottom: 25px;
  }

  
/*header h1, image and text, of other pages*/

    .page-header {
        flex-direction: column;
        text-align: center;
    }

    .page-header img {
        width: 100px;
    }
    
    .page-header-text h1{
        font-size: 1.5rem;
    
    }

}