@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;
}

body {
    width: 100%;
    height: 100vh;
    display: flex;

    justify-content: center;
    align-items: center;

    position: relative;

    margin: 0;

    background-color: #282828;

    font-family: 'DinishExpanded', sans-serif;

    user-select: none;
}

.gradientcenter {
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 25%;
    background: radial-gradient(ellipse farthest-side at bottom, rgba(144, 55, 73, 0.603) 0%, rgba(0, 0, 0, 0) 100%);
    background-repeat: no-repeat;

    z-index: -1;
}

.gradientleft {
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 30%;
    height: 40%;
    background: radial-gradient(ellipse farthest-side at left bottom, rgba(144, 55, 73, 0.603) 0%, rgba(0, 0, 0, 0) 100%);
    background-repeat: no-repeat;

    z-index: -1;
}

.gradientright {
    position: absolute;
    right: 0px;
    bottom: 0px;
    width: 30%;
    height: 40%;
    background: radial-gradient(ellipse farthest-side at right bottom, rgba(144, 55, 73, 0.603) 0%, rgba(0, 0, 0, 0) 100%);
    background-repeat: no-repeat;

    z-index: -1;
}

main {
    width: 1300px;
    height: 600px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-left: 20px;
    margin-right: 20px;
}

.logosection {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    width: 100%;
    height: 100%;
    animation: scale-in 2s ease 0.5s backwards;
    position: relative;
    overflow: hidden;
}

@keyframes scale-in {
    from {
        transform: scale(0);

    }

    to {
        transform: scale(1);
    }
}

#prop {
    width: 500px;
    height: 500px;
    filter: drop-shadow(0px 0px 10px rgba(144, 55, 73));
    user-select: none;
}

.proptag {
    position: absolute;
    top: 50px;
    left: 50px;
    font-size: 20px;
    rotate: 325deg;
    color: #E84545;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
    animation: scale-in 1s ease 3s backwards;
}

.proptag i {
    animation: spinit 10s linear infinite;
}

@keyframes spinit {
    from {
        rotate: 0deg;
    }

    to {
        transform: rotate(360deg);
    }

}

@keyframes scale-out {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(0);
    }
}

.active {
    width: 600px;
    height: 600px;
}

.textsection {
    height: 100%;
    color: white;
    font-size: 90px;
    font-weight: bold;
    text-align: end;

    display: flex;
    justify-content: end;
    align-items: center;

    transition: all 0.2s ease-in-out;
    animation: drop-in-top 1s ease;
}

@keyframes drop-in-top {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translate(0px);
    }
}

.highlighted {
    color: #E84545;
    filter: drop-shadow(0px 0px 30px rgba(144, 55, 73));
}

.navsection {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    animation: drop-in-bottom 1s ease;
}

@keyframes drop-in-bottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translate(0px);
    }
}

nav {
    width: 650px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;

    box-sizing: border-box;

    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 60px;
    border: #E84545 2px solid;

    padding-left: 50px;
    padding-right: 50px;



    transition: width 0.2s ease-in-out, padding-left 1s ease-in-out, padding-right 1s ease-in-out;
}

nav ul {
    width: 100%;
    height: 100%;
    display: grid;
    justify-content: center;
    align-items: center;

    grid-template-columns: repeat(4, 1fr);

    font-size: 35px;
    list-style-type: none;
}

nav ul li {
    display: flex;
    justify-content: center;
    align-items: center;
}

.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: -40px;
    transition: all 0.2s ease-in-out;
}

.navitem i {
    position: absolute;
    opacity: 1;
    bottom: 0px;
    transition: all 0.2s ease-in-out;
}

.navitem:hover i {
    opacity: 0;
    bottom: -40px;
}

.navitem:hover p {
    opacity: 1;
    top: 0px;
}

.ianim {
    opacity: 0;
    bottom: -40px;
}

.panim {
    opacity: 1;
    top: 0px;
}

footer {
    position: absolute;
    bottom: 10px;
}

