* {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
}
#popup {
	position:fixed;
	background: #CBE9F7;
	bottom: 16px;
	right: 16px;
	padding: 24px;
	padding-left: 24px;
    	border-radius: 16px;
	z-index: 99;
	text-decoration: none;
	color: black;
	overflow:hidden;
	transition: padding-left 0.15s ease-in;
}

#popup-icon {
	width: 100px;
	height 100px;
}

#popup-content {
	display: flex;
	justify-content: flex-start;
	flex-direction: row;
	align-items: center;
	gap: 24px;
}

#popup-text {
	position: absolute;
	left: 81px;
	top 0;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.2s ease-in;
	transition-delay: 0.1s;
}

#popup-title {
	font-weight: 700;
	font-size: 20px;
	padding-bottom: 6px;
}

#popup-subtitle {
	font-size: 16px;
}

#popup-char {
	position: absolute;
	top: -90px;
	left: 10px;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.2s ease-in;
	transition-delay: 0.1s;
	width: 100px;
	height 100px;
}
#popup:hover #popup-char {
	visibility: visible;
	opacity: 1;
}
#popup:hover #popup-text {
	visibility: visible;
	opacity: 1;
}
#popup:hover {
	padding-left: 360px;
	overflow:visible;
}

#container {
    width: 60%;
    margin-left: 20%;
}

nav {
    width: 100%;
    height: 75px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
    padding-bottom: 6px;
    position: relative;
}

nav a {
    text-decoration: none;
}

nav #nav-logo {
    display: flex;
    justify-content:flex-start;
    align-items: center;
    gap: 10px;
}

nav #nav-logo p {
    font-size: 20px;
    font-weight: 600;
    color: #214D2F;
}

nav ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    gap: 40px;
}

nav ul li a {
    color: #000000;
    font-size: 20px;
    opacity: 0.8;
    transition: 1s ease-out;
}

nav ul li a:hover {
    opacity: 1;
}

nav ul #nav-contact a {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #32BD50;
    border-radius: 16px;
    padding: 16px 24px;
    gap: 12px;
    opacity: 1;
    transition: 0.2s ease-out;
}

nav ul #nav-contact a:hover {
    opacity: 0.8;
}

nav ul #nav-contact p {
    color: #ffffff;
}

nav #nav-toggle {
    height: 35px;
    cursor: pointer;
    display: none;
}

#collapse {
    width: 100%;
    margin-left: -5%;
    height: 0px;
    background-color: #ffffff;
    overflow: hidden;
    transition: height 0.2s ease-out;
    position: absolute;
    top: 81px;
    z-index: 99;
}

#collapse a {
    text-decoration: none;
}

#collapse ul {
    list-style: none;
    width: 90%;
    margin-left: 5%;
    padding-bottom: 40px;
}

#collapse ul li {
    text-align: center;
    margin-top: 40px;
}

#collapse ul li a {
    display: block;
    color: #000000;
    font-size: 20px;
    opacity: 0.8;
    transition: 0.2s ease-out;
}

#collapse ul li a:hover {
    opacity: 1;
}

#collapse ul #nav-contact a {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #32BD50;
    border-radius: 16px;
    padding: 24px 24px;
    gap: 12px;
    opacity: 1;
    transition: 0.2s ease-out;
}

#collapse ul #nav-contact a:hover {
    opacity: 0.8;
}

#collapse ul #nav-contact p {
    color: #ffffff;
}

#cover {
    width: 100vw;
    height: 340px;
    position: relative;
    left: calc(-50vw + 50%);
    display: flex;
    justify-content: center;
    overflow-x: hidden;
    background-image: url('/static/media/header.svg');
    background-position: bottom;
}

#cover img {
    width: 100%;
    transform: translateY(-80px);
}

#about {
    width: 100%;
    text-align: center;
}

#about #title {
    font-weight: 700;
    font-size: 40px;
    margin-top: 50px;
}

#about img {
    width: 60%;
    margin-top: 15px;
}

#about .text {
    font-size: 20px;
    line-height: 30px;
    width: 60%;
    margin-left: 20%;
    text-align: left;
    margin-top: 25px;
}

#about #address {
    font-size: 20px;
    line-height: 30px;
    margin-top: 50px;
    width: 60%;
    margin-left: 20%;
    text-align: left;
}

#about #buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    width: 60%;
    margin-left: 20%;
}

#about #buttons p,
#about #buttons a {
    font-size: 20px;
    line-height: 30px;
    color: #ffffff;
    background-color: #32BD50;
    border-radius: 25px;
    padding: 20px 30px;
    text-decoration: none;
    cursor: pointer;
    opacity: 1;
    transition: 0.2s ease-out;
}

#about #buttons p {
    cursor: auto;
}

#about #buttons a:hover {
    opacity: 0.8;
}

#about #map {
    width: 80%;
    margin-left: 10%;
    height: 600px;
    margin-top: 100px;
    border-radius: 50px;
    overflow: hidden;
}

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100vw;
    height: 110px;
    margin-top: 150px;
    background: #F8F8F8;
    font-size: 20px;
    position: absolute;
    left: 0;
}

footer p {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    margin-left: 60px;
}

footer ul {
    list-style: none;
    margin-right: 60px;
}

footer ul li {
    display: inline;
    margin-left: 10px;
}

footer ul li a {
    text-decoration: none;
    opacity: 0.6;
    color: #000000;
}



@media screen and (max-width: 1300px) {
    #container {
        width: 80%;
        margin-left: 10%;
    }
    #cover img {
        width: auto;
        height: 250px;
    }
    #about #address,
    #about .text {
        width: 100%;
        margin-left: 0;
        margin-top: 20px;
    }
    #about #map {
        width: 100%;
        margin-left: 0;
    }
    #popup {
    	padding: 16px;
    }
    #popup-text {
    	left: 50px;
    }
    #popup-title {
    	font-size: 14px;
    }
    #popup-subtitle {
    	font-size: 10px;
    }
    #popup-content {
    	gap: 5px;
    }
    #popup:hover {
    	padding-left: 250px;	    
    }
    #popup-char {
    	width: 75px;
	height: 75px;
	top: -45px;
	left: -5px;
    }
}

@media screen and (max-width: 1200px) {
    #about #buttons {
        flex-direction: column;
    }
}

@media screen and (max-width: 1050px) {
    #about #title {
        font-size: 30px;
    }
}

@media screen and (max-width: 950px) {
    #container {
        width: 90%;
        margin-left: 5%;
    }
    #cover {
        display: none;
    }
}

@media screen and (max-width: 750px) {
    nav ul {
        display: none;
    }
    nav #nav-toggle {
        display: block;
    }
    nav #nav-logo p {
        font-size: 18px;
    }
    footer {
        flex-direction: column;
    }
    footer ul li {
        display: block;
        margin-left: 0;
        margin-top: 5px;
    }
    #about #buttons {
        width: 100%;
        margin-left: 0;
        margin-top: 30px;
        row-gap: 10px;
    }
    #about .text {
        font-size: 16px;
    }
    #about #address {
        font-size: 16px;
    }
    #about #title {
        font-size: 24px;
    }
    #about img {
        width: 100%;
        margin-left: 0;
    }
    #about #title {
        margin-top: 30px;
    }
    #about #map {
        margin-top: 40px;
    }
    footer {
        justify-content: center;
        align-items: start;
        height: 85px;
        margin-top: 30px;
    }
    footer p {
        font-size: 16px;
        margin: 0 0 0 30px;
    }
    footer ul {
        display: none;
    }
}

@media screen and (max-width: 400px) {
    #search #title {
        font-size: 24px;
    }
}
