*,
*::after,
*::before {

    margin: 0px;
    padding: 0px;
    box-sizing: inherit;
}

html {
    font-size: 62.5%; // makes it 10px;
    box-sizing: border-box;
}

body {
    font-size: 20px;
}

header {
    width: 100%;
    height: 4em;
    background-color: #212227;
    color: #AAB9CF;
}

.head {
    text-transform: uppercase;
    padding-top: 1.5em;
    text-align: center;
}


nav {}

.section1 {
    background-color: white;/*#637074;*/
    height: 95vh;
    width: 100%;
    padding-top: 2em;
    text-align: center;
    /*background-image: url(img2.jpg);*/
    
    color: black;
}

.section1 .state1 {
    padding-top: 1em;
}

.section1 .state2 {
    padding-top: 2em;
}

.section1 .state3 {
    padding-top: 2em;

}

.section1 a.button {
    display: inline-block;
    color: red;
    background-color: black;
    margin-top: 2em;
    padding: .5em;
    border: grey solid thin;
    border-radius: 10px;
    list-style-type: none;
    text-decoration: none;
}

.section1 a.button:hover {
    color: #BDD4E7;
    cursor: pointer;
}

.do {
   text-align: center;
   font-size: xx-large;
   color: rgb(126, 4, 4);
   text-transform: capitalize;
   text-decoration: underline overline;
}

.name {
    font-size: xx-large;
    margin: 3em 1em 1em 1em;
    font-style: oblique;
    color: rgb(126, 4, 4);
    text-decoration: underline overline;
       
}

/*Start of media query for section1 */
@media (max-width: 860px) {

    .section1 .state1,
    .section1 .state2,
    .section1 .state3 {
        padding-top: 1em;
    }

    .section1 {
        padding-top: 1em;
    }

    .section1 .state1 {
        padding-top: .5em;
    }

    .section1 a.button {
        margin-top: 1em;
    }
}

.section2 {
    background-color: #A0C1D1;/*#BDD4E7;*/
    width: 100%;
    height: 75vh;
}

/*.section2 h3 {
    margin: 0 0 0 4em;
}*/

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    padding: 1em;
    width: auto;
    height: 60vh;
    justify-items: center;
    align-items: center;
    justify-content: center;
    align-content: center;
        
}

/*Start of media query for card-container */
@media (max-width: 865px) {
    .card-container {
        margin-left: 0;
        height: auto;
        
    }

    .section2 {
        height: auto;
    }
}

/*End of media query for card-container */


.card {
    display: grid;
    grid-template-rows: repeat(auto-fit, minmax(240px, 1fr));
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));

}

.card-content {
    display: grid;
    padding-top: 0em;
    margin-top: 0em;
    width: 250px;
    text-align: center;
    justify-content: center;
    align-items: center;

}

.card-title {
    display: grid;
    padding: 0;
    margin: 0;
    justify-content: center;
    align-items: center;
}


.card-content p {
    font-size: x-large;
    text-align:start;
    width: auto;
    
}

img {
    display: inline-block;
    height: 240px;
    width: 240px;
}

.section3 {
    background-color: #232C33;/*#8693AB;*/
    width: 100%;
    height: 54vh;
}

.section3-1 {
    background-color: #232C33;
}

.section3-2 {
    background-color: #232C33;/*#8693AB;*/
}

.section3-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 250px;
    padding-left: 6em;
    padding-top: 6em;
    width: 90%;
}

.section3 .contact {
    background-color: #232C33;/*#8693AB;*/
}

.contact {
    text-align: center;
}

.box {}

.section3 .about {
    background-color: #232C33;/*#8693AB;*/
    color: black;
}

.about {
    text-align: center;
}

.content-title {
    display: grid;
    padding-bottom: 1em;
    text-decoration: underline overline;

    /*grid-template-rows: 350px;*/
}

/* Start of .section 3 media queries */
@media (max-width: 860px) {
    .section3 {
        height: auto;
        
    }

    .section3-container {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        padding-left: 0em;
        padding-top: 2em;
    }

    .section3 .about {
        padding-top: 1em;
        padding-bottom: 1em;

    }

    .contact p {
        font-size: medium;
    }

    .about p {
        font-size: medium;
    }

    .card-content {
        padding-bottom: .5em;
    }
}

/* End of .section 3 media queries */

footer {
    position: static;
    width: 100%;
    height: 100%;
    border-top: solid black thin;
    background-color: black;
    color: #AAB9CF;
}

footer h2 {
    font-size: large;
}

.footer-container {
    display: flex;
    flex-flow: row wrap;
    gap: 20em;
    justify-content: center;
    align-items: center;
}

/* Start of media query for footer */
@media (max-width: 860px) {
    footer {
        height: auto;
    }

    .footer-container {
        display: flex;
        gap: 0em;
    }
}

/* End of media query for footer */

.copy {
    padding-top: 1em;
    padding: 5em;
}

.project-name {
    padding-top: 1em;
    padding-bottom: 2em;
}

.project-name a {
    list-style-type: none;
    text-decoration: none;
    color: #8693AB;

}

.project-name a:hover {
    color: red;
}