body {
    background-color: #f0f0f0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

p {
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0.005em;
}

b {
    font-size: 18px;
}


/*Nav bar and Heading things*/
.navbar2 {
            display: flex;
            justify-content: center;
            background-color: #449b45;
            border-bottom: 2px solid lightgray;
            box-shadow: 6px 10px 10px lightgray;
        }

        .navbar2 a {
            color: white;
            padding: 14px 20px;
            text-decoration: none;
        }
        
        .navbar2 a:hover {
            color: coral;
        }

#main-logo {
    width: 500px;
    max-width: 100%;
    height: auto;
    display: block;
    justify-self: center;
    margin: 5px;
}

h1 {
    font-family: Nerko One;
    font-weight: 400;
    font-style: normal;
    font-size: 50px;
    text-align: center;
    margin: 15px;
    color: #449b45;
    
}
h3 {
    font-family: "Just Another Hand", cursive;
    font-weight:400;
    font-style: normal;
    font-size: 25px;
    margin: 10px;
    margin-bottom: 50px;
    text-align: center;
    letter-spacing: 0.07em;
    color: #7fde80;
    
}
#header {
    text-align: center;
    font-family: "Just Another Hand", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 25px;
    letter-spacing: 0.07em;
    color: #777777;

}

.fade-in {
    opacity: 0;
    animation: fadeInAnimation 2s ease-in forwards;
}

@keyframes fadeInAnimation {
    to {
        opacity: 1;
    }
}

.subheading {
    margin-top: 100px;
    display: block;
    justify-self: center;
}

/*Container*/

.container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    margin: 220px;
    margin-top: 150px;
}

.main-heading {
    font-family: Nerko one;
    font-weight: 400;
    font-style: normal;
    grid-column: span 4;
    margin-bottom: 5px;
    font-size: 50px;
    color: #252525;
}

.textbox {
    grid-column: span 2;
    
}

p {
    letter-spacing: 0.06em;
    font-size: 19px;
}
.img1 {
    grid-column: span 2;
    justify-content: center;
}
.img2 {
    grid-column: span 4;
    margin-bottom: 100px;
    margin-top: 80px;
}

img#image2 {
    width: 600px;
    max-width: 100%;
    height: auto;
    display: block;
    justify-self: center;
}

img#c1 {
    width: 900px;
    max-width: 100%;
    height: auto;
    display: block;
    justify-self: center;
}

/*Break for the page*/

.break {
    
    grid-column: span 4;
   
    
}


/*Applications*/

.wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
    margin: 220px;
    margin-bottom: 100px;
    margin-top: 100px;
}

.box1 {
    grid-column: 1;
    width: 100%;
    max-width: 100%;
    height: auto;
    justify-self: center;
    margin-bottom: 40px;
}
.box2 {
    grid-column: 2;
    width: 100%;
    max-width: 100%;
    height: auto;
    justify-self: center;
    margin-bottom: 40px;
}

.fit {
    
    max-width: 100%;
}



.box3 {
    grid-column: span 3;  
    margin-bottom: 40px; 
}

#fill {
    width: 100%;
    height: auto;
    display: block;
    justify-self: center;
}

#full {
    max-width: 100%; /*This is used for responsive as well as keeping the size how it is. Using width 100% fills the box.*/
    height: auto;
    display: block;
    justify-self: center;
}

.box4 {
    grid-column: span 3;
    margin-bottom: 40px;
}

/*Design Process*/

.box5 {
    grid-column: 1/2;
    
}

#font {
    letter-spacing: 0.06em;
    font-size: 19px;
    
}

.box6 {
    grid-column: 2/4;
    grid-row: span 2;
    margin-bottom: 50px;
}

#box-6 {
    max-width: 100%; /*This is used for responsive as well as keeping the size how it is. Using width 100% fills the box.*/
    height: auto;
    display: block;
    justify-self: center;
    margin-left: 22px;
}

.box7 {
    grid-column: 1/2;
    margin-bottom: 50px;
}

#box-7 {
    max-width: 100%; /*This is used for responsive as well as keeping the size how it is. Using width 100% fills the box.*/
    height: auto;
    display: block;
    justify-self: center;
    margin-bottom: 30px;
}

/*Sketches boxes*/

.wrapper2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
    margin: 220px;
    margin-top: 100px;
    margin-bottom: 100px;
    
}

.box12 {
    grid-column: span 4;
    grid-row: span 2;
    
}

.box13 {
    grid-column: 50%;
    margin-bottom: 50px;
}

.box14 {
    grid-column: span 3;
    margin-bottom: 50px;
}

.box-12 {
    width: 100%;
    height: auto;
}

.box-13 {
    width: 100%;
    height: auto;
}

.box-14 {
    width: 100%;
    height: auto;
}

/*Other Icons*/

.main-heading2 {
    grid-column: 1/5;
    text-align: center;
    font-family: Nerko one;
    font-weight: 400;
    font-style: normal;
    font-size: 50px;
    color: #252525;
}

.inline-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
    margin: 160px;
    margin-left: 200px;
    padding: 10px;
    margin-bottom: 100px;
    margin-top: 100px;
}

.box8 {
    grid-column: 1/2;

}
.box9 {
    grid-column: 2/3;
}
.box10 {
    grid-column: 3/4;
}
.box11 {
    grid-column: 4/5;
}

/*Hover Piece*/

.image-container {
            position: relative;
            width: 300px;
            overflow: hidden;
        }

        .image-container img {
            width: 100%;
            transition: transform 0.3s ease;
        }

        .image-container:hover img {
            transform: scale(1.2);
        }

        .image-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 10px;
            text-align: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .image-container:hover .image-caption {
            opacity: 1;
        }

/*Footer*/

footer {
    position: relative;
    background-color:#449b45;
    max-width: 100%;
    height: 300px;
    
}

.main-text {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
}

.font {
    font-family: "Just Another Hand", cursive;
    font-weight: 100;
    font-style: normal;
    font-size: 23px;
    margin: 2px;
}

a#c {
    position: absolute;
    bottom: 150px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-decoration: none;
    font-size: 28px;
    transition: font-size 0.3s ease;
}

a#c:hover {
    color: #fcb64d;
    font-size: 32px;
}