@import url('https://fonts.googleapis.com/css2?family=Oswald&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@300;400;500&family=Oswald&display=swap');

html {
    scroll-behavior: smooth;
    scroll-padding: 5rem;
    height: 100%;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Oswald';
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

body {
    font-family: montserrat;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: rgb(236, 236, 236);
}

::selection {
    background-color: black;
    color: yellow;
}

/* ---------------------- nav bar -----------------------------------*/

header {
    background: #ff0000;
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
}

header .logo {
    font-size: 30px;
    text-transform: uppercase;
    color: white;
    font-family: Impact, Haettenschweiler, 'Arial Narrow', sans-serif;
}

header nav ul {
    display: flex;
}

header nav ul li a {
    text-align: center;
    display: inline-block;
    color: white;
    padding: 5px 0;
    margin: 0 5px;
    border: 3px solid transparent;
    text-transform: uppercase;
    transition: 0.2s;
    font-family: 'Oswald';
}

.bar a:hover,
header nav ul li a:hover,
header nav ul li a.active {
    border-bottom-color: rgb(0, 255, 229);
}

.hamburger {
    cursor: pointer;
    display: none;
}

.hamburger div {
    width: 30px;
    height: 3px;
    margin: 5px 0;
    background: white;
}

@media only screen and (max-width: 900px) {
    header {
        padding: 0 20px;
    }

    header .logo {
        font-size: 25px;
        letter-spacing: 1px;
    }
}

@media only screen and (max-width: 700px) {
    .hamburger {
        display: block;
    }

    header .logo {
        font-size: 20px;
    }

    header nav {
        position: absolute;
        width: 100%;
        left: -100%;
        top: 70px;
        width: 100%;
        background: #ff0000;
        ;
        padding: 30px;
        transition: 0.3s;
    }

    header #nav_check:checked~nav {
        left: 0;
    }

    header nav ul {
        display: block;
    }

    header nav ul li a {
        margin: 5px 0;
    }
}

/* -------------------------------- main code ---------------------------------------- */

main {
    display: flex;
    justify-content: center;
    align-content: center;
    user-select: none; /* Standard syntax */
}

.container {
    background-color: white;
    width: 500px;
    height: 500px;
    margin: 50px;
    display: flex;
    align-items: center;
    flex-direction: column;
    border: 1px solid black;
    border-radius: 30px;
    box-shadow: 0px 0px 10px 2px rgb(151, 151, 151);
}

.imgHolder {
    width: 100%;
    height: 300px;
    padding: 5px;
    margin: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

img {
    width: 30%;
    border-radius: 10px;
    max-width: 200px;
    border: 4px solid black;
    box-shadow: 3px 3px 5px 1px rgb(78, 78, 78);
}

.button-box {
    width: 100%;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: space-evenly;
}

.button {
    width: 100px;
    height: 20px;
    padding: 25px;
    box-shadow: 0 0 0 3px rgb(0, 0, 0);
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(0, 0, 0);
    background-color: #fff;
    user-select: none; /* Standard syntax */
}

#note {
    width: 85%;
    margin-top: 50px;
    padding: 10px;
    font-size: 17px;
    text-align: center;
    border-radius: 10px;
}