@font-face {
    font-family: charm;
    src: url("../fonts/Charm-Bold.ttf");

}

body {
    margin: 0;
    background-color: rgb(230, 230, 230);
    font-family: Arial;
    font-size: 20px;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;

}

#container {
    margin-top: 30px;
    padding: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 80%;
}


#description {
    height: 125px;
    margin-bottom: 30px;
    background-color: white;
    display: flex;
    justify-content: flex-start;

}

#buttons {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    flex-grow: 1;

}

.sylabus-buttons {
    display: block;
    padding: 0.2rem 0 0.2rem 0;
    border-radius: 3px;
    background-color: dodgerblue;
    color: white;
    text-decoration: none;
    width: 8rem;
    text-align: center;
    box-shadow: 1px 3px 3px 0 rgb(175, 175, 175);
    transition: box-shadow 0.2s linear, transform 0.2s linear;
    font-size: 1.75rem;
}

.sylabus-buttons:hover {
    transform: scale(1.1);
    box-shadow: 1px 3px 5px 0 rgb(225, 225, 225);


}

#image-container {
    height: 100%;

}

#image-container > img {
    display: block;
    height: 100%;

}

#description-container {
    margin-right: 1rem;
    flex-grow: 4;
    display: flex;
    flex-direction: column;

}

#description-container > * {
    margin: 0;

}

#description-container > h2 {}

#price {

    margin-top: auto;
}

#share {
    display: flex;
    margin-top: 5px;
    align-items: center;
}

#share > * {
    margin-right: 5px;

}

#share img {
    height: 30px;

}

#share-mail {
    all: unset;
    margin-right: 5px;
    cursor: pointer;

}

#sylabus-wrapper {
    background-color: white;

}

#sylabus {
    margin: 0 20px 20px 20px;


}

@media(max-width: 1100px) {

    #share {
        margin: 0;

    }

}


@media(max-width:1000px) {

    #description {
        flex-direction: column;

    }

    .sylabus-buttons {
        align-self: center;
        margin-bottom: 10px;

    }

    #image-container {
        display: none;

    }

    #description {
        min-height: 125px;
        height: auto;

    }

    #description-text {
        display: none;

    }

}
