:root {
    --primary-color: #055a05;
    /* forest green */
    --secondary-color: #ffffff;
    /* white */
    --accent1-color: #1b9715;
    /* strong green */
    --accent2-color: #000000;
    /* black */
    --heading-font: "Roboto", sans-serif;
    --body-font: Arial, Helvetica, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Form labels and inputs */
label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 400px;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
}




.btm-submit:hover {
    opacity: 0.95;
}

body {
    color: var(--accent2-color);
    background-color: var(--secondary-color);
}

header {
    background-color: blue;
    color: var(--secondary-color);
    margin: 2px;
    display: grid;
    grid-template-columns: 200px auto;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1rem;
}

footer {
    background-color: blue;
    color: white;
    display: grid;
    grid-template-columns: 3fr 1fr;
    border-radius: .1rem;
    width: 960px;
    margin: 2px;
    align-self: center;
    position: absolute;
    top: 1250px;
    left:20%;



}



header,
main,
footer {
    width: 960px;
    margin: 0 auto;

}

nav,
p,
section,
article {
    margin: 16px;
    padding: 8px;
}

.socialmedia a {
    text-decoration: none;

}

.hero {
    position: relative;

}

.socialmedia img {
    width: 4rem;
    height: 4rem;
}

.hero img {
    display: block;
    width: 100%;
    height: auto;

}

.hero h1 {
    position: absolute;
    top: 20px;
    width: 100%;
    padding: 16px;
    text-align: center;
    opacity: .7;
    color: white;
    background-color: green;
    font-size: xx-large;

}


.hero article img {
    float: right;
    width: 125px;



}

.hero article {
    position: absolute;
    bottom: 2rem;

}

article {
    margin: 1rem;
    padding: 1rem;
    border-radius: .1rem;
    border: 2px solid var(--accent2-color);
    background-color: green;
    color: #ffffff;
    opacity: .7;
}




.history p {
    width: 36%
}

.adventures h2 {
    position: absolute;
    left: 280px;
    font-size: 2rem;
    width: 960px;
    color: green;
    background-color: white;
    bottom: 1px;
    top: 1070px;
    opacity: .7;
}

.history h2 {
    position: absolute;
    font-size: 2rem;
    color: white;
    width: 960px;
    text-align: center;
    top: 750px;
    left: 19.5%;
    margin: .1rem;
    border: .1rem;
    background-color: green;



}

.history {
    display: flex;
    justify-content: center;
    flex-direction: row;
    background-color: orange;
    color: black;
    width: 960px;

}


.adventures figure {
    display: grid;
    text-align: left;
}

.adventures {
    display: grid;
    grid-auto-flow: column;
    gap: .5rem .5rem;
    text-align: center;
    border-radius: 4rem;
}

nav {
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;


}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bolder;
    font-size: xx-large;

}

nav a :hover {
    background-color: red;
    color: var(--accent2-color);
    font-size: 50%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}




/*css for contact us starts here*/




.contact-wf1 input[type="name"]  {
    display: block;
     width:50%
}  

.wf1.newsletter {
    font-size:small;
}




.purpose fieldset {
    grid-column: 2;
    display: grid;
    grid-template-columns: 1.25rem;
    border: none;
}

.purpose p {
    align-self: start;
}
 
.btm h2 {
    background-color: var(--primary-color);
    color: white;
    padding: .8rem;
    border: none;
    cursor: pointer;
    max-width: 400px;
    background-image: -o-linear-gradient(#9c2c13,#6f200e);
    border-radius: 6px;
    width: 96%;
    margin: -1rem 2% 2rem 2%;
    box-shadow: 1px 1px 4px #999;


}

.full-w {
    grid-column: 1/-1;
    display: flex;
    flex-direction: column;
    color: red;

}

.subscribe {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.h1 {
    background-color: green;
    color: white;
}

/* Call-to-action section for trips */
.cta-trips {
    background-color: yellow;
    padding: 0;
    border-radius: 8px;
    text-align: center;
    margin: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);        

}

.cta-trips h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: absolute;
    top:600px

}

.cta-trips p {
    font-size: 1rem;
    line-height: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    top:600px;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 4rem;
    font-weight: 900;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
    position: absolute;
    top:600px;
    width: 250px;
}

.cta-button:hover {
    background: orange;
    color: var(--primary-color);
    transform: scale(1.5);
    
}

.cta-button:active {
    transform: scale(0.98);
}



.form-checkbox {
    margin-right: 14px;
}
.trip-table {
    width: 800px;
    font-size: x-large;
    background-color:var(--secondary-color);
    color: var(--accent2-color);
    


}


.h1.p {
    background-color: green;
}

th {
    background-color: red;
}


td:nth-child(3n+1){
    background-color: orange;

}

td:nth-child(3n+2){
    background-color:violet;
    border-color: aliceblue;

}

td:nth-child(3n+3){
    background-color: yellow;
}



.purpose {
    align-self: start;
    display: flex;
    flex-direction: row;
    height: 200px;

    
}

h3 {
    position: absolute;
    left: 600px;
    top: 938px;
    font-size: xx-large;
    color: blue;
    
}

table {
    width: 960px;
    font-size: xx-large;
    font-weight: 700;
    padding: 1px;

}


.btm {
    background-color: violet;
    color: white;
    padding: 1rem 10rem;
    border: none;
    cursor: pointer;
    
}


.btm:hover {
    background-color: var(--accent1-color);
}


 .btm:hover {
    background-color: blue;
}

.contact-form {
    position: relative;
    left: 46%;
    bottom: 310px;
    max-width: 400px;
    background-color: #ffffff;
    color: black;
}


.contact-info address {
    display: flex;
    justify-content: center;
    font-size: x-large;
    
}

.contact-info h1 {
    display: flex;
    justify-self: center;

}

.contact-info a {
    display: flex;
    justify-content: center;
    font-size: x-large;
}

.purpose p {
    align-self: start;
}

.employees figure {
    width: 250px;
    justify-self: center;



}


.employees {
    grid-column: 1/3;
    /* grid-column:1/-1; grid-column:1/span 2;*/
    grid-row: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    
}

.employees h2 {
    grid-column: 1/-1;
    justify-self: center;
    position: absolute;
    top: 900px;
}

.employees img {
    border-radius: 50%;
    border: 4px solid var(--accent2-color);
    width: 200px;
    height: 200px;
    object-fit: cover;
    position: absolute;
    top: 970px;
}

.purpose fieldset {
    grid-column: 2;
    display: grid;
    grid-template-columns: 1.25rem;
    border: none;

}

.section.employees{
    background-color: green;
}


