@font-face {
    font-family: 'Banana';
    src: url('./fonts/Banana_Brick.otf') format('otf');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Boomboom';
    src: url('./fonts/boomboom.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

:root {
    --font-color: #f0f0f0;
}

body, h1, h2, h3, h4, h5, p, ul {
    padding: 0;
    margin: 0;
}

h1 {
    text-align: center;
    color: #DA70D6;
    font-weight: bold;
    font-family: 'Boomboom', sans-serif;
    margin-bottom: 5px;
}

header, #myphoto, main {
    margin-bottom: 12px;
}

html {
    background-color: #1a1a1a;
}

body {
    color: var(--font-color);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 50px #000000;
    border-radius: 25px;
    margin: 0 auto;
    border: 1px solid #333333;
    width: 550px;
    min-height: 99vh;
    background-color: #222222;
    font-size: 16px;
}

footer {
    text-align: center;
    padding: 7px;
    margin: auto 0 0 0; /*margin-top для підорів.*/
    background-color: #333333;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}

.linktome img, li {
    --links-prop: 31px;
    width: var(--links-prop);
    margin-right: 5px;
    border-radius: 60%;
    list-style: none;
}

.linktome ul {
    display: flex;
    justify-content: center;
    background-color: #3a3a3a;
    border-radius: 25px;
    padding: 5px;
}

.inform_to_me h2 {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 25px;
    color: #DA70D6;
}

.aboutme {
    border-radius: 15px;
    background-color: #333333;
    padding: 15px;
    margin: 10px 15px;
    font-size: 16px;
    font-weight: bold;
    font-family: 'Banana', sans-serif;
    color: #f0f0f0;
}

#myphoto {
    display: block;
    object-fit: fill;
    margin: 0 auto;
    transform: scale(1.05);
    width: 215px;
    box-shadow: 0px 0px 46px rgba(149, 14, 58, 0.7);
    height: 215px;
    margin-bottom: 15px;
    border-radius: 60%;
    border: 3px solid #DA70D6;
}

#footer_1 {
    color: #DA70D6;
    transition: color 1s ease;
}

#footer_1:hover h5{
    color: #9370DB;
}

@media (max-width: 600px) {
    body {
        width: 95%;
        margin: 10px auto;
        border-radius: 15px;
        min-height: 95vh;
    }

    h1 {
        font-size: 28px;
    }

    #myphoto {
        width: 150px;
        height: 150px;
        transform: scale(1);
        box-shadow: 0px 0px 20px rgba(149, 14, 58, 0.5);
    }

    .inform_to_me h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .aboutme {
        padding: 10px;
        margin: 10px;
        font-size: 15px;
    }

    .linktome ul {
        flex-direction: column;
        align-items: center;
        border-radius: 15px;
    }

    .linktome li {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .linktome img {
        --links-prop: 28px;
        width: var(--links-prop);
        height: var(--links-prop);
        margin: 0 auto 5px auto;
    }

    footer {
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
    }
}

@media (max-width: 400px) {
    h1 {
        font-size: 24px;
    }

    #myphoto {
        width: 120px;
        height: 120px;
    }

    .linktome img {
        --links-prop: 25px;
    }
}