* {
    box-sizing: border-box;
}

body {
    background-color: #ffffff; 
    margin: 0 auto;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.container{
    max-width: 1920px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.inner{
    display: flex;
    flex-direction: column;
    align-items: center;    
    max-width: 100%;
    background-color: #ffffff;
    padding: 100px;    
}

h1{
    font-size: 36px;
}

h2{
    font-size: 24px;
}

P{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
}

.name{
   display: flex; 
}

.name_text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 50px;
    text-align: start;
}

.logo{
    height: 200px;
    width: 200px;
    border-radius: 100%;
}

.link{
    display: flex;
    gap: 30px;
    align-items: center;    
}

.hr-pointed {
  margin-top: 20px;
  margin-bottom: 20px; 
  width: 60%; 
  height: 1px;
  background: linear-gradient(to right, transparent 10%, #888888 50%, transparent 90%);
  border: none;
}

.hr-pointed-blog {
  margin-top: 20px;
  margin-bottom: 20px; 
  width: 100%; 
  height: 1px;
  background: rgba(0, 0, 0, 0.144);
  border: none;
}

#aboutme{
    text-align: start;
    max-width: 1280px;    
}

#contacts{    
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 0;
    margin-top: 100px;
}

.contacts_inner{
    display: flex;
    align-items: center;
    gap: 18px;
}

#posts{
    display: flex;
    flex-direction: column;
    max-width: 1280px;
}

.post{
    display: flex;
    margin-top: 50px;
    flex-direction: row;
    max-width: 1920px;    
}

.img_post{
    max-width: 400px;
    padding: 50px;    
}

.text{
    max-width: 900px;
    text-align: start;
    padding-top: 40px;
}

#backToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 50px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: #ffffff83;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

#backToTopBtn.show {
  opacity: 1;
  visibility: visible;
}

#backToTopBtn:hover {
  background: #ffffff83;
}

@media (max-width: 960px) {

.logo{
    margin-top: 60px;
    margin-bottom: 60px;
}

.inner{
    padding: 25px;    
}
    
.post{
    display: flex;
    margin-top: 50px;
    flex-direction: column;
    max-width: 1920px;    
} 

.text{
    padding-left: 20px;
    padding-right: 20px;
}

.name {
    flex-direction: column;
    align-items: center;
}

.name_text{
    padding-left: 0px;    
}

#aboutme{
    margin-top: 250px;
}

.hr-pointed { 
  width: 100%; 
}

#backToTopBtn {
  right: 5px;
}

}
