
@font-face {
    font-family: myModern;
    src: url('/Fonts/Sk-Modernist-Regular.otf');
}

@font-face {
    font-family: myCursive;
    src: url('/Fonts/hethany-signature/Hethany\ Signature.otf');
}

/* reset to 0, being used to have consistency across the different browsers */
/* border-box, being used to make it easier to manage element sizes,
the padding and border are included when width and height are declared*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100vw;
    height: 100vh;
}

/* Top of the page is setup, header */
.top {
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    font-family: myModern;
    font-size: 4rem;
    color: rgb(218, 165, 32);
    background-color: white;
    text-align: center;
    margin-top: 3rem;
}

/* The main part of the page, names, the pictures, 
and link to webpages */
.graduates {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: myCursive;
    color: rgb(57, 57, 57);
    margin-top: 2rem;
}

.person2 {
    margin-top: 2.3rem;
}

.name1, .name2, .school1, .school2 {
    margin-bottom: 1.5rem;
    letter-spacing: 0.2rem;
}

a {
    color: rgb(57, 57, 57);
    text-decoration: none;
}

a:hover {
    color: rgb(218, 165, 32);
}

/* How the pictures appear on the webpage */
.gabe, .hugh {
    width: 25rem;
    height: 25rem;
    border-radius: 10px;
}

.gabe {
    background-image: url(images/Gabe1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 2rem;
}

.hugh {
    background-image: url(images/Hugh1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.gabe:hover, .hugh:hover {
    background-color: gray;
    opacity: 0.5;
}

.enter {
    width: 8rem;
    height: 3rem;
}

.school1, .school2 {
    font-family: myModern;
    margin-top: 1rem;
}

/* The about section */
.about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: myModern;
    letter-spacing: 0.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.welcome {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.thekids, .celebrate {
    text-align: justify;
    width: 40rem;
}

.thekids {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.celebrate {
    text-align: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* The image carousel of the boys together*/
.carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 1rem 0 1rem;
    padding: 1rem;
    text-align: center;
    border-radius: 10px;
}

.myslides {
    display: none;

}

img {
    height: 500px;
}
.cursor {
    cursor: pointer;
}

.arrows {
    margin-bottom: 5rem;
}

.prev, .next {
    cursor: pointer;
    padding: 16px;
    color: rgb(250, 180, 3);
    background-color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 5px;
    user-select: none;
}

.prev:hover, .next:hover {
    background-color: black;
}

/* Bottom of the page */

/* Window resizing */
@media only screen and (max-width: 1000px) {
    .top {
        font-size: 3rem;
    }
    
}
@media only screen and (max-width: 600px) {
    .top {
        font-size: 2.5rem;
    }

    .graduates {
        margin-top: 1rem;
    }

    .gabe, .hugh {
        margin-right: 0.2rem;
        width: 250px;
    }

    .name1, .name2 {
        font-size: 1rem;
    }

    .name1 {
        margin-top: -1.2rem;
    }

    .welcome {
        text-align: justify;
    }

    .thekids, .celebrate {
        width: 25rem;
        text-align: justify;
    }
}

