body {
    margin: 0;
    font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
    cursor: auto, url("./media/cursor/garry.cur");
}

main {
    width: 40%;
    margin: 0 auto;
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
}

header {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    transition: height 0.5s ease;
}

header img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    transition: transform 0.5s ease;
}

header:hover {
    height: 400px;
}

header:hover img {
    transform: translateY(-50%) scale(1.05);
}

#intro-section #definition {
    font-size: 2em;
}

#intro-section #intro {
    font-size: 1.25em;
}

#link-section .flex-container {
    display: flex;
    justify-content: space-between; /* Adjusts space between divs */
}

#link-section .text-div {
    margin: 10px; /* Optional spacing */
}


a {
    text-decoration: none;
    color: rgb(51, 102, 204);
}

a:hover {
    text-decoration: none;
    color: hotpink;
}

@media screen and (max-width: 700px) {
    /* set to full width */
    #mid {
        width: 100%;
    }

    /* small padding to not hide in bevels when small*/
    section {
        margin: 5px
    }
}

@media screen and (max-width: 1200px) {
    /* stop header transition */
    header {
        height: 150px !important;
        transition: none;
    }

    header img {
        top: 0;
        transform: none !important;
        transition: none;
    }

    header:hover {
        height: 150px;
    }

    header:hover img {
        transform: none;
    }
}

hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(
        to left,
        transparent,
        rgba(91, 206, 250, 1), 
        rgba(245, 169, 184, 1),
        rgba(255, 255, 255, 1),
        rgba(245, 169, 184, 1),
        rgba(91, 206, 250, 1),
        transparent
    );
}

#email-section {
    flex-shrink: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0;
    padding-bottom: 0;
    box-sizing: border-box;
}

#badges-section .container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#badges-section .container div {
    margin: 10px;
    padding: 20px;
    /*border: 1px solid black;
    border-top-style: none;
    border-right-style: solid;
    border-bottom-style: none;
    border-left-style: solid;
    /*border-radius: 12px;*/
    padding: 5px;
}

#badges-section .container p {
    margin: 1rem;
    margin-left: 1rem;
    margin-right: 1rem;
    text-align: center;
    font-size: 0.9rem;
}

#badges-section .container h1 {
    margin: 1rem;
    margin-left: 1rem;
    margin-right: 1rem;
    text-align: center;
    font-size: 1rem;
    font-family: 'Courier New', Courier, monospace;
    font-weight: normal;
}

#badges-section .container div p:last-of-type {
    font-size: 1rem;
    font-family: 'Courier New', Courier, monospace;
}

#badges-section .container div img {
    display: block;
    margin: auto;
    /*width: 50%;*/
}

#friends-section {
    margin-bottom: 4rem;
}

#friends-section h1 {
    margin: 1.5rem;
    text-align: center;
    font-weight: normal;
    font-size: 1.5rem;
}

#friends-section .container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#friends-section .container div {
    margin: 10px;
    padding: 20px;
    padding: 5px;
}

#friends-section .container div img {
    display: block;
    margin: auto;
    clip-path: circle(50%);
    /*width: 50%;*/
}