footer p {
    font-size: 10px;
    color: rgba(0, 0, 0, 0.5);
}

@media (max-width: 1300px) {
    main {
        width: 90%;
        height: 500px;
    }

    .textsection {
        font-size: 60px;
    }

    nav {
        width: 550px;
        height: 100px;
        border-radius: 50px;
        padding-left: 40px;
        padding-right: 40px;
    }

    nav ul {
        font-size: 30px;
    }

    .navitem {
        height: 30px;
    }

    #prop {
        width: 380px;
        height: 380px;
    }

    .proptag {
        top: 40px;
        left: 40px;
        font-size: 18px;
    }
}

@media (max-width: 1100px) {
    #prop {
        width: 320px;
        height: 320px;
    }

    .proptag {
        top: 40px;
        left: 20px;
        font-size: 14px;
    }

    nav {
        width: 500px;
        height: 90px;
        border-radius: 45px;
        padding-right: 35px;

    }

    nav ul {
        font-size: 25px;
    }

    .navitem {
        height: 25px;
    }
}

@media (max-width: 975px) {
    main {
        width: 100%;
        height: 400px;
    }

    #prop {
        width: 280px;
        height: 280px;
    }

    .proptag {
        top: 40px;
        left: 30px;
        font-size: 12px;
    }

    nav {
        width: 400px;
        height: 80px;
        border-radius: 40px;
        padding-left: 30px;
        padding-right: 30px;
    }

    nav ul {
        font-size: 20px;
    }

    .navitem {
        height: 20px;
    }

    .textsection {
        font-size: 50px;
    }
}

@media (max-width: 768px) {
    main {
        width: 500px;
        height: 700px;
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 0px;
    }

    .textsection {
        font-size: 40px;
        justify-content: center;
        text-align: center;
    }

    .logosection {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        height: 320px;
    }

    .navsection {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
        justify-content: center;

    }

    nav {
        width: 100%;
        margin: 0px;
    }

    nav ul {
        font-size: 25px;
    }

    .navitem {
        height: 25px;
    }

    #prop {
        width: 280px;
        height: 280px;
    }

    .proptag {
        top: 30px;
        left: 50px;
        font-size: 16px;
    }
}

@media (max-width: 768px) and (max-height: 768px) {
    main {
        width: 100%;
        height: 90%;
    }

    nav {
        width: 500px;
        margin: 0px;
    }

    .proptag {
        top: 30px;
        left: 100px;
        font-size: 16px;
    }
}

@media (max-width: 550px) {
    nav {
        width: 400px;
    }

    nav ul {
        font-size: 20px;
    }

    .navitem {
        width: 40px;
        height: 20px;
    }

    #prop {
        width: 300px;
        height: 300px;
    }

    .proptag {
        top: 30px;
        left: 60px;
        font-size: 12px;
    }
}

@media (max-width: 425px) {
    nav {
        width: 280px;
        height: 150px;
        padding: 0px;
        border-radius: 25px;
    }

    nav ul {
        font-size: 25px;
        grid-template-columns: repeat(2, 1fr);
    }

    .navitem {
        width: 30px;
        height: 25px;
    }

    #prop {
        width: 280px;
        height: 280px;
    }

    .proptag {
        top: 25px;
        left: 20px;
        font-size: 12px;
    }

    .textsection {
        font-size: 35px;
    }
}

@media (max-height: 660px) {
    body {
        min-height: 100vh;
        height: auto;
        box-sizing: border-box;
    }
}

@media (max-height: 660px) and (max-width: 768px) {
    body {
        min-height: 100vh;
        height: auto;
        box-sizing: border-box;
    }

    main {
        margin-top: 27px;
        margin-bottom: 27px;
        box-sizing: border-box;
    }

    .textsection {
        font-size: 40px;
        justify-content: center;
        text-align: center;
    }

    .logosection {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
        height: 400px;
    }

    .navsection {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        justify-content: center;
    }
}