@import url('https://fonts.googleapis.com/css2?family=Antic+Didone&family=Cormorant+Infant:ital,wght@0,300..700;1,300..700&family=Forum&display=swap');
 @import url("https://use.typekit.net/tqh6mgq.css");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-size: 125%;
    background-color: white;
    font-family: "Forum", serif;
  font-weight: 400;
  font-style: normal;
  font-family: "Antic Didone", serif;
  font-weight: 400;
  font-style: normal;
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;
}

header {
    width: 100%;
    background-color: rgb(255, 250, 247);
    padding-bottom: 0rem;
}

.container {
    max-width: 1050px;
    width: 90%;
    margin: auto;
}

.navbar {
    width: 100%;
    height: 9rem;
    border-radius: .5rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 62px;
}

.navbar .menu-items {
    display: flex;
    background-color: rgb(255, 250, 247);
}

.navbar .nav-container li {
    list-style: none;
    height: 4rem
}

.navbar .nav-container a {
    text-decoration: none;
    color: rgb(121, 0, 0);
    font-weight: 500;
    font-size: 1.7rem;
    padding: 1.2rem;
}

.navbar .nav-container a:hover {
    font-weight: bolder;
}

.nav-container {
    display: block;
    position: relative;
    height: 60px;
}

.nav-container .checkbox {
    position: absolute;
    display: block;
    height: 32px;
    width: 32px;
    top: 2rem;
    left: 2vw;
    z-index: 5;
    opacity: 0;
    cursor: pointer;
}

.nav-container .hamburger-lines {
    display: block;
    height: 24px;
    width: 32px;
    position: absolute;
    top: 2rem;
    left: 2vw;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nav-container .hamburger-lines .line {
    display: block;
    height: 3px;
    width: 100%;
    border-radius: 15px;
    background: rgb(162, 2, 2);
}

.nav-container .hamburger-lines .line1 {
    transform-origin: 0 0%;
    transition: transform .4s ease-in-out;
}

.nav-container .hamburger-lines .line2 {
    width: 20px;
    align-self: center;
    transition: transform .2s ease-in-out;
    background-color: rgb(205, 146, 29);
}

.nav-container .hamburger-lines .line3 {
    transform-origin: 0 100%;
    transition: transform .4s ease-in-out;
}

.navbar .menu-items {
    padding-top: 120px;
    box-shadow: inset 0 0 2000px rgba(255, 255, 255, .5);
    height: 100vh;
    width: 100%;
    transform: translate(-150%);
    display: flex;
    flex-direction: column;
    margin-left: -40px;
    padding-left: 50px;
    transition: transform .5s ease-in-out;
    text-align: center;
}

.navbar .menu-items li {
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    font-weight: 500;
}
#logo{
    width: 100%;
}
.logo {
    position: absolute;
    right: 0;
    margin-bottom: 1rem;
    margin-left: 15vw;
    margin-top: 1rem;
}

.nav-container input[type="checkbox"]:checked~.menu-items {
    transform: translateX(0);
}

.nav-container input[type="checkbox"]:checked~.hamburger-lines .line1 {
    transform: rotate(45deg);
}

.nav-container input[type="checkbox"]:checked~.hamburger-lines .line2 {
    transform: scaleY(0);
}

.nav-container input[type="checkbox"]:checked~.hamburger-lines .line3 {
    transform: rotate(-45deg);
}

.nav-container input[type="checkbox"]:checked~.logo{
    display: none;
}
main{
    margin-top: 1rem;
}
h1, h2{
    text-align: center;
font-family: "aboreto", sans-serif;
font-weight: 400;
font-style: normal;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color:rgb(162, 2, 2);
}
h2{
    font-size: 1.2rem;
    margin-top:2rem;
}
section {
    margin:auto 1rem;
}
 footer{
  margin: 0 ;
}
p, dl{
    font-size: 1.05rem;
    line-height: 1.6rem;
}
dl dt{
    color:rgb(114, 2, 2);
    margin-bottom: 0.4rem;
}
dt::before{
    content: url("images/list.png");  
}
.first-p::first-letter, .second-p::first-letter, .third-p::first-letter{
   margin-left: 2rem;
   font-size: 1.5rem;
   font-weight: bold;
}
picture{
    display: block;
    text-align: center;
    margin-top: 2rem;
}
#one-2, #two-2{
    display: none;
}
#one img, #two img{
    width: 90%;
}
a.internal{
    color:rgb(114, 2, 2);
}
footer{
    background-color: rgb(255, 250, 247);
    margin-top: 1rem;
    padding: 1rem;
}
footer a, small, #ds{
    display: block;
    width: 100%;
    text-align: center;
    color:black;
    text-decoration: none;
}
#contact{
    text-align: center;
}
footer a:first-of-type,.second-footer-a{
    margin-bottom: 1rem;
    display: inline;
}
#ds{
    margin-top: 1.2rem;
    color: rgb(121, 0, 0);
    font-size: 1rem;
}
.small {
  line-height: 1.37rem;
}
#webdesign {
    font-size: 0.8rem;
}
.nav-container input[type="checkbox"]:checked~.main{
    display: none;
}
.nav-container input[type="checkbox"]:checked~section{
    display: none;
}
.nav-container input[type="checkbox"]:checked~dl{
    display: none;
}
.nav-container input[type="checkbox"]:checked~h1{
    display: none;
}
.nav-container input[type="checkbox"]:checked~dd{
    display: none;
}
@media screen and (min-width: 40em){
    body{
        display: flex;
        flex-direction: column;
    }
  .logo{
    width:20rem;
    position: static;
    margin-left: auto;
    margin-right: auto;
    }
   p, dl {
    margin-left: 3rem;
    margin-right: 3rem;
   }
   .pics{
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    align-content: space-between;
    justify-content: space-evenly;
   
   }
    #one-2{
    width: 100%;
   }
   #two img{
    width: 50rem;
    text-align: center;
   }
   #one {
    display: none;
   }
   #one-2, #two-2{
    display: block;
   }
   #one-2 img{
    width: 100%;
   }
   #two img {
    width: 20rem;
    width: 35%;
   }
   #two-2 img{
    width: 20.5rem;
    width: 75%;
   }
   .container {
    width: 100%;
    max-width: 100%;
   }

}
@media screen and (min-width: 40rem) and (orientation: landscape){
    #one-2{
        width: 60%;
    }
    .second-footer-a{
        display: none;
    }
}