:root {
    --border-form-elem: #ced4da;
    --border-form-elem-focus: rgba(0, 0, 220, 0.35);
    --shadow-form-elem-focus: rgba(0, 0, 255, 0.35);
    --dark-color: #444444;
}
input, textarea,
select, option {
    border-radius: 0;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 13px;
    color: var(--dark-color);
}

input {
    appearance: none;
}


input::placeholder, textarea::placeholder {
    opacity: 0.5;
}
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
    opacity: 0.5;
}
input::-moz-placeholder, textarea::-moz-placeholder {
    opacity: 0.5;
}
input::-ms-input-placeholder, textarea::-ms-input-placeholder {
    opacity: 0.5;
}

input:focus, textarea:focus, select:focus, option:focus {
    outline: none;
}
input:focus::placeholder, textarea:focus::placeholder {
    color: transparent;
}
input:focus::-webkit-input-placeholder, textarea:focus::-webkit-input-placeholder {
    color: transparent;
}
input:focus::-moz-placeholder, textarea:focus::-moz-placeholder {
    color: transparent;
}
input:focus::-ms-input-placeholder, textarea:focus::-ms-input-placeholder {
    color: transparent;
}

input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
    appearance: none;
}

input, textarea, select {
    padding: 8px;
    min-width: 200px;
    max-width: 700px;
    width: 100%;
    border: 1px solid var(--border-form-elem);
    border-radius: var(--border-radius);
}

input:focus, textarea:focus, select:focus {
    border-color: var(--border-form-elem-focus);
    box-shadow: 0 0 0 0.8px var(--shadow-form-elem-focus);
}

body{
    padding: 0;
    margin: 0;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 18px;
}
a{
    text-decoration: none;
    color: black;
}
a:hover{
    color: gray;
}
.ai-center{
    align-items: center;
}
.jc-center{
    justify-content: center;
}
.w-100{
    width: 100%;
}
.ta-center{
    text-align: center;
}
.header{
    background-color:gainsboro;
}
.container-info{
    position: relative;
    max-width: 1400px;
    padding: 0 15px;
    margin: 0 auto;
}
.menu{
    text-align: right;
    padding: 20px 30px 20px 0;
}
.menu a{
    padding-left: 10px;
}
.persona{
    padding: 30px 30px 15px;
    height: 200px;
}
.foto{
    position: absolute;
    top: 45%;
    background-image: url('../img/foto/foto2.jpg');
    border-radius: 50%;
    height: 280px;
    width: 280px;
    min-width: 280px;
    overflow: hidden;
    background-position: center center;
    background-size: cover;
}
.persona-info{
    position: absolute;
    right: 1%;
    padding-left:  30px;
    padding-right: 30px;
    text-align: right;
    width: 60%;

}

.info {
    color: red;
}
.image-style {
    background-size: cover;
    background-position: center center;
    border: 2px solid whitesmoke;
    box-shadow: 0 0 15px 0 rgba(0, 0, 255, 0.35);  
}
.work-item{
    display: flex;
    justify-content: space-around;
    padding: 10px;
    border-bottom: 2px solid gainsboro;
}
.work-border{
    border-radius: 7px 2px 7px 2px;
    height: 228px;
    width: 400px;
}
.screen-work{
    padding: 0 10px 0;
}
.description{
    padding: 10px 10px 0;
    text-align: left;
    flex-grow: 0;
    flex-basis: 50%;
}

#portfolio{
    background-color: #fafafa;
    padding: 120px 45px 30px;
}
#portfolio h1{
    margin: 0;
    padding-bottom: 30px;
    border-bottom: 2px solid gainsboro;
}
.strelka{
    width: 15%;
    text-align: center;
}
.strelka-down{
    display: none;
}
.description-tec{
   width: 25%;
}
.technology, .contact-form{
    background-color: #fafafa;
    padding: 30px;
    align-items: center;
}
.bootstrap-carousel, .forma{
    width: 40%;
    max-width: 500px;
    text-align: center;
    border-radius: 10px;

}  
.carousel-inner-ch{
   border-radius: 3px;
}
.carousel-item-ch{
    transition: all 0.5s;
}
.foot{
    background-color: gainsboro;
    padding:15px;
}
.feed-back{
    background-color: #fafafa;
    padding: 40px;
    align-items: center;
}
.forma{
    background-color:  white;
    padding: 30px;
    box-shadow: 0 0 15px 0 rgba(0, 0, 255, 0.35);
}
.message-block{
    width: 340px;
    max-width: 340px;
    border-radius: 5px;;
    margin: 5px;
}
.btn-send{
    border-radius: 5px;
    margin: 10px;
    width: 115px;
    height: 40px;
    border-radius: 30px;
    border: none;
    box-shadow: 0 15px 20px 0 rgb(0 40 120 / 35%);
    transition: 0.3s;
    background-color: ghostwhite;
}
.btn-send:hover {
    background-color: #fff4f0;
    box-shadow: 0 15px 20px 0 rgb(236 49 183 / 40%);
    transform: translateY(-2px);
    cursor: pointer;
}
.git{
    width: 20px;
    height: 20.125px;
    background-image: url('../img/icons/github.png');
    background-size: cover;
    margin: 5px;
    transition: all 0.3s;
}
.git:hover {
    transform: scale(1.2);
}
.contacts {
    margin: 10px;
}
.contacts img {
    width: 30px;
    border-radius: 50%;
    transition: all 0.3s;
}
.contacts img:hover {
    transform: scale(1.2);
}
@media (max-width:1100px){
    .technology, .contact-form{
        flex-direction: column;
    }
    .strelka-down{
        display: block;
    }
    .strelka{
        display: none;
    }

    .description-tec{
        width: 100%;
        text-align: center;
    }
    
        .bootstrap-carousel, .forma{  
        width: 100%;
    }
}
@media (max-width:900px){
    #portfolio{
       padding: 20px 25px 20px;
    }
    .persona{
        height: 300px;
    }
    .foto{
        top: 10%;
    }
}
@media (max-width:760px){
    .persona{
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 100%;
    }
    .container-info{
        position: static;
    }
    .foto{
        position: static;

    }
    .persona-info{
        position: static;
        max-width: 400px;
        width: 100%;
        text-align: center;
    }
    .work-item{
        flex-direction: column;
        align-items: center;
    }
    .description{
        text-align: center;
    }
}
@media (max-width:550px){
    .message-block{
        max-width: 300px;
    }
}
@media (max-width:460px){
    .persona{
        padding: 30px 10px 15px;
    }
    .message-block{
        max-width: 200px;
    }
    .foto{
        height: 150px;
        width: 150px;
        min-width: 150px;   
    }
    h1{font-size: 22px;}
    h2{font-size: 20px;}
    h3{font-size: 18px;}
    h4{font-size:16px;}
    p{font-size: 16px;}
    a{font-size: 16px;}
    .work-border{
        max-height: 171px;
        max-width: 300px; 
    }
}

