@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --base-color: #ffffff;
    --text-color: #000000;
    --primary-color: #ffc06e;
    --secondary-color: #8d8dff;
    --color-1: #F9F6F3;
    --color-2: #F3F7F9;
    --color-3: #F6F3F9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: Poppins, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
}

body {
    padding: 1em;
    background-color: var(--base-color);
    background-color: rgb(213, 236, 219);   
}

h2, h3 {
    font-family:Verdana, Poppins, 'Segoe Ui', Tahoma, Geneva, Verdana, sans-serif;   
}

nav {
   margin: 1em auto 3em auto;
   width:min(1000px, 100%);
}

nav ul {
    display: flex;
    align-items: center;
    list-style-type: none;
    gap: 2em;
}

nav li:first-child {
    margin-right: auto;
    font-family: Poppins, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
}

nav a {
   text-decoration: none;
   color: var(--text-color); 
}

nav a:hover {
    text-decoration: underline;
}

header, section {
    margin: 2em auto;
    width: min(75em, 100%);
    background-color: var(--color-3);
    padding: min(2em, 15%);
    border-radius: 1em;   
}
.top-content {
    background-color: antiquewhite;
    width: 80%;
    height: 60px;
    display: flex;
    align-items: center; 
    border-radius: 9px;
    box-shadow: 3px 3px 5px rgb(233, 157, 16);
}

.flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3em;
}
p {
    font-size: 14px;
    line-height: 2em;
    margin-bottom: 32px;
}

h1 {
    height: 100%;
    line-height: 60px;
    padding: 0 50px;  
}

label {
    display: inline-block;
    height: 100px;
    margin: 0 20px;
    line-height: 60px;
    font-size: 20px;
    cursor: pointer;
    transition: color .5s;
}
label:hover {
    color: #000000;
}
.photo-gallery {
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 4fr);
    grid-gap: 20px;
}
.pic {
    position: relative;
    height: 90px;
    border-radius: 5px;
    box-shadow: 2px 2px 4px lightgray;
}
.pic img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}
.column {
  flex: 50%;
  padding: 0 4px;
}
.cta-button {
    display: inline-block;
    text-decoration: none;
    color: black;
    background-color: var(--primary-color);
    padding: .75em 1.25em;
    border-radius: .5em;
    font-weight: 600;
}

section p {
    margin-top: 1em;
    font-size: 1.25rem;
}
.cta-button {
    margin-top: .5em;
    width: 100%;
}

.grid-container {
    display: flex;
    flex-direction: column;
}

.text-container p {
    font-size: 1rem;
}

.contact-container {
    height: 100px;
    background: rgb(20, 88, 12);
    display: flex;
    justify-content: center;
    align-items: center;
    background: no-repeat center center/cover;
    border-radius: 5px;
}
#check1:checked ~ .container .photo-gallery .pic{
    opacity: 1;
    transform: scale(1);
    position: relative;
    transition: .5s;
}
#check2:checked ~ .container .photo-gallery .pic{
    opacity: 1;
    transform: scale(1);
    position: relative;
    transition: .5s;
}

details {
    margin-top: 1em;
    background-color: var(--base-color);
    border-radius: 1em;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 3px 3px 5px lightgray;
}

footer {
    padding-bottom: 2em;
    text-align: center;
}

footer a {
    margin: 0 1em;
    text-decoration: none;
    color: var(--text-color);
}

footer a:hover {
    text-decoration: underline;
}

@media(max-width: 988px){
    header {
        text-align: 0;
    }
}

header .text-container {
    padding-top: 0;
}

@media(max-width: 640px) {
    nav li {
        display: flex;
    }
}

header {
    margin-top: 2px;
}
.contact-container {
    height: 200px;
    padding: 2em;
}
.contact-inputs{
    height: 30px;
    padding: 1rem;
    margin: 1%;   
}
