<div class="main">
<a href="https://www.publicgardens.org/">Publicgardens.org</a><br>
<p>The principal public garden association in North America, home of the Public Garden Magazine. </p>
<a href="http://www.bgci.org">BGCI.org</a><br>
<p>Preeminent global organization on botanic
gardens and conservation. Excellent information on gardens around the world.</p>
<a href="https://www.conservation.org/">Conservation.org</a><br>
<p>Conservation International-one of the leading global agencies working to protect biodiversity.</p>
<a href="https://www.sanbi.org/">Sanbi.org</a>
<p>Working to conserve the remarkable biota of South Africa.</p>
<a href="https://www.ahsgardening.org/">ahsgardening.org</a>
<p>The American Horticultural Society, great information on gardening, plants and gardens.</p>
<a href="https://www.rhs.org.uk/">rhs.org.uk</a>
<p>The Royal Society based in the UK. Excellent information plants, gardening and gardens.</p>
<a href="https://www.iapt-taxon.org/">iapt-taxon.org</a>
<p>The Royal Society based in the UK. Excellent information plants, gardening and gardens.</p>
<a href="https://www.worldwildlife.org/">worldwildlife.org</a>
<p>World Wildlife Fund. Working to conserve biodiversity around the globe.</p>
<a href="https://www.esa.org/">esa.org</a>
<p>Ecological Society of America. Great information and publications for understanding ecological functions in nature.</p>
* {
box-sizing: border-box;
margin:0;
padding:0;
}
body{
background-image: url("IMAGES/IMAGE_6_exposure.jpg");
background-size:cover;
background-repeat: no-repeat;
background-attachment: fixed;
height: 100vh;
font-family: 'Poppins', sans-serif;
}
/* nav and logo */
ul {
margin: 0;
padding: 0;
list-style: none;
}
a {
color: white;
text-decoration: none;
}
.logo {
margin: 0;
padding: 0.5rem 0;
font-size: 1.4rem;/* fallback*/
font-size: clamp(1.2rem, 1.0821rem + 0.5714vw, 1.5rem);
position: relative;
z-index: 2;
letter-spacing: 6px;
}
@media screen and (max-width:440px){
.logo{max-width:280px;margin:auto;padding:0;}
}
.logo a,
.main-nav a {
padding: 10px 12px;
text-transform: uppercase;
text-align: center;
display: block;
}
.main-nav a {
color: white;
font-size: 1rem;
}
.main-nav a:hover {
color: #718daa;
}
.header {
padding: 0;
border: 1px solid #a2a2a2;
background-color: darkgreen;
box-shadow: 0 0 14px 0 rgba(0, 0, 0, 0.75);
width: 100%;
margin: auto;
position: relative;
z-index: 99;
}
/* hamburger menu */
.toggle {
position: absolute;
z-index: 99;
right: 14px;
top: 0;
bottom:0;
margin:auto;
background: transparent;
padding: 0;
cursor: pointer;
outline: none;
width: 30px;
height: 21px;
border: none;
border-top: 3px solid #aaa;
border-bottom: 3px solid #aaa;
text-decoration: none;
color: #aaa;
outline: 0;
}
.toggle:before,
.toggle:after {
content: "";
display: block;
width: 30px;
height: 3px;
top: 6px;
left: 0;
background: #aaa;
position: absolute;
}
.toggle,
.toggle:before,
.toggle:after {
transition: all 0.3s ease;
transform: rotate(0deg);
}
.open .toggle {
border-color: transparent;
}
.open .toggle:before {
transform: rotate(45deg);
}
.open .toggle:after {
transform: rotate(-45deg);
}
/* use hasJS class to hide navigation on small screen */
@media (max-width: 768.9px) {
.hasJS .main-nav {
position: absolute;
left: -1px;
right: -1px;
top: 100%;
transform: translateY(-100%);
opacity: 0;
transition: 0.5s ease;
background: #eee;
border: 1px solid #a2a2a2;
box-shadow: 0 0 14px 0 rgba(0, 0, 0, 0.75);
}
.hasJS .open .main-nav {
opacity: 1;
transform: translatey(0%);
}
.hasJS .header h1 {
background: #f4f4f4;
}
}
/* =================================
Media Queries
==================================== */
@media (min-width: 769px) {
.toggle {
display: none;
}
.header,
.header .main-nav {
display: flex;
}
.header {
flex-direction: column;
align-items: center;
}
}
@media (min-width: 1025px) {
.header {
flex-direction: row;
justify-content: space-between;
}
}
/* nav and logo */
/* main */
.main {
text-align: center;
margin-right: 15%;
margin-left: 15%;
margin-top:5rem;
font-size: 2rem;
color:black;
}
.main a {
margin-top: 2rem;
color:blue;
}
/* end main */
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.