@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Syne&family=Cardo&family=Dancing+Script&family=Karla&family=Luckiest+Guy&family=Montserrat+Alternates&family=Rubik&display=swap');

:root{
    box-sizing: border-box;
    font-size: calc(1vw + 0.5em);
}

@media (min-width: 50em){
    :root{
        font-size: 1.125em;
    }
}

*, *::before, *::after{
    box-sizing: inherit;
}

body{
    margin: 0;
    font-family: 'Syne', Rubik, sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.headline{
    text-align: center;
    background-color: #444;
    color: white;
    margin: 0 auto;
    padding: 0.5em;
    font-size: 3rem;
}

main{
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #eee;
    background-image: url('background.png');
    background-position: center;
    background-size: cover
}

main a{
    transition: transform 0.2s;
}

main a:link, main a:visited{
    color: black;
    text-decoration: none;
}

main a:hover, main a:active{
    transform: scale(1.02);
}

.school{
    width: 45%;
    max-width: 500px;
    margin: 5% 2%;
    padding: 1%;
    aspect-ratio: 1;
    border-radius: 0.5em;
    border: 3px solid #444;
    background-color: rgba(200,200,200,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.title{
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px #eee;
}

.subline{
    font-size: 1.5rem;
    text-shadow: 1px 1px 1px #eee;
}

#jpps{
    background-image: url('logo_jpps.png');
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
}

#gsso{
    background-image: url('logo_gsso.png');
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
}

@media (max-width: 600px){
    main{
        flex-direction: column;
    }

    .school{
        width: 75%;
    }
}