@import url("https://fonts.googleapis.com/css2?family=Arima+Madurai:wght@100;200;300;400;500;700;800;900&family=Bangers&family=Kalam:wght@700&family=Open+Sans:ital,wght@1,300;1,400&family=Roboto+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");

* {
  margin: 0px;
  padding: 0;
  position: relative;
}
html {
  scroll-behavior: smooth;
}
body {
  background: #1b4a8bc0;
  font-family: "roboto", sans-serif;
  cursor: default;
}
/* start of header part */
header {
  margin: 0 5px 20px 5px;
  border-radius: 0 0 20px 20px;
  overflow: hidden;
  top: 0px;
  display: grid;
  grid-template-columns: 60% 40%;
  grid-template-rows: 60%;
  background: #2b63ad;
  border-bottom: 0px solid rgb(63, 31, 100);
  padding: 20px 20px 0 20px;
  height: 605px;
  /* width: 100vw; */
}
@media screen and (max-width: 900px) {
  header {
    width: 1240px;
  }
}

.aside {
  align-self: center;
  justify-self: center;
  margin: 0;
}
.title-img {
  width: 800px;
  max-width: 100%;
  border-radius: 0 0 100% 0;
  box-shadow: -4px -40px 0px 50px rgb(94, 122, 197);
}
.title-text {
  font-size: 110px;
  color: antiquewhite;
  left: 220px;
  width: 450px;
  top: 70px;
  text-align: right;
}
.under-title-text {
  text-align: right;
  font-size: 30px;
  top: 60px;
  right: 220px;
  color: rgb(140, 186, 255);
}
.navigation {
  top: 180px;
  right: 200px;
  display: grid;
  grid-template-columns: auto auto auto;
  grid-column-gap: 60px;
  margin-top: 30px;
}
.nav {
  font-weight: 800;
  color: whitesmoke;
  font-size: 60px;
  text-decoration: none;
  padding: 0 10px 0 10px;
}
.painting,
.invention,
.about {
  animation: moving 2s infinite;
}
.painting {
  animation-delay: 1s;
}
.invention {
  animation-delay: 3s;
}

.painting:hover,
.invention:hover,
.about:hover {
  animation: none;
  transform: scale(1.2, 1.2);
  color: #2b63ad;
  background: whitesmoke;
  border-radius: 10px;
}
@keyframes moving {
  0% {
    transform: scale(1, 1);
  }
  50% {
    transform: scale(1.05, 1.05);
  }
  100% {
    transform: scale(1, 1);
  }
}

/* end of header part */

main {
  float: left;
  text-align: center;
}

/* start of about */
.about-text {
  color: #e8ddb5;
  margin: 30px 30px 50px 30px;
  padding: 50px 20px 10px 50px;
  font-size: 30px;
  background: #454372;
  border-radius: 20px;
  display: grid;
  grid-template-columns: auto auto;
  line-height: 50px;
}
#about-img {
  width: 350px;
  height: 94%;
  object-fit: cover;
  border-radius: 0 20px 20px 0;
}
.about-header {
  text-align: center;
  color: #eca386;
  padding: 0 50px 30px 0;
}
.about-prg::first-letter {
  padding-left: 20px;
}
.about-prg {
  text-align: justify;
  padding: 0px 50px 0 0;
}
.inside-about {
  display: block;
  margin: 30px 0 0 0;
}
.inside-about > a {
  color: #aca6ff;
  text-decoration: none;
  text-transform: capitalize;
}
.inside-about > a:hover {
  color: #ffd4a2;
  font-size: 32px;
  border: 3px solid #ffd4a2;
  border-radius: 10px;
  padding: 5px;
}
/* end of about */

/* start of paintings */
.painting-text {
  font-size: 40px;
  color: whitesmoke;
  background: #b8866a;
  margin: 30px;
  border-radius: 20px;
}
#paintings-text {
  font-family: "Roboto", sans-serif;
  padding: 30px 30px 10px 30px;
  font-weight: 300;
}
.painting-imgs {
  align-items: flex-start;
}
.paintings {
  padding: 40px 40px 10px 40px;
  margin: 20px;
  background: #ffc4ae;
  display: inline-block;
  border-radius: 20px;
  border: 5px solid #ca9581;
}
.paintings:hover {
  cursor: pointer;
  box-shadow: 0px 0px 4px 2px #805e43;
}

.painting-images {
  align-content: flex-start;
  border-radius: 2px;
  box-shadow: 0px 0px 3px 0px #6b483b;
  width: 500px;
}

#painting7 {
  width: 1100px;
}

