*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: 'Josefin Sans', sans-serif;
}

body, html { 
    height: auto;
}

body {
    background-color: rgb(179, 231, 231);
    display: grid;
    grid-template-areas: 
        "head head"
        "main main"
        "footer footer";
    grid-template-rows: 30% auto 150px;
    grid-template-columns: 50% auto;
    row-gap: 15px;
    column-gap: 5px;
}

header {
    grid-area: head;
    font-style: normal;
    background-color: coral;
    background-image: url(./image/02.jpg);
    background-size: cover;
    background-position: center;
}

main {
    grid-area: main;
}

footer {
    grid-area: footer;
    margin: 60px 0 10px 0;
    text-align: right;
}

header h1 {
    font-size: 70px;
    font-weight: 600;
    font-style: normal;
    font-family: Georgia, 'Times New Roman', Times, serif;
    text-align: center;
    color: rgb(250, 246, 246);
    margin: 15px;
    padding-top: 30px;
}

header h1 span {
    font-weight: 100;
}

header p {
    font-size: 25px;
    font-family: Papyrus, Herculanum, Party LET, Curlz MT, Harrington, fantasy;
    text-align: center;
    font-style: italic;
    color: cornsilk;
    padding: 30px 200px 0 200px;
}

picture img {
    width: auto;
    height: 350px;
    margin: 5px;
    filter: drop-shadow(0px 10px 6px black);
}

main p {
    text-align: center;
    font-size: 20px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    color: rgb(11, 14, 14);
    margin: 0;
}

main picture {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

main picture section ul li p {
    margin: 0;
    padding: 0;
}

.btn {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #f1f1f1;
    margin: 15px;
    border-radius: 30%;
    box-shadow: 0 5px 15px -5px #00000070;
    color: #3498db;
    overflow: hidden;
    position: relative;
    text-align: center;
}

.btn i{
  line-height: 40px;
  font-size: 25px;
  transition: 0.2s linear;
}

.btn:hover i{
  transform: scale(1.3);
  color: #f1f1f1;
}

.btn::before{
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  background: #3498db;
  transform: rotate(45deg);
  left: -110%;
  top: 90%;
}

.btn:hover::before{
  animation: aaa 0.7s 1;
  top: -10%;
  left: -10%;
}

@keyframes aaa {
  0%{
    left: -110%;
    top: 90%;
  }50%{
    left: 10%;
    top: -30%;
  }100%{
    top: -10%;
    left: -10%;
  }
}

@media (max-width: 768px) {
    main {
        background-color: rgb(179, 231, 231);
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        flex-wrap: wrap;
    }

    main picture {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        flex-wrap: wrap;
        flex-direction: column;
        margin: 0;
    }

    header h1 {
        font-size: 40px;
        font-style: normal;
        font-family: Georgia, 'Times New Roman', Times, serif;
        text-align: center;
        color: rgb(250, 246, 246);
        margin: 15px;
        padding-top: 30px;
    }
    
    header p {
        font-size: 20px;
        font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
        text-align: center;
        font-style: italic;
        color: cornsilk;
        padding: 8%;
    }

    header {
        background-size: cover;
        background-position: center;
    }

    picture img {
        width: auto;
        height: 250px;
        margin: 5px;
        filter: drop-shadow(0px 10px 6px black);
    }

    main p {
        text-align: center;
        font-size: 20px;
        font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
        color: rgb(11, 14, 14);
        margin: 0;
    }
}

@media (max-width: 468px) {
    main {
        background-color: rgb(179, 231, 231);
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        flex-wrap: wrap;
    }

    main picture {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        flex-wrap: wrap;
        flex-direction: column;
        margin: 0;
    }

    header {
        background-size: cover;
        background-position: center;
    }

    header h1 {
        font-size: 40px;
        font-style: normal;
        font-family: Georgia, 'Times New Roman', Times, serif;
        text-align: center;
        color: rgb(250, 246, 246);
        margin: 15px;
        padding-top: 50px;
    }
    
    header p {
        font-size: 20px;
        font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
        text-align: center;
        font-style: italic;
        color: cornsilk;
        padding: 15%;
    }

    picture img {
        width: auto;
        height: 250px;
        margin: 5px;
        filter: drop-shadow(0px 10px 6px black);
    }
    main p {
        text-align: center;
        font-size: 20px;
        font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
        color: rgb(11, 14, 14);
        margin: 0;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    main {
        background-color: rgb(179, 231, 231);
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        flex-wrap: wrap;
    }

    main picture {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        flex-wrap: wrap;
        margin: 0;
    }

    header h1 {
        font-size: 40px;
        font-style: normal;
        font-family: Georgia, 'Times New Roman', Times, serif;
        text-align: center;
        color: rgb(250, 246, 246);
        margin: 15px;
        padding-top: 30px;
    }
    
    header p {
        font-size: 20px;
        font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
        text-align: center;
        font-style: italic;
        color: cornsilk;
        padding: 5%;
    }

    header {
        background-size: cover;
        background-position: center;
    }

    picture img {
        width: auto;
        height: 250px;
        margin: 5px;
        filter: drop-shadow(0px 10px 6px black);
    }
    main p {
        text-align: center;
        font-size: 20px;
        font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
        color: rgb(11, 14, 14);
        margin: 0;
    }
}