@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;700&display=swap");

/* Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Main */
html {
    font-size: 18px;
    font-family: 'Martel', serif;
    word-break: break-word;
    -ms-overflow-style: none;
    scrollbar-width: none; 
}
body {
    line-height: 1.5;
    background-color:#eeecec; 
    color: black;
}
.main {
    text-align: center;
    width: 100%;
    display: inline-block;
}
h1 {
    background-color: #dcffdc;
    font-size: 35px;
    color: black;
}
h2 {
    font-size: 25px;
    padding-top: 18px;
}
h3 {
    font-size: 20px;
} 
p {
    word-break: break-word;
    color: black;
}
a {
    color: black;
}

/* Updated Tab Wrapper and Tab Styling */
.tab-wrapper {
    width: 100%;
    height: auto;
    position: sticky;
    top: 0;
    background-color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px 0;
}

.tab {
    padding-left: 50px;
    padding-right: 50px;
    overflow-x: auto;
    white-space: nowrap;
    background-color: #333;
    scrollbar-width: none; /* Firefox */
}

.tab a {
    color: #fff;
    text-decoration: none;
    padding: 15px 20px;
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    display: inline-block;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab a:hover, .tab a.active {
    background-color: #555;
    border-bottom: 3px solid #ffcc00; /* Aesthetic underline */
}

/* Smooth transitions for hover effects */
.tab a {
    transition: background-color 0.3s, border-bottom 0.3s;
}

/* Hide scrollbar in tab */
.tab::-webkit-scrollbar {
    display: none;
}

.active {
    text-decoration: underline;
    color: black;
}

.footer {
    text-align: center;
    width: 100%;
    display: inline-block;
}
.share img {
    width: 32px;
    height: 32px;
    padding: 4px;
    margin: 0;
}

/* Index */
.hidebuttonindex {
    background-color: #eeecec;
    color: black;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    font-size: 25px;
    box-sizing: border-box;
} 

.wholetable {
    padding-left: 10px;
    margin: auto;
    width: 500px;
}

/* mineral.html und mineralfilter.html style */
.content-wrapper {
    max-width: 1200px;
    overflow: auto;
    margin: auto;
}
.flex-container {
    overflow-x: hidden;
    overflow-y: hidden;
    white-space: nowrap; 
}

* { box-sizing: border-box }

.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
    overflow-x: hidden;
    overflow-y: hidden;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

.tabelle-zeile {
    vertical-align: top;
}
table {
    white-space: normal;
    text-align: left;
    word-break: normal;
    border-collapse: collapse;
    border: 1px solid black;
    height: 200px;
    width: 100%;
}
h2 input.search-input {
    width: 200px;
}
tr {
    border-bottom: 1px solid black;
}
td {
    vertical-align: middle;
    text-align: left;
    padding-left: 25px;
    padding-right: 25px;
    border: solid black 1px;
}
th {
    padding-left: 25px;
}
tr:nth-child(even) { background: #e4e4e4 }
td:nth-child(1) { 
    width: 30%; 
}
td:nth-child(2) { 
    width: 70%; 
} 

.tablehead {
    background-color: #dcffdc;
}

img.profile-pic {
    max-width: 20%;
    border-radius: 100%;
}
.profile-pic {
    box-shadow: 0 1px 1px 0 black, 0 1px 1px 0 black;
}

ul.aboutme {
    list-style:none;
}
.titleaboutme {
    font-size: 25px;
    font-weight: bold;
}
.textaboutme {
    font-size: 20px;
    text-align: left;
    margin-left: 30%;
    margin-right: 30%;
    font-weight: normal;
}

.tangerinedata {
    padding: 0 30% 0 30%;
}

/* Handy style */
@media only screen and (max-width: 600px) {
    html {
        width: 100%;
    }
	h1 {
		font-size: 25px;
	}
	h2 {
		font-size: 25px;
    }

    .tab-wrapper::before, .tab-wrapper::after {
        content: '';
        pointer-events: none;
        z-index: 8;
        width: 125px;
        height: 48px;
        position: absolute;
        top: 0;
        bottom: 0;
    }
    .tab-wrapper::before {
        background: linear-gradient(to right, rgba(27,16,14,0) 0%, rgba(27,16,14,0.5) 500%);
        right: 0;
    }
    .tab-wrapper::after {
        background: linear-gradient(to left, rgba(27,16,14,0) 0%, rgba(27,16,14,0.5) 500%);
        left: 0;
    }
    .tab {
        box-shadow: 0 0 1px black;
    }

	.hidebuttonindex {
		font-size: 25px;
		border-left: 0;
		border-right: 0;
    }
    .hideinfoindex {
        margin: 5%;
    }
	h3 {
		font-size: 24px;
	}
	p {
		font-size: 18px;
	}
	.tab {
		font-size: 20px;
    }
    .wholetable {
        height: 500px;
    }
    .flex-container {    
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    img.profile-pic {
        max-width: 50%;
        border-radius: 100%;
    }
    .textaboutme {
        font-size: 20px;
        text-align: left;
        margin-left: 10%;
        margin-right: 10%;
    }
    .mineralbox {
        width: 90%;
        height: 100%;
    }
    table {
        height: 300px;
    }
    .next {
        right: 0;
        border-radius: 3px 0 0 3px;
    }
    .prev {
        left: 0;
        border-radius: 3px 0 0 3px;
    }
}