@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&display=swap');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

a.logo:before{
    content: "Presto Dinamico \A Investments";
}

section{
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;

}

header{
  position: relative;
  top: 0;
  width: 100%;
  padding: 30px 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo{
  position: relative;
  color: #000;
  font-size: 30px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1px;
}

header .navigation a{
  color: #000;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 2px 15px;
  border-radius: 20px;
  transition: 0.3s;
  transition-property: background;
}

header .navigation a:not(:last-child){
  margin-right: 30px;
}

header .navigation a:hover{
  background: #fff;
}

h2 {
    font-family: 'Playfair Display', serif;
}

h3 {
  font-family: 'Playfair Display', serif;
  font-size: 25px;
  padding: 15px 0px;
}

.info {
  padding: 60px 100px;
}

#about.info img {
  width: 50%;
  height: auto;
}

.text-image {
  display: flex;
  justify-content: center;
  padding-bottom: 5rem;
}

.text-image img {
  width: 30%;
  height: auto;
}

.types {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.tile {
  width: 35vw;
  padding: 10px;
  margin: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

#home {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 40vw;
}

#about {

    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #226A80;
    color: #fff;
}

#services.info p {
  max-width: 80vw;
}

#contact {
  background-color: #666666;
}

input {
  background-color: white;
  width: 70%;
  font-size: 20px;
  padding: 16px 16px;
  border-radius: 5px;
  margin-bottom: 20px;
  border-color: #666666;
}

textarea {
  background-color: white;
  width: 70%;
  font-size: 20px;
  padding: 16px 16px;
  border-radius: 10px;
  border-color: #666666;
  margin-bottom: 25px;
}

.about .info h2{
  color: #fff;
}

.content .info h2{
  font-size: 55px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 60px;
  margin-bottom: 30px;
}

.content .info h2 span{
  font-family: 'Playfair Display', serif;
  color: #000;
  font-size: 70px;
  font-weight: 700;
}

.content .info p{
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 40px;
  max-width: 60%;
}

.content .info-btn{
  color: #fff;
  background: #226A80;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 2px;
  padding: 10px 20px;
  border-radius: 5px;
  transition: 0.3s;
  transition-property: background;
  max-width: 15vw;
}

.content .info-btn:hover{
  background: #0C4F60;
}

.media-icons{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
}

.media-icons a{
  position: relative;
  color: #111;
  font-size: 25px;
  transition: 0.3s;
  transition-property: transform;
}

.media-icons a:not(:last-child){
  margin-right: 60px;
}

.media-icons a:hover{
  transform: scale(1.5);
}

label{
  display: none;
}

#check{
  z-index: 3;
  display: none;
}

/* Responsive styles */

@media (max-width: 960px){
  header .navigation{
    display: none;
  }

  input {
    width: 100%;
    font-size: 12px;
  }
  
  textarea {
    width: 100%;
    font-size: 12px;
  }

  .tile {
    width: 100%;
    padding: 10px 0px;
  }

  .content .info-btn{
    max-width: 100%;
  }

  a.logo:before{
    content: "PDI";
  }

  .content .info p{
    max-width: 100%;
  }

  #home {
    width: 100%;
  }

  label{
    display: block;
    font-size: 25px;
    cursor: pointer;
    transition: 0.3s;
    transition-property: color;
  }

  .text-image {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .text-image img {
    width: 100%;
    padding: 0px 60px;
  }

  #about.info img {
    width: 100%;
    height: auto;
  }

  label:hover{
    color: #666666;
  }

  label .close-btn{
    display: none;
  }

  #check:checked ~ header .navigation{
    z-index: 2;
    position: fixed;
    background: rgba(114, 223, 255, 0.9);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  #check:checked ~ header .navigation a{
    font-weight: 700;
    margin-right: 0;
    margin-bottom: 50px;
    letter-spacing: 2px;
  }

  #check:checked ~ header label .menu-btn{
    display: none;
  }

  #check:checked ~ header label .close-btn{
    z-index: 2;
    display: block;
    position: fixed;
  }

  label .menu-btn{
    position: absolute;
  }

  header .logo{
    position: absolute;
    bottom: -6px;
  }

  .content .info h2{
    font-size: 45px;
    line-height: 50px;
  }

  .content .info h2 span{
    font-size: 40px;
    font-weight: 600;
  }

  .content .info p{
    font-size: 14px;
  }
}

@media (max-width: 560px){
  .content .info h2{
    font-size: 35px;
    line-height: 40px;
  }

  .content .info h2 span{
    font-size: 45px;
    font-weight: 700;
  }

  .content .info p{
    font-size: 14px;
  }
}