figcaption {
  font-size: 31px;
  color: #8d6529;
  font-weight: 900;
  font-family: "Arima Madurai", cursive;
  overflow-wrap: break-word;
}
.paintin2-caption {
  font-size: 31px;
}
/* end of paintings */

/* start of inventions */
.inventions-section {
  background: #6245a5; /*#835dda;*/
  margin: 50px 30px;
  padding: 30px;
  border-radius: 20px;
}
.inventions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 30px 30px;
}
.inventions-div {
  font-size: 30px;
  background: #876dc2;
  padding: 0px 40px;
  border-radius: 20px;
  color: #161a53;
}
.inventions-div:hover {
  cursor: pointer;
  box-shadow: 0px 0px 1px 2px #340077, 0px 0px 4px 2px #5206b6;
}
.inventions-imgs {
  border-radius: 10px;
  width: 450px;
}
/* .inventions-imgs:hover {
  border-radius: 0px;
} */

#cannon {
  float: left;
  width: 300px;
  margin: 10px;
}
/* input[id="cannon"]:hover {
  border-radius: 0px;
} */
#cannon-text {
  /* display: flex; */
  text-align: left;
}

.invention-header {
  font-size: 50px;
  color: #aed8ff;
  padding-bottom: 30px;
}

.inventions-headers {
  font-weight: 500;
  font-family: "Ubuntu", sans-serif;
  padding: 20px 0px 20px 0px;
  color: #a2ff6c;
  font-size: 40px;
}

.invention-paragraps {
  line-height: 25px;
  font-weight: 500;
  font-family: "Ubuntu", sans-serif;
  font-size: 18px;
  text-align: left;
  padding-top: 20px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 20px;
}

/* end of inventions */

/* start of footer */
.footer-quote {
  font-family: "Ubuntu", sans-serif;
  font-style: italic;
  margin: 30px 350px;
  padding: 0px;
  text-align: center;
  background: #b3ebe8;
  padding: 0;
  font-size: 20px;
  font-weight: 400;
  border-radius: 20px;
  border: 3px solid #514ea1;
  color: #7366bd;
}
.quote {
  padding-top: 20px;
}
.author {
  color: #591cff;
  padding-bottom: 10px;
  font-weight: 400;
}

/* start of go to top button styling */

.go-top {
  position: fixed;
  right: 25px;
  bottom: 25px;
  font-size: 3rem;
}

.fas {
  color: #7bff76;
  padding: 0px 10px;
  border-radius: 10px;
}

.fas:hover {
  color: white;
  background: #88c585;
}

.fas:active {
  transform: scale(1.1, 1.1);
}
/* end of go to top button styling */
/* end of footer */

/* media quore */

