@font-face {
    font-family: "DinishExpanded";
    src: url(../fonts/DinishExpanded/DinishExpanded-Regular.otf);
}

@font-face {
    font-family: "DinishExpanded-Bold";
    src: url(../fonts/DinishExpanded/DinishExpanded-Bold.otf);
    font-weight: bold;
}

/*https://www.w3schools.com/howto/howto_css_custom_scrollbar.asp*/

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: rgba(40, 40, 40, 1);
}

::-webkit-scrollbar-thumb {
    background: #E84545;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(144, 55, 73, 1);
}

html,
body {
    scroll-behavior: smooth
}

body {
    width: 100%;
    min-height: 100vh;

    margin: 0;

    background: linear-gradient(0deg, rgba(144, 55, 73, 1) 0%, rgba(40, 40, 40, 1) 70%);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    font-family: 'DinishExpanded', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

main {
    width: 1200px;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;

    box-shadow: 0px 0px 20px -5px rgba(0, 0, 0, 1);
    clip-path: inset(0px -15px 0px -15px);

    padding-bottom: 30px;

    flex-grow: 1;
}

header {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    background-color: rgba(0, 0, 0, 0.3);
    border-bottom: #E84545 2px solid;
}

.home {
    width: 60px;
    height: 60px;

    padding: 10px;

    display: flex;
    justify-content: center;
    align-items: center;

    animation: propin 1s ease 1s backwards;
}

.logo {
    width: 60px;
    height: 60px;
    background-image: url(../images/prop_v2.svg);
    filter: drop-shadow(0px 0px 5px rgba(144, 55, 73));
    ;
    animation: logospin 30s linear infinite;
    pointer-events: none;
}

@keyframes logospin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

nav {
    width: 570px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;

    box-sizing: border-box;

    background-color: rgba(0, 0, 0, 0);
    border-radius: 30px;
    border: #E84545 2px solid;

    transition: all 0.2s ease-in-out;

    box-sizing: border-box;
}

nav ul {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;

    font-size: 30px;
    list-style-type: none;
}

.navitem {
    color: #E84545;
    text-decoration: none;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;

    width: 60px;
    height: 35px;
}

.navitem p {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    top: -11px;
    transition: all 0.2s ease-in-out;
}

.navitem i {
    position: absolute;
    opacity: 1;
    bottom: 3px;
    transition: all 0.2s ease-in-out;
}

.navitem:hover i {
    opacity: 0;
    bottom: -10px;
}

.navitem:hover p {
    opacity: 1;
    top: 0px;
}

.selectedpage {
    filter: drop-shadow(0px 0px 5px rgba(232, 69, 69, 1));
}

article {
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

article section {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

h1 {
    font-size: 80px;
    font-weight: bold;
    color: #E84545;
    margin: 20px;
    filter: drop-shadow(0px 0px 30px rgba(144, 55, 73, 0.75));
}

article p {
    font-size: 30px;
    text-align: justify;
    line-height: 45px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.highlighted {
    color: #E84545;
    filter: drop-shadow(0px 0px 10px rgba(144, 55, 73));
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.highlighted:hover {
    filter: drop-shadow(0px 0px 20px rgba(144, 55, 73));
}

.smalltext {
    font-size: 12px;
    text-align: center;
    margin: 0px;
}





footer {
    width: 100%;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #E84545;

    background-color: rgba(0, 0, 0, 0.3);

    border-top: #E84545 2px solid;

    font-size: 12px;

    gap: 16px;
}

footer a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;



    color: #E84545;

    filter: drop-shadow(0px 0px 0px rgba(144, 55, 73));

    transition: all 0.2s ease-in-out;
}

footer a:hover {
    filter: drop-shadow(0px 0px 10px rgba(144, 55, 73));
    ;
    transform: scale(1.2);
}

footer a i {
    font-size: 30px;
}

footer a p {
    font-size: 20px;
}

.hamburger {
    visibility: hidden;
    width: 60px;
    height: 60px;

    padding: 10px;

    display: flex;
    justify-content: center;
    align-items: center;

}

.hamburger button {
    font-size: 40px;
    color: #E84545;
    transition: all 0.2s ease-in-out;
    background-color: rgba(0, 0, 0, 0);
    border: none;
    z-index: 2;
}

.opened {
    top: 100px;
    right: 20px;
    height: 300px;
    width: 200px;
}

h2 {
    font-size: 25px;
    text-align: center;
    margin-bottom: 10px;
    filter: drop-shadow(0px 0px 10px rgba(255, 255, 255, 0.75));
}

main * {
    animation: contentin 1s ease;
}

@keyframes propin {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

@keyframes contentin {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }

    to {
        transform: translateY(0px);
        opacity: 1;
    }
}

@media (max-width: 1200px) {
    main {
        width: 100%;
    }
}

@media (max-width: 768px) {
    nav {
        position: absolute;
        top: 37px;
        right: 37px;
        width: 0px;
        height: 0px;
        z-index: 1;
        background-color: rgba(28, 28, 28, 1);
        overflow: hidden;
    }

    nav ul {
        flex-direction: column;
    }

    .hamburger {
        visibility: visible;
    }

    h1 {
        font-size: 50px;
    }

    article p {
        font-size: 25px;
        line-height: 30px;
    }
}

@media (max-width: 425px) {
    h1 {
        font-size: 40px;
    }

    article p {
        font-size: 20px;
        line-height: 25px;
    }
}