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

@import 'css/header.css';
@import 'css/about.css';
@import 'css/services.css';
@import 'css/contact.css';

/* VARS */
:root {
    --color: #BDC440;
    --color-o: #BDC440A0;
    --text-color: #000000;
    --rad: 15px;
    --shadow: 1px 1px 4px #0008;
}

/* RESET */
*, *::after, *::before {
    box-sizing: border-box;
	margin: 0;
	padding: 0;
    outline: none;
    border: none;
    position: relative;
}
ol, ul {
	list-style: none;
}
a, a:visited {
    text-decoration: none;
    color: inherit;
}
body {
    font-family: 'Lato', sans-serif;
    scroll-behavior: smooth;
}

/* safari reset */
input[type=text], input[type=button], textarea {
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
	-webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}
input {
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* scrollbar */
*::-webkit-scrollbar {
    width: 0.5rem;
    border-radius: var(--rad);
}
*::-webkit-scrollbar-track {
    border-radius: var(--rad);
    background-color: lightgray;
}

*::-webkit-scrollbar-thumb {
    border-radius: var(--rad);
    background-color: gray;
}

/* selection */
::-moz-selection {
    background-color: lightgray;
}
::selection {
    background-color: lightgray;
}

/* common */
html {
    background-color: rgb(229, 220, 194);
    background-image: url("/assets/img/wallboat.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
html, body {
    min-height: 100svh;
}
body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}
section {
    max-width: 800px;
}
.section-title {
    padding-top: 50px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 2rem;
    font-weight: 900;
    font-family: 'Poppins', 'Karla', sans-serif;
}
#selfPromotion {
    font-family: 'Courier New', Courier, monospace;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
    padding-inline: 20px;
    margin-top: auto;
    text-shadow: 0 0 1px #fff;
}
main:has(.banner) {
    margin-block: auto;
}
.banner{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 4rem;
    padding-bottom: 2rem;
}
.banner strong {
    font-size: 3rem;
}
.banner span {
    font-size: 1.5rem;
}
.index {
    width: 100%;
    padding-inline: 20px;
    padding-block: 2rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: auto;
    gap: 1rem;
}
.index-item {
    height: 80px;
    border-radius: var(--rad);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.4rem;
    padding: 20px 10px;
    background-color: var(--color-o);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    width: 160px;
    transition: scale 0.2s ease-in-out;
    box-shadow: var(--shadow);
    cursor: pointer;
}
.index-item:hover {
    scale: 1.1;
}

@media screen and (max-width: 380px) {
    .index-item {
        height: 60px;
        width: 140px;
        font-size: 16px;
    }
}