/*General style*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

h2 {
    color: black;
    font-size: 3rem;
    font-weight: 600;
}

p {
    color: rgb(0, 0, 0);
    font-weight: 500;
    font-size: 1.5rem;
}

a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    text-decoration-color: white;
    font-weight: 500;
    z-index: 1000;
}

a:hover {
    text-decoration: underline;
    text-underline-offset: 1rem;
    text-decoration-color: rgb(0, 0, 0);
}

.fit {
    max-width: 100%;
    max-height: 100%;
}
.center {
    display: block;
    margin: auto;
}

/*Hover animation*/

a, .button {
    transition: all 300ms ease;
}

.logo {
    transition: all 300ms ease;
}

/*Navigation Desktop*/

nav, .nav-links {
    display: flex;
}

nav  {
    justify-content: space-around;
    align-items: center;
    height: 18vh;
    z-index: 1000;
}

.nav-links {
    gap: 2rem;
    list-style: none;
    font-size: 1.5rem;
}

.logo {
    font-size: 2rem;
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-weight: 600;
}

.logo:hover {
    cursor: default;
    font-size: 2.1rem;
}

/*Navigation Mobile*/

#mobile-nav {
    display: none;
}

.mobile-menu {
    position: relative;
    display: inline-block;
    z-index: 1000;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
}

.menu-icon span {
    width: 100%;
    height: 2px;
    background-color: rgb(0, 0, 0);
    transition: all 0.3 ease-in-out;
}

.menu-list {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3 ease-in-out;
}

.menu-list a {
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1.5rem;
    color: rgb(0, 0, 0);
    text-decoration: none;
    transition: all 0.3 ease-in-out;
}

.menu-list li {
    list-style: none;
}

.menu-list.open {
    max-height: 300px;
}

.menu-icon.open span:first-child {
    transform: rotate(45deg) translate(10px, 5px);
}
.menu-icon.open span:nth-child(2) {
    opacity: 0;
}
.menu-icon.open span:last-child {
    transform: rotate(-45deg) translate(10px, -5px);
}

.menu-icon span:first-child {
    transform: none;
}
.menu-icon span:first-child {
    opacity: 1;
}
.menu-icon span:first-child {
    transform: none;
}

/*------------------------------------------------------------------------------------------*/

/*Desktop Home Page*/

.desktop-home {
    position: absolute;
    background: rgb(255, 255, 255);
    padding: 8%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    display: flex;
    width: 100%; /*Makes the home-page be maximally wide*/
}

.desktop-home img {
    border-radius: 50%;
    max-width: 25%;
    max-height: 25%;
    transition: all 500ms ease;
    align-self: center;
    margin-top: -5%;
}

.desktop-home img:hover {
    border-radius:10%;
    transition: all 500ms ease;
}

.desktop-description {
    align-items: center;
    margin-left: 15%;
    margin-right: 15%;
    margin-top: -5%;
}

.desktop-description h2 {
    font-size: 6rem;
}

.desktop-description p {
    font-size: 2rem;
    font-weight: 500;
    font-style: italic;
}

/*Mobile Home Page*/

.mobile-home {
    position: absolute;
    background: transparent;
    padding: 8%;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    align-self: center;
    width: 85%; /*Website behaves weirdly when set to 100% -> must be 85% instead*/
    display: none; 
}

.mobile-home img {
    border-radius: 0%;
    width: 75%;
    height: auto;
    object-fit: contain; /*Prevents image warping*/
    transition: all 500ms ease;
    align-self: center;
    margin-left: 0%;
}

.mobile-home img:hover {
    border-radius:0%;
    transition: all 500ms ease;
}

.mobile-description {
    align-items: center;
    margin-top: 10%;
    margin-left: 0%;
    text-align: center;
}

.mobile-description h2 {
    font-size: 3rem;
}

.mobile-description p {
    font-size: 1.5rem;
    font-weight: 500;
    font-style: italic;
    margin-top: 5%;
}

/*Desktop About Page*/

.desktop-about {
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

.desktop-about h2 {
    font-size: 3rem;
    text-align: center;
}

.desktop-about p {
    font-size: 1.5rem;
    text-align: left;
    margin-left: 19%;
    margin-right: 19%;
    font-weight: 500;
}

/*Mobile About Page*/

.mobile-about {
    justify-content: left;
    align-items: left;
    width: 100%;
    display: none;
    flex-direction: column;
}

.mobile-about h2 {
    font-size: 2rem;
    text-align: center;
}

.mobile-about p {
    font-size: 1rem;
    text-align: center;
    margin-left: 19%;
    margin-right: 19%;
    font-weight: 500;
}

.mobile-about-placeholder {
    width: 100%;
    height: 10%;
}

/*Desktop King Page*/

.desktop-king {
    position: absolute;
    padding: 8%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    display: flex;
    width: 100%; /*Makes the home-page be maximally wide*/
    background: white;
}

.desktop-king img {
    border-radius: 50%;
    max-width: 15%;
    max-height: 15%;
    transition: all 500ms ease;
    align-self: center;
    margin-top: -5%;
    margin-left: 0%;
}

.desktop-king img:hover {
    border-radius:10%;
    transition: all 500ms ease;
}

.desktop-about-king {
    align-items: center;
    margin-left: 5%;
    margin-right: 15%;
    margin-top: -5%;
    max-width: 40%;
}

.desktop-about-king h2 {
    font-size: 3rem;
}

.desktop-about-king p {
    font-size: 1.5rem;
    font-weight: 500;
}

/*Mobile King Page*/

.mobile-king {
    position: absolute;
    background: transparent;
    padding: 8%;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    align-self: center;
    width: 85%; /*Website behaves weirdly when set to 100% -> must be 85% instead*/
    display: none;
}

.mobile-king img {
    border-radius: 0%;
    max-width: 50%;
    height: auto;
    object-fit: contain; /*Prevents image warping*/
    transition: all 500ms ease;
    align-self: center;
    margin-left: 0%;
}

.mobile-king img:hover {
    border-radius:0%;
    transition: all 500ms ease;
}

.mobile-about-king {
    align-items: center;
    margin-top: 10%;
    margin-left:-15%;
    text-align: center;
    margin-left: 10%;
    margin-right: 10%;
}

.mobile-about-king h2 {
    font-size: 2rem;
}

.mobile-about-king p {
    font-size: 1rem;
    font-weight: 500;
    margin-top: 5%;
}

/*Contact Page*/

.contact {
    box-sizing: border-box;
    align-items: center;
    width: 100%;
    display: flex;
    text-align: center;
}

.contact-forms {
    height: 50vh;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    display: flex;
    font-family: "Poppins", sans-serif;
}

.contact-title h2 {
    font-weight: 600;
    font-size: 3rem;
}

.contact-title hr {
    border: none;
    width: 120px;
    height: 5px;
    border-radius: 10px;
    margin-bottom: 20px;
    background-color: black;
}

.contact-input {
    width: 400px;
    height: 50px;
    border-width: 3px;
    border-color: black;
    padding-left: 25px;
    font-weight: 500;
    color: rgb(0, 0, 0);
    border-radius: 50px;
    background-color: rgb(250, 250, 250);
}

.contact textarea {
    height: 140px;
    padding-top: 15px;
    border-radius: 20px;
}

.contact-forms button {
    align-items: center;
    padding: 15px 30px; 
    display: flex;
    font-size: 16px;
    font-family: "Poppins", sans-serif;
    gap: 10px;
    border: none;
    background-color: black;
    color: white;
    border-radius: 10px;
}