@primary-color: #DBD4FF;
@secondary-color: #723480;
@bg-color: #FFFFE3;
@border: 5px solid @secondary-color;
@radius: 20px;

html {
    text-align: center;
    background-color: @primary-color;
    color: @secondary-color;
}

body {
    margin: 0;
}

h3 {
    font-size: 2rem;
}

#logo {
    margin: 0 auto;
    width: 75px;
    padding-top: 1em;
}

#title {
    font-size: 4em;
    font-weight: bold;
    margin: 0.5em 0;
    font-stretch: extra-expanded;
}

#header, #footer {
    color: @secondary-color;
    background-color: @bg-color;
}

#footer {
    margin: 0.8em 0 0 0;
    border-top: @border;
}

#header {
    margin: 0 0 0.8em 0;
    border-top: black solid 1px;
    border-bottom: @border;
}

#oMnie {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    padding: 1em;
    margin: 2em;
    font-size: 1.25rem;
}

#oMnie-left {
    width: auto;
}

#oMnie-right {
    width: 30em;
}

#oMnie img {
    max-width: 90%;
    height: auto;
    border: white solid 8px;
    border-radius: @radius;
}

.section {
    padding: 0.5em;
    display: grid;
    grid-template-columns: 1fr;
    margin: 1em;
    align-items: center;
}

.dt {
    font-weight: bold;
    font-size: 1.5em;
}

.dd {
    font-size: 1.25em;
    margin: 1em;
}

.footer-text {
    margin: 0;
    padding: 0.8em;
    font-size: 1.4rem;
}

.section-title {
    background-color: @bg-color;
    color: @secondary-color;
    border: @border;
    border-radius: @radius;
    padding: 0.5em 2em;
    margin: auto;
    justify-self: center;
}

.dip-img {
    max-width: 50%;
    height: auto;
    border: white solid 8px;
    border-radius: @radius;
    justify-self: center;
    margin: 1em;
}

.text-align {
    text-align: left;
}

@media screen and (min-width: 769px) {
    .boxes {
        display: flex;
        max-width: 60%;
        justify-self: center;
    }
    .section-width {
        width: 50%;
    }

    #dyplomy-box {
        display: grid;
        grid-template-columns: 1fr 1fr;
        max-width: 75%;
        justify-self: center;
    }

    body {
        display: grid;
        justify-content: center;
    }

    #oMnie {
        max-width: 50%;
        justify-self: center;
    }

    #oMnie-left {
        width: 50%;
    }
}

@media screen and (max-width: 768px) {
    #title {
        font-size: 3em;
    }
    
    #oMnie {
        flex-direction: column;
        padding: 0 1rem 1rem 1rem;
    }

    #oMnie-left {
        width: 100%;
    }

    #oMnie-right {
        width: auto;
    }

    #dyplomy-box {
        display: flex;
        flex-direction: column;
        align-items: center;

    }
    .dip-img {
        max-width: 80%;
    }
}