@media screen and (min-width: 800px) {
  header {
    width: 1240px;
  }

  .painting-images {
    display: inline-block;
    width: 400px;
  }
  .paintin2-caption {
    font-size: 25px;
  }
  #painting7 {
    width: 1100px;
  }
}
@media screen and (min-width: 995px) {
  header {
    margin: 0 5px 20px 5px;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
    top: 0px;
    display: grid;
    grid-template-columns: 60% 40%;
    grid-template-rows: 60%;
    background: #2b63ad;
    border-bottom: 0px solid rgb(63, 31, 100);
    padding: 20px 20px 0 20px;
    height: 605px;
    width: 1300px;
    float: none;
  }
}
@media screen and (max-width: 600px) {
  header {
    min-width: 340px;
    max-width: 100%;
    display: block;
    height: unset;
    margin: 0;
    padding: 0;
  }
  .title-img {
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 0px 0px 5px rgb(94, 122, 197);
    max-width: 100%;
    width: 97%;
    height: 50%;
    object-fit: cover;
    margin: 6px;
    padding: 0;
  }

  .title-text {
    font-size: 56px;
    text-align: center;
    margin: 10px 0 0 0;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .under-title-text {
    font-size: 30px;
    text-align: center;
    margin: 0;
    padding: 0;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
  .navigation {
    display: block;
    top: 0;
    left: 0px;
  }
  .nav {
    color: white; /*rgb(213, 161, 255) */
    display: flex;
    font-size: 30px;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    padding: 0 20px;
    width: 65%;
    letter-spacing: 6px;
    height: 45px;
    background-color: rgb(59, 168, 168);
    border-radius: 20px;
  }
  .nav:hover {
    padding: 0 0px;
    width: 65%;
    letter-spacing: 4px;
    height: 45px;
    background-color: rgb(255, 255, 255);
    border-radius: 20px;
  }

  /* ---------------------------------------- */
  /* ---------------------------------------- */

  main {
    float: none;
  }

  .about-text {
    display: inline-block;
    font-size: 20px;
    margin: 10px 0;
    padding: 0;
    line-height: normal;
    /* height: 100vh; */
  }
  #about-img {
    max-width: 100%;
    width: 90%;
    height: unset;
    object-fit: contain;
    object-position: center;
    border-radius: 20px;
    margin: 20px;
    box-shadow: 0px 0px 0px 5px rgb(94, 122, 197);
  }
  .about-header {
    text-align: center;
    color: #eca386;
    padding: 0;
    margin: 30px 30px 10px 30px;
  }
  .about-prg::first-letter {
    padding-left: 1.8px;
  }
  .about-prg {
    line-height: 35px;
    font-size: 24px;
    text-align: center;
    margin: 20px 2px 0px 2px;
    padding: 2px;
  }
  .inside-about {
    text-align: center;
    display: block;
    margin: 10px 0 -10px 0;
  }
  .inside-about > a {
    color: #aca6ff;
    font-size: 23px;
    text-decoration: none;
    text-transform: inherit;
  }
  .inside-about > a:hover {
    color: #ffd4a2;
    font-size: 23px;
    border: 3px solid #ffd4a2;
    border-radius: 10px;
    padding: 5px;
  }

  /* --------------------------------------------- */
  /* --------------------------------------------- */
  .painting-text {
    font-size: 20px;
    color: whitesmoke;
    background: #b8866a;
    margin: 5px 0;
    border-radius: 20px;
    padding-bottom: 1px;
  }
  #paintings-text {
    font-family: "Roboto", sans-serif;
    padding: 30px 30px 10px 30px;
    font-weight: 300;
    font-size: 30px;
  }
  .painting-imgs {
    align-items: flex-start;
  }
  .paintings {
    padding: 0px;
    margin: 10px;
    background: #ffc4ae;
    display: block;
    border-radius: 20px;
    border: 5px solid #ca9581;
  }
  .paintings:hover {
    cursor: pointer;
    box-shadow: 0px 0px 4px 2px #805e43;
  }

  .painting-images {
    align-content: none;
    border-radius: 15px 15px 0 0;
    box-shadow: 0px 0px 3px 0px #6b483b;
    width: 100%;
  }
  #painting7 {
    width: 100%;
  }

  figcaption {
    font-size: 20px;
    color: #8d6529;
    font-weight: 900;
    font-family: "Arima Madurai", cursive;
    overflow-wrap: break-word;
  }
  .paintin2-caption {
    font-size: 20px;
  }
  /* --------------------------------------------- */
  /* --------------------------------------------- */
  .inventions-section {
    background: #6245a5; /*#835dda;*/
    margin: 5px 0;
    padding: 5px;
    border-radius: 20px;
  }
  .inventions {
    display: block;
  }
  .inventions-div {
    font-size: 20px;
    background: #876dc2;
    padding: 0px 10px 10px 10px;
    border-radius: 20px;
    color: #161a53;
    margin: 10px;
  }
  .inventions-div:hover {
    cursor: pointer;
    box-shadow: 0px 0px 1px 2px #340077, 0px 0px 4px 2px #5206b6;
  }
  .inventions-imgs {
    margin: 0px;
    border-radius: 10px;
    width: 100%;
  }
  /* .inventions-imgs:hover {
    border-radius: 0px;
  } */

  #cannon {
    float: none;
    width: 100%;
    margin: 0px;
  }
  /* input[id="cannon"]:hover {
    border-radius: 0px;
  } */
  /* #cannon-text {
    display: flex;
    text-align: left;
  } */

  .invention-header {
    font-size: 30px;
    color: #aed8ff;
    padding-bottom: 30px;
  }

  .inventions-headers {
    font-weight: 500;
    font-family: "Ubuntu", sans-serif;
    padding: 10px;
    margin: 0;
    color: #a2ff6c;
    font-size: 25px;
  }

  .invention-paragraps {
    font-weight: 500;
    font-family: "Ubuntu", sans-serif;
    font-size: 20px;
    text-align: left;
    padding: 10px 0 0 0;
    margin: 0;
  }
  /* --------------------------------------------------- */
  /* --------------------------------------------------- */

  .footer-quote {
    font-family: "Ubuntu", sans-serif;
    font-style: italic;
    margin: 0px;
    padding: 0px;
    text-align: center;
    background: #d19a6d;
    padding: 0;
    font-size: 20px;
    font-weight: 400;
    border-radius: 20px;
    border: none;
    color: #ffffff;
  }
  .quote {
    padding-top: 20px;
  }
  .author {
    color: #55391f;
    padding-bottom: 10px;
    font-weight: 700;
  }
}
