/* Css */
/*Copyright JoonatanKoo 2026. All Rights Reserved.*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");

:root{
    --white: #f9f9f9;
    --black: #36383F;
    --gray: #85888C;
    --dark_gray: #777a87;
    --logo_bg: #293845;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    height: 100%;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body{
    position: relative;
    background-color: var(--white);
    font-family: "Poppins", sans-serif;
    min-height: 100%;
    padding-bottom: 6.74rem;
    overflow-x: hidden;
    box-sizing: inherit;
}

h1{
    margin: 20px;
    text-align: center;
    font-size: 40px;
}

h6{
    font-weight: 400;
    margin: 20px;
    text-align: center;
    font-size: 20px;
}

h5{
    font-size: 50px;
    text-align: center;
    margin: 20px;
}

p{
    margin: 20px;
    margin-left: clamp(10px, 10vw, 400px);
    font-size: 20px;
}

a{
    margin: 20px;
    font-size: 20px;
}

ul{
    list-style: none;
}

.header{
    background-color: var(--logo_bg);
    box-shadow: 1px 1px 5px 0px var(--gray);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.logo{
    display: inline-block;
    color: var(--white);
    font-size: 0px;
    margin-left: 10px;
}

.nav{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--logo_bg);
    overflow: hidden;
    max-height: 0;
    transition: max-height .5s ease-out;
    z-index: 999;
}

.menu a{
    display: inline-block;
    padding: 30px;
    color: var(--white);
}

.menu a:hover{
    background-color: var(--gray);
}

.hamb{
    cursor: pointer;
    float: right;
    padding: 40px 20px;
    z-index: 1001;
    position: relative;
}

.hamb-line{
    background: var(--white);
    display: block;
    height: 2px;
    position: relative;
    width: 24px;
    z-index: 99;
}

.hamb-line::before,
.hamb-line::after{
    background: var(--white);
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.hamb-line::before{
    top: 5px;
}

.hamb-line::after{
    top: -5px;
}

.side-menu{
    display: none;
}

.side-menu:checked ~ nav{
    max-height: 100%;
}

.side-menu:checked ~ .hamb .hamb-line{
    background: transparent;
}

.side-menu:checked ~ .hamb .hamb-line::before{
    transform: rotate(-45deg);
    top: 0;
}

.side-menu:checked ~ .hamb .hamb-line::after{
    transform: rotate(45deg);
    top: 0;
}

body:has(.side-menu:checked){
    overflow: hidden;
}

.Website_image{
    width: 100%;
    max-width: 200px;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

footer{
    color: var(--white);
    font-size: 18px;
    padding: 20px;
    text-align: center;
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    background: var(--logo_bg);
}

/*Idk why i put this here. Anyway, why are you inspecting my code?*/
.carousel{
    position: relative;
    z-index: 0;
    isolation: isolate;
}

/*Socials footer thingymabob*/

.social-footer-container{
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-footer {
  display: flex;
  gap: 15px;
}

.social-box {
  width: 50px;
  height: 50px;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.social-box:hover {
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(255,255,255,0.3);
}

.social-box span {
  position: absolute;
  left: 60px;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.3s ease;
  font-size: 14px;
  color: #fff;
}

.social-box:hover span {
  opacity: 1;
  left: 55px;
}

.social-box img {
  width: 24px;
  height: 24px;
}

@media (min-width: 768px){
    footer p{
        margin-left: 0px;
        text-align: center;
        align-items: center;
    }

    .Website_image{
        max-width: 300px;
    }

    .nav{
        max-height: none;
        top: 0;
        position: relative;
        float: right;
        width: fit-content;
        background-color: transparent;
    }

    .menu li{
        float: left;
    }

    .menu a:hover{
        background-color: transparent;
        color: var(--gray);
    }

    .hamb{
        display: none;
    }
}

@media (min-width: 1024px){
    p{
        margin-left: 32vw;
    }
}

@media (min-width: 1024px) and (max-width: 1365px){
    p{
        margin-left: 20vw;
    }
}

@media (min-width: 600px) and (max-width: 1023px){
    p{
        margin-left: clamp(20px, 12vw, 350px);
    }
}